共用方式為


Epoch.ConfigurationNumber Property

Definition

Gets or sets the current configuration number property in this Epoch.

public long ConfigurationNumber { get; set; }
member this.ConfigurationNumber : int64 with get, set
Public Property ConfigurationNumber As Long

Property Value

Returns an Int64 representing the configuration number.

Remarks

The configuration number is an increasing value that is updated whenever the configuration of this replica set changes. The services are informed of the current configuration number only when UpdateEpochAsync(Epoch, CancellationToken) method is called as a result of an attempt to change the Primary replica of the replica set.

Applies to