autoIndexId:false is not supported in 4.0

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 100.0.0
    • Affects Version/s: 4.0.10
    • Component/s: mongorestore

      autoIndexId:false support was removed in SERVER-8237 for 4.0:

      Starting in MongoDB 4.0, you cannot set the option autoIndexId to false when creating collections in databases other than the local database.

      https://docs.mongodb.com/v4.0/reference/command/create/

      This may cause issues restoring data from previous server versions to 4.0. What should mongorestore should do in this situation?

      Update: Answer: omit autoIndexId when creating collections.

              Assignee:
              Varsha Subrahmanyam (Inactive)
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: