Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-105

Support using UUID for collection namespace in find/getmore

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Command & Dispatch
    • Labels:

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: