Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28742

Assign and persist a table/index key prefix for grouped collections

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.8
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage 2017-05-08, Storage 2017-05-29

    Description

      When wiredtiger is running in --groupCollections mode, a prefix must be assigned to each new collection and index to correctly disambiguate and order keys passed to WT sharing the same table.

      These prefixes should be persisted (to the catalog or an internal WT table invisible to above layers) as well added to WiredTigerRecordStore and WiredTigerIndex objects at construction. Prefixes must be unique for all live collections and indexes. Reusing a prefix can result in records in different collections colliding. If convenient, a prefix may be used once for a record store and once for an index.

      The oplog collection and its index(es) should reside in their own table and not be prefixed.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: