Class ReplicaAckPolicy
On-Premise only.
ReplicaAckPolicy defines the policy for how commits are handled in a
replicated environment.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public sealed class ReplicaAckPolicy : Enum
Remarks
A replicated environment makes it possible to increase an
application's transaction commit guarantees by committing changes to
its replicas on the network. ReplicaAckPolicy defines the policy for
how such network commits are handled.
Fields
Name | Description |
---|---|
All | All replicas must acknowledge that they have committed the transaction. This policy should be selected only if your replication group has a small number of replicas, and those replicas are on extremely reliable networks and servers. |
None | No transaction commit acknowledgments are required and the master will never wait for replica acknowledgments. In this case, transaction durability is determined entirely by the type of commit that is being performed on the master. |
SimpleMajority | A simple majority of replicas must acknowledge that they have committed the transaction. This acknowledgment policy, in conjunction with an election policy which requires at least a simple majority, ensures that the changes made by the transaction remain durable if a new election is held. |
value__ |