| 57 | &common_metadata_tracking; |
| 58 | |
| 59 | bool brpc::CouchbaseManifestManager::setBucketToCollectionManifest( |
| 60 | std::string server, std::string bucket, |
| 61 | CouchbaseManifestManager::CollectionManifest manifest) { |
| 62 | // Then update the collection manifest with proper locking |
| 63 | { |
| 64 | UniqueLock write_lock(rw_bucket_to_collection_manifest_mutex_); |
| 65 | bucket_to_collection_manifest_[server][bucket] = manifest; |
| 66 | } |
| 67 | |
| 68 | return true; |
| 69 | } |
| 70 | |
| 71 | bool brpc::CouchbaseManifestManager::getBucketToCollectionManifest( |
| 72 | std::string server, std::string bucket, |
no outgoing calls
no test coverage detected