Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ReplicationStatus (0.12 sec)

  1. cmd/object-api-datatypes.go

    		ContentType:                o.ContentType,
    		ContentEncoding:            o.ContentEncoding,
    		Expires:                    o.Expires,
    		StorageClass:               o.StorageClass,
    		ReplicationStatus:          o.ReplicationStatus,
    		UserTags:                   o.UserTags,
    		Parts:                      o.Parts,
    		Writer:                     o.Writer,
    		Reader:                     o.Reader,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication_test.go

    		name: "existing object replication enabled, versioning enabled; no reset in progress",
    		info: ObjectInfo{
    			Size:              100,
    			ReplicationStatus: replication.Completed,
    			VersionID:         "a3348c34-c352-4498-82f0-1098e8b34df9",
    		},
    		rcfg:         replicationConfig{Config: &configs[0]},
    		expectedSync: false,
    	},
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils_test.go

    				PrevReplicationStatus: replication.Pending,
    				ReplicationStatus:     replication.Completed,
    				OpType:                replication.ObjectReplicationType,
    				ReplicationAction:     replicateAll,
    			},
    			{
    				Arn:                   "arn2",
    				Size:                  249,
    				PrevReplicationStatus: replication.Pending,
    				ReplicationStatus:     replication.Failed,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils.go

    		if t.Empty() {
    			continue
    		}
    		fmt.Fprintf(b, "%s=%s;", t.Arn, t.ReplicationStatus.String())
    	}
    	return b.String()
    }
    
    func (ri replicatedInfos) ReplicationStatus() replication.StatusType {
    	if len(ri.Targets) == 0 {
    		return replication.StatusType("")
    	}
    	completed := 0
    	for _, v := range ri.Targets {
    		switch v.ReplicationStatus {
    		case replication.Failed:
    			return replication.Failed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	var replicationStatus replication.StatusType
    	defer func() {
    		if replicationStatus.Empty() {
    			// replication status is empty means
    			// replication was not attempted for some
    			// reason, notify the state of the object
    			// on disk.
    			replicationStatus = ri.ReplicationStatus
    		}
    		auditLogInternal(ctx, AuditLogOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    	objInfo.VersionPurgeStatusInternal = fi.ReplicationState.VersionPurgeStatusInternal
    	objInfo.ReplicationStatus = fi.ReplicationStatus()
    	if objInfo.ReplicationStatus.Empty() { // overlay x-amx-replication-status if present for replicas
    		if st, ok := fi.Metadata[xhttp.AmzBucketReplicationStatus]; ok && st == string(replication.Replica) {
    			objInfo.ReplicationStatus = replication.StatusType(st)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes_gen.go

    	o = msgp.AppendString(o, z.ReplicationStatusInternal)
    	// string "ReplicationStatus"
    	o = append(o, 0xb1, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73)
    	o, err = z.ReplicationStatus.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "ReplicationStatus")
    		return
    	}
    	// string "UserDefined"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  8. cmd/api-headers.go

    	if objInfo.VersionID != "" && objInfo.VersionID != nullVersionID {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    
    	if objInfo.ReplicationStatus.String() != "" {
    		w.Header()[xhttp.AmzBucketReplicationStatus] = []string{objInfo.ReplicationStatus.String()}
    	}
    
    	if objInfo.IsRemote() {
    		// Check if object is being restored. For more information on x-amz-restore header see
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. cmd/bucket-replication-handlers.go

    		c := &minio.Core{Client: clnt.Client}
    		putOpts := minio.PutObjectOptions{
    			Internal: minio.AdvancedPutOptions{
    				SourceVersionID:          mustGetUUID(),
    				ReplicationStatus:        minio.ReplicationStatusReplica,
    				SourceMTime:              time.Now(),
    				ReplicationRequest:       true, // always set this to distinguish between `mc mirror` replication and serverside
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    					w.Header()[xhttp.MinIODeleteReplicationStatus] = []string{string(gr.ObjInfo.VersionPurgeStatus)}
    				}
    				if !gr.ObjInfo.ReplicationStatus.Empty() && gr.ObjInfo.DeleteMarker {
    					w.Header()[xhttp.MinIODeleteMarkerReplicationStatus] = []string{string(gr.ObjInfo.ReplicationStatus)}
    				}
    
    				// Versioning enabled quite possibly object is deleted might be delete-marker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top