MCPcopy Create free account
hub / github.com/apache/brpc / popSelectBucket

Method popSelectBucket

src/brpc/couchbase.cpp:1475–1484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1473 return popStore(policy::CB_BINARY_PREPEND, cas_value);
1474}
1475bool CouchbaseOperations::CouchbaseResponse::popSelectBucket(
1476 uint64_t* cas_value) {
1477 if (popStore(policy::CB_SELECT_BUCKET, cas_value) == false) {
1478 DEBUG_PRINT("Failed to select bucket: " << _err);
1479 return false;
1480 }
1481 // Note: Bucket tracking is now handled at CouchbaseOperations level, not
1482 // per-thread
1483 return true;
1484}
1485// Collection-related response method
1486bool CouchbaseOperations::CouchbaseResponse::popCollectionId(
1487 uint8_t* collection_id) {

Callers 2

mainFunction · 0.80
selectBucketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected