Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Replica (0.04 sec)

  1. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrReplicationPermissionCheckError), r.URL)
    		return
    	}
    
    	replica := r.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String()
    	if replica {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ReplicateDeleteAction, bucket, object); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    			return
    		}
    
    		metadata[xhttp.AmzObjectTagging] = objTags
    	}
    	if r.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String() {
    		metadata[ReservedMetadataPrefixLower+ReplicaStatus] = replication.Replica.String()
    		metadata[ReservedMetadataPrefixLower+ReplicaTimestamp] = UTCNow().Format(time.RFC3339Nano)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	Cached     bool // true only when we are requesting a cached response instead of hitting the disk for example ListBuckets() call.
    	NoMetadata bool
    }
    
    // SetReplicaStatus sets replica status and timestamp for delete operations in ObjectOptions
    func (o *ObjectOptions) SetReplicaStatus(st replication.StatusType) {
    	o.DeleteReplication.ReplicaStatus = st
    	o.DeleteReplication.ReplicaTimeStamp = UTCNow()
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	// Default deleteMarker to true if object is under versioning
    	deleteMarker := opts.Versioned
    
    	if opts.VersionID != "" {
    		// case where replica version needs to be deleted on target cluster
    		if versionFound && opts.DeleteMarkerReplicationStatus() == replication.Replica {
    			markDelete = false
    		}
    		if opts.VersionPurgeStatus().Empty() && opts.DeleteMarkerReplicationStatus().Empty() {
    			markDelete = false
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    	// Save the final object size and modtime.
    	fi.Size = objectSize
    	fi.ModTime = opts.MTime
    	if opts.MTime.IsZero() {
    		fi.ModTime = UTCNow()
    	}
    
    	// Save successfully calculated md5sum.
    	// for replica, newMultipartUpload would have already sent the replication ETag
    	if fi.Metadata["etag"] == "" {
    		if opts.UserDefined["etag"] != "" {
    			fi.Metadata["etag"] = opts.UserDefined["etag"]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top