Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ReplicaTimeStamp (0.16 sec)

  1. cmd/bucket-replication-utils.go

    			// provided object replication completed for all targets.
    			if rs.ReplicaTimeStamp.Equal(timeSentinel) || rs.ReplicaTimeStamp.IsZero() {
    				return replStatus
    			}
    			if replStatus == replication.Completed && rs.ReplicaTimeStamp.After(rs.ReplicationTimeStamp) {
    				return rs.ReplicaStatus
    			}
    			return replStatus
    		}
    	case !rs.ReplicaStatus.Empty():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    	d := ReplicationState{}
    	for k, v := range m {
    		switch {
    		case equals(k, ReservedMetadataPrefixLower+ReplicationTimestamp):
    			d.ReplicaTimeStamp, _ = amztime.ParseReplicationTS(v)
    		case equals(k, ReservedMetadataPrefixLower+ReplicaTimestamp):
    			d.ReplicaTimeStamp, _ = amztime.ParseReplicationTS(v)
    		case equals(k, ReservedMetadataPrefixLower+ReplicaStatus):
    			d.ReplicaStatus = replication.StatusType(v)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaStatus] = []byte(fi.ReplicationState.ReplicaStatus)
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp] = []byte(fi.ReplicationState.ReplicaTimeStamp.UTC().Format(time.RFC3339Nano))
    			default:
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationStatus] = []byte(fi.ReplicationState.ReplicationStatusInternal)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. cmd/object-api-interface.go

    // 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()
    }
    
    // DeleteMarkerReplicationStatus - returns replication status of delete marker from DeleteReplication state in ObjectOptions
    func (o *ObjectOptions) DeleteMarkerReplicationStatus() replication.StatusType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	}
    	if rs := r.Header.Get(xhttp.AmzBucketReplicationStatus); rs != "" {
    		srcInfo.UserDefined[ReservedMetadataPrefixLower+ReplicaStatus] = replication.Replica.String()
    		srcInfo.UserDefined[ReservedMetadataPrefixLower+ReplicaTimestamp] = UTCNow().Format(time.RFC3339Nano)
    		srcInfo.UserDefined[xhttp.AmzBucketReplicationStatus] = rs
    	}
    
    	op := replication.ObjectReplicationType
    	if srcInfo.metadataOnly {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    	}
    	if r.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String() {
    		metadata[ReservedMetadataPrefixLower+ReplicaStatus] = replication.Replica.String()
    		metadata[ReservedMetadataPrefixLower+ReplicaTimestamp] = UTCNow().Format(time.RFC3339Nano)
    	}
    	retPerms := isPutActionAllowed(ctx, getRequestAuthType(r), bucket, object, r, policy.PutObjectRetentionAction)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	// ReplicaStatus - this header is present if a replica was received by this cluster for this object version
    	ReplicaStatus = "replica-status"
    	// ReplicaTimestamp - the last time a replica was received by this cluster for this object version
    	ReplicaTimestamp = "replica-timestamp"
    	// TaggingTimestamp - the last time a tag metadata modification happened on this cluster for this object version
    	TaggingTimestamp = "tagging-timestamp"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top