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

Add "indexOptionDefaults" to createCollection()

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Quint Iteration 7

      Adds support for storage engine customization of indexes to be specified at the collection level. Applies to all indexes created on a collection, including the _id index.

      The WiredTiger integration layer uses this to produce a creation string with the following order of preference:

      1. index-specific options specified to createIndex().
      2. collection-wide options specified as "indexOptionDefaults" to createCollection().
      3. system-wide options specified by --wiredTigerIndexConfigString.

      The strings are concatenated so keys specified at the system-level and not overridden at the collection-level will be applied to the index.

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: