[SERVER-65086] Deprecate the `collection.reIndex()` command Created: 30/Mar/22  Updated: 29/Oct/23  Resolved: 06/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by TOOLS-3079 Investigate changes in SERVER-65086: ... Closed
Documented
is documented by DOCS-15213 Investigate changes in SERVER-65086: ... Closed
Related
related to SERVER-65024 Multiple documents with the same _id ... Closed
is related to MONGOSH-1182 Mark collection.reIndex() as deprecated Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-04-18
Participants:

 Description   

The command is problematic, since if one of the indexes fail to build, the indexer will not commit, thus only dropping all the indexes.



 Comments   
Comment by Githook User [ 05/Apr/22 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-65086 Deprecate the `reIndex` command
Branch: master
https://github.com/mongodb/mongo/commit/9cd1196a086bf006df0a93c07cd5ef08ba530e41

Comment by Henrik Edin [ 05/Apr/22 ]

We just want to add the deprecation warning for 6.0

Generated at Thu Feb 08 06:01:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.