[DOCS-13285] Docs for TOOLS-2412: Strip unsupported legacy index options Created: 11/Dec/19  Updated: 13/Nov/23  Resolved: 11/Feb/20

Status: Closed
Project: Documentation
Component/s: manual, tools
Affects Version/s: None
Fix Version/s: 4.3 Required, Standalone Release, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Andrew Feierabend (Inactive)
Resolution: Fixed Votes: 0
Labels: mlab
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents TOOLS-2412 Strip unsupported legacy index options Closed
Related
related to DOCS-13284 Docs for TOOLS-2420: Backport "TOOLS-... Closed
Participants:
Days since reply: 4 years, 1 day ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

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.)



 Comments   
Comment by Githook User [ 11/Feb/20 ]

Author:

{'username': 'andf-mongodb', 'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com'}

Message: DOCS-13285 remove legacy options from mongorestore
Branch: master
https://github.com/mongodb/docs-commandline-tools/commit/15289b920460229b530dd28c4a6e0ef5101e7d7d

Comment by Githook User [ 11/Feb/20 ]

Author:

{'username': 'andf-mongodb', 'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com'}

Message: DOCS-13285 add convertLegacyIndexes option to mongorestore
Branch: master
https://github.com/mongodb/docs/commit/cd0b7ef95d052b17e5f2f0113417332322956180

Generated at Thu Feb 08 08:07:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.