Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11635

Docs for SERVER-8237: autoIndexId:false should be disabled

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.5
    • None
    • None
    • None

    Description

      Description:

      Using autoIndexId:false collection option is now prohibited when creating a replicated collection.

      Scope of changes:

      • create cmd
      • db.createCollection

      Impact to other docs outside of this product: (per Marian)

      • None

      MVP:

      Resources:

      Engineering Ticket Description:

      Currently you can create a collection without an _id index (very bad with replication). We should disallow this old and outdated feature. We can still allow this feature via enableTestCommands-mode so that tests continue to work.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 42 weeks, 1 day ago