Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ReplicaStatus (0.08 sec)

  1. cmd/bucket-replication-utils.go

    				return replStatus
    			}
    			if replStatus == replication.Completed && rs.ReplicaTimeStamp.After(rs.ReplicationTimeStamp) {
    				return rs.ReplicaStatus
    			}
    			return replStatus
    		}
    	case !rs.ReplicaStatus.Empty():
    		return rs.ReplicaStatus
    	default:
    		return
    	}
    }
    
    // CompositeVersionPurgeStatus returns overall replication purge status for the permanent delete being replicated.
    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

    		case equals(k, ReservedMetadataPrefixLower+ReplicaTimestamp):
    			d.ReplicaTimeStamp, _ = amztime.ParseReplicationTS(v)
    		case equals(k, ReservedMetadataPrefixLower+ReplicaStatus):
    			d.ReplicaStatus = replication.StatusType(v)
    		case equals(k, ReservedMetadataPrefixLower+ReplicationStatus):
    			d.ReplicationStatusInternal = v
    			d.Targets = replicationStatusesMap(v)
    		case equals(k, VersionPurgeStatusKey):
    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

    		if !fi.DeleteMarkerReplicationStatus().Empty() {
    			switch fi.DeleteMarkerReplicationStatus() {
    			case replication.Replica:
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaStatus] = []byte(fi.ReplicationState.ReplicaStatus)
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp] = []byte(fi.ReplicationState.ReplicaTimeStamp.UTC().Format(time.RFC3339Nano))
    			default:
    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

    	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()
    }
    
    // DeleteMarkerReplicationStatus - returns replication status of delete marker from DeleteReplication state in ObjectOptions
    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

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    	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
    	}
    
    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

    			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 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

    	// ReplicationTimestamp - the last time replication was initiated on this cluster for this object version
    	ReplicationTimestamp = "replication-timestamp"
    	// 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"
    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