Dela via


IOperation.Acknowledge Method

Definition

Acknowledges that this operation has been successfully applied at the Secondary replica.

public void Acknowledge ();
abstract member Acknowledge : unit -> unit
Public Sub Acknowledge ()

Remarks

Services should call this method when they have obtained an IOperation from the replicator and successfully applied it to their local store. For persisted services, calling this method is mandatory because the FabricReplicator does not release additional objects that implement IOperation. For volatile services, the replicator implicitly acknowledges operations when they are received unless they are configured otherwise by setting the value RequireServiceAck to true. An operation must be acknowledged by a quorum of replicas before the Primary replica receives the ReplicateAsync(OperationData, CancellationToken, Int64) operation complete responses.

Applies to