Details
-
Task
-
Resolution: Fixed
-
Major
-
master
-
None
Description
Collections design requires we add a bucket level getCid command.
The input to the command is a string which describes the 'path' to the collection using the same format as the N1QL collections path spec.
E.g. "scope.collection"
The command also supports _default scope by omission
- ".collection" is the collection from the default scope.
- "." is the default collection in the default scope and returns 0 (or unknown if default dropped).
The command will use the last manifest receievd from ns_server to perform the collection-ID lookup.
Failures:
- Collection unknown
- No manifest, ns_server has yet to give the bucket a collection config
- EINVAL for other errors, e.g. path is ""
Attachments
For Gerrit Dashboard: MB-31908 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
101828,2 | MB-31908: Add Manifest::getCollectionID | master | kv_engine | Status: MERGED | +2 | +1 |
101947,9 | MB-31908: Add GET_COLLECTION_ID protocol command | master | kv_engine | Status: MERGED | +2 | +1 |