kv_get_durability_replica_ack()

#include <kvstore.h>

kv_ack_policy_enum 
kv_get_durability_replica_ack(kv_durability_t durability) 

Returns the acknowledgement policy in use for the given durability policy. The acknowledgement policy identifies how many replicas must acknowledge a transaction commit before the master considers the transaction to be completed. See kv_ack_policy_enum for a list of the possible sync policies.

Parameters

  • durability

    The durability parameter identifies the durability policy to be examined.