-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Command & Dispatch
-
(copied to CRM)
In MongoDB, clients will be able to send a collection UUID as the "namespace" of find/getMore commands. This is useful for low-level tools like mongorestore and mongomirror, so we need to ensure that the low-level operation API supports this mode.
Some options:
- Add a 'UUID' option to the opts.namespace type.
- Write UUID-specific versions of find/getMore. This might be more performant by avoiding the check for UUID in the 99.99999% of operations that won't use it.
We may want to consider if we want to allow yamgo Collection structs to be set up with a UUID or if we only want to support UUIDs with low-level operations.