Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetReplicaStatus (0.06 sec)

  1. 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)
  2. cmd/object-handlers.go

    		// transitioned.
    		if gerr == nil {
    			os.SetTransitionState(oi.TransitionedObject)
    		}
    		return dsc, nil
    	})
    
    	vID := opts.VersionID
    	if replica {
    		opts.SetReplicaStatus(replication.Replica)
    		if opts.VersionPurgeStatus().Empty() {
    			// opts.VersionID holds delete marker version ID to replicate and not yet present on disk
    			vID = ""
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top