Durability policies are used with write operations to manage how likely your data writes are to persist in the event of a catastrophic failure, be it in your hardware or software layers. By default, your writes are highly durable. So managing durability policies is mostly about relaxing your durability guarantees in an effort to improve your write throughput.
Creates a durability policy, which is then used for store write operations.
- Parameters
-
[in] | master | The synchronization policy in effect for the master in this replication group for this durability guarantee. |
[in] | replica | The synchronization policy in effect for the replicas in this replication group for this durability guarantee. |
[in] | ack | The acknowledgement policy to be used for this durability guarantee. |
- Returns
- The durability policy.
Returns the sync policy in use by the Master for the given durability policy.
- Parameters
-
[in] | durability | The durability policy to be examined. |
- Returns
- The sync policy in use by the Master.
Returns the acknowledgement policy in use for the given durability policy.
- Parameters
-
[in] | durability | The durability policy to be examined. |
- Returns
- The acknowledgement policy.
Returns the sync policy in use by the replicas for the given durability policy.
- Parameters
-
[in] | durability | The durability policy to be examined. |
- Returns
- The sync policy in use by the replicas.