Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ReplicationState (0.08 sec)

  1. cmd/bucket-replication-utils.go

    		UserTags:             oi.UserTags,
    	}
    	if r.SSEC {
    		r.Checksum = oi.Checksum
    	}
    	return r
    }
    
    // ReplicationState - returns replication state using other internal replication metadata in ObjectInfo
    func (o ObjectInfo) ReplicationState() ReplicationState {
    	rs := ReplicationState{
    		ReplicationStatusInternal:  o.ReplicationStatusInternal,
    		VersionPurgeStatusInternal: o.VersionPurgeStatusInternal,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    	if len(tags) != 0 {
    		objInfo.UserTags = tags
    	}
    
    	// Add replication status to the object info
    	objInfo.ReplicationStatusInternal = fi.ReplicationState.ReplicationStatusInternal
    	objInfo.VersionPurgeStatusInternal = fi.ReplicationState.VersionPurgeStatusInternal
    	objInfo.ReplicationStatus = fi.ReplicationStatus()
    	if objInfo.ReplicationStatus.Empty() { // overlay x-amx-replication-status if present for replicas
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgReplicationState(b *testing.B) {
    	v := ReplicationState{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgReplicationState(b *testing.B) {
    	v := ReplicationState{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    	ReplicationStatus          replication.StatusType
    	ReplicationStatusInternal  string
    	VersionPurgeStatusInternal string
    	VersionPurgeStatus         VersionPurgeStatusType
    	ReplicationState           ReplicationState
    	DeleteMarker               bool
    
    	OpType               replication.Type
    	EventType            string
    	RetryCount           uint32
    	ResetID              string
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  6. cmd/object-api-interface.go

    		o.DeleteReplication.PurgeTargets = versionPurgeStatusesMap(o.DeleteReplication.VersionPurgeStatusInternal)
    	}
    }
    
    // PutReplicationState gets ReplicationState for PUT operation from ObjectOptions
    func (o *ObjectOptions) PutReplicationState() (r ReplicationState) {
    	rstatus, ok := o.UserDefined[ReservedMetadataPrefixLower+ReplicationStatus]
    	if !ok {
    		return r
    	}
    	r.ReplicationStatusInternal = rstatus
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    				DeleteMarkerMTime:     DeleteMarkerMTime{vr.ModTime},
    				ObjectName:            vr.Name,
    				ReplicationState:      vr.ReplicationState,
    			}
    		} else {
    			dobjects[i] = DeletedObject{
    				ObjectName:       vr.Name,
    				VersionID:        vr.VersionID,
    				ReplicationState: vr.ReplicationState,
    			}
    		}
    		versionsMap[objects[i].ObjectName] = v
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "VersionPurgeStatus")
    		return
    	}
    	// string "ReplicationState"
    	o = append(o, 0xb0, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65)
    	o, err = z.ReplicationState.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "ReplicationState")
    		return
    	}
    	// string "DeleteMarker"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 71.7K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    			},
    			VersionPurgeStatus:            dObjects[i].VersionPurgeStatus(),
    			VersionPurgeStatuses:          dObjects[i].ReplicationState.VersionPurgeStatusInternal,
    			DeleteMarkerReplicationStatus: dObjects[i].ReplicationState.ReplicationStatusInternal,
    			ReplicateDecisionStr:          dObjects[i].ReplicationState.ReplicateDecisionStr,
    		}
    		dindex := objectsToDelete[objToDel]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		})
    		return
    	}
    	dsc, err := parseReplicateDecision(ctx, bucket, dobj.ReplicationState.ReplicateDecisionStr)
    	if err != nil {
    		replLogOnceIf(ctx, fmt.Errorf("unable to parse replication decision parameters for bucket: %s, err: %s, decision: %s",
    			bucket, err, dobj.ReplicationState.ReplicateDecisionStr), dobj.ReplicationState.ReplicateDecisionStr)
    		sendEvent(eventArgs{
    			BucketName: bucket,
    			Object: ObjectInfo{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 118.2K bytes
    - Viewed (0)
Back to top