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

Docs for TOOLS-2412: Strip unsupported legacy index options

      Description

      Description:

      Docs should describe how the tool attempts to recover from legacy options, including any options which will be dropped on restore.

      Engineering Ticket Description:

      The fix in TOOLS-2379 for old indexes relies on applyOps, which isn't allowed by the MongoDB Atlas shared tier proxy. To address this, mongorestore should ensure that only valid, supported index options are sent. A white list of options may be found in index_descriptor.h (though not all appear to be documented options).

      Open question: should this behavior require a flag? Or should it be a fallback only if the initial creation errors? The goal either way should be to allow someone to use a modern mongorestore to restore a legacy dump to a legacy server.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 11 weeks, 2 days ago