Couchbase C Client
3.3.14
Asynchronous C Client for Couchbase
|
Retrieve a document from a replica if it cannot be fetched from the primary
lcb_STATUS lcb_cmdgetreplica_on_behalf_of | ( | lcb_CMDGETREPLICA * | cmd, |
const char * | data, | ||
size_t | data_len ) |
lcb_STATUS lcb_cmdgetreplica_on_behalf_of_extra_privilege | ( | lcb_CMDGETREPLICA * | cmd, |
const char * | privilege, | ||
size_t | privilege_len ) |
enum lcb_REPLICA_MODE |
Spool a single get-with-replica request.
instance | |
cookie | |
cmd |
When a response is received, the callback installed for LCB_CALLBACK_GETREPLICA will be invoked. The response will be an lcb_RESPGET pointer.