[DOCS-13581] Investigate changes in SERVER-44343: Make 'reIndex' a standalone-only command Created: 09/Apr/20 Updated: 13/Nov/23 Due: 08/Jan/21 Resolved: 06/Jan/21 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Joseph Dougherty |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 3 years, 4 weeks, 6 days ago | ||||||||
| Epic Link: | DOCSP-9747 | ||||||||
| Description |
DescriptionDownstream Change Summary The reIndex command can now only be run on a standalone mongod. Description of Linked TicketTrying to run the 'reIndex' command on a secondary while having unfinished prepared transactions will hit an invariant. After dropping the index that will be re-indexed, we hit an invariant when doing a collection scan to insert all the documents in the collection for that index.
ldeng recommended to try set the 'canIgnorePrepareConflicts' flag to true for the 'reIndex' command but that ended up hitting another invariant while trying to drop all the indexes.
We should consider disallowing the 'reIndex' command from running on secondaries and removing it in a future release. Scope of changesPlease review and update:
Impact to Other DocsMVP (Work and Date)Resources (Scope or Design Docs, Invision, etc.) |
| Comments |
| Comment by Ian Whalen (Inactive) [ 07/Jan/21 ] |
|
Author: {'username': u'andf-mongodb', 'name': u'Joseph Dougherty', 'email': u'joseph.dougherty@mongodb.com'}Message: |
| Comment by Ian Whalen (Inactive) [ 07/Jan/21 ] |
|
Author: {'username': u'andf-mongodb', 'name': u'andf-mongodb', 'email': u'55111344+andf-mongodb@users.noreply.github.com'}Message: |
| Comment by Githook User [ 06/Jan/21 ] |
|
Author: {'name': 'andf-mongodb', 'email': '55111344+andf-mongodb@users.noreply.github.com', 'username': 'andf-mongodb'}Message: |