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

Support using UUID for collection namespace in find/getmore

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Command & Dispatch

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: