Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ReplicationRequest (0.19 sec)

  1. cmd/object-api-options.go

    	if v, ok := header[xhttp.MinIOSourceProxyRequest]; ok {
    		opts.ProxyHeaderSet = true
    		opts.ProxyRequest = strings.Join(v, "") == "true"
    	}
    	if _, ok := header[xhttp.MinIOSourceReplicationRequest]; ok {
    		opts.ReplicationRequest = true
    	}
    	opts.Speedtest = header.Get(globalObjectPerfUserMetadata) != ""
    
    	if copySource {
    		if crypto.SSECopy.IsRequested(header) {
    			clientKey, err = crypto.SSECopy.ParseHTTP(header)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    			Internal: minio.AdvancedPutOptions{
    				SourceVersionID:          mustGetUUID(),
    				ReplicationStatus:        minio.ReplicationStatusReplica,
    				SourceMTime:              time.Now(),
    				ReplicationRequest:       true, // always set this to distinguish between `mc mirror` replication and serverside
    				ReplicationValidityCheck: true, // set this to validate the replication config
    			},
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    			// on the pool being batch replicated from source.
    			Versioned:          true,
    			MTime:              srcObjInfo.ModTime,
    			DeleteMarker:       srcObjInfo.DeleteMarker,
    			ReplicationRequest: true,
    		})
    		return err
    	}
    
    	opts := ObjectOptions{
    		VersionID:    srcObjInfo.VersionID,
    		MTime:        srcObjInfo.ModTime,
    		PreserveETag: srcObjInfo.ETag,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	if userTags != "" {
    		meta[xhttp.AmzObjectTagging] = userTags
    	}
    
    	return mustReplicateOptions{
    		meta:               meta,
    		status:             status,
    		opType:             op,
    		replicationRequest: opts.ReplicationRequest,
    	}
    }
    
    // mustReplicate returns 2 booleans - true if object meets replication criteria and true if replication is to be done in
    // a synchronous manner.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	ProxyRequest                        bool      // only set for GET/HEAD in active-active replication scenario
    	ProxyHeaderSet                      bool      // only set for GET/HEAD in active-active replication scenario
    	ReplicationRequest                  bool      // true only if replication request
    	ReplicationSourceTaggingTimestamp   time.Time // set if MinIOSourceTaggingTimestamp received
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    	getOpts := ObjectOptions{
    		VersionID:          srcOpts.VersionID,
    		Versioned:          srcOpts.Versioned,
    		VersionSuspended:   srcOpts.VersionSuspended,
    		ReplicationRequest: r.Header.Get(xhttp.MinIOSourceReplicationRequest) == "true",
    	}
    	getSSE := encrypt.SSE(srcOpts.ServerSideEncryption)
    	if getSSE != srcOpts.ServerSideEncryption {
    		getOpts.ServerSideEncryption = getSSE
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    			ObjInfo: objInfo,
    		}, toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    
    	// Set NoDecryption for SSE-C objects and if replication request
    	if crypto.SSEC.IsEncrypted(objInfo.UserDefined) && opts.ReplicationRequest {
    		opts.NoDecryption = true
    	}
    
    	if objInfo.Size == 0 {
    		if _, _, err := rs.GetOffsetLength(objInfo.Size); err != nil {
    			// Make sure to return object info to provide extra information.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		} else { // fallback if not already calculated in handler.
    			fi.Metadata["etag"] = getCompleteMultipartMD5(parts)
    		}
    	}
    
    	// Save the consolidated actual size.
    	if opts.ReplicationRequest {
    		if v := opts.UserDefined[ReservedMetadataPrefix+"Actual-Object-Size"]; v != "" {
    			fi.Metadata[ReservedMetadataPrefix+"actual-size"] = v
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    			if idxCb != nil {
    				idxCb = compressionIndexEncrypter(objectEncryptionKey, idxCb)
    			}
    			opts.EncryptFn = metadataEncrypter(objectEncryptionKey)
    		}
    	}
    	opts.IndexCB = idxCb
    
    	opts.ReplicationRequest = sourceReplReq
    	putObjectPart := objectAPI.PutObjectPart
    
    	partInfo, err := putObjectPart(ctx, bucket, object, uploadID, partID, pReader, opts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    		}
    
    		// No object exists or its a delete marker,
    		// check objInfo to confirm.
    		if pinfo.ObjInfo.DeleteMarker && pinfo.ObjInfo.Name != "" {
    			return pinfo, noReadQuorumPools, nil
    		}
    	}
    	if opts.ReplicationRequest && opts.DeleteMarker && defPool.Index >= 0 {
    		// If the request is a delete marker replication request, return a default pool
    		// in cases where the object does not exist.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top