[DOCS-13277] Typo in reIndex docs Created: 10/Dec/19  Updated: 30/Oct/23  Resolved: 12/Dec/19

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-9822 Document writeConcern option for all ... Closed
Participants:
Days since reply: 4 years, 8 weeks, 6 days ago
Epic Link: DOCSP-1769

 Description   

Description

The reIndex commands says it accepts a writeConcern: https://docs.mongodb.com/manual/reference/command/reIndex/

The text around the writeConcern says "Optional. A document expressing the write concern of the drop command. Omit to use the default write concern."

It seems this is a typo and was copied from the drop command. The code appears to not allow a writeConcern with reIndex: https://github.com/mongodb/mongo/blob/39c08aceaf7fa15a8e65cf80b09863b452425426/src/mongo/db/commands/drop_indexes.cpp#L105

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 12/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13277: reIndex does not support wc
Branch: v3.6
https://github.com/mongodb/docs/commit/86a7e6ee516b39f422b1972235ac00179c13b6ee

Comment by Githook User [ 12/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13277: reIndex does not support wc
Branch: v4.0
https://github.com/mongodb/docs/commit/c77f1afdaabdbc6aaf3adf043392071c71f03c3d

Comment by Githook User [ 12/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13277: reIndex does not support wc
Branch: master
https://github.com/mongodb/docs/commit/e94c53a3ae3608e34666d40efc63b62aa15f9427

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