Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetReplicaStatus (0.1 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.
    }
    
    // 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top