[SERVER-58280] initial sync hangs on hiding dropped index when index builds are active Created: 06/Jul/21 Updated: 29/Oct/23 Resolved: 13/Jul/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.2, 4.4.9, 5.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v5.0, v4.4
|
||||||||||||||||||||
| Sprint: | Execution Team 2021-07-26 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
During initial sync, incomplete index builds on the sync source during the collection cloning phase are started, but not completed, on the initial syncing node. After cloning the collections, if there are any conflicting operations on the collection before committing or aborting the index build, we will interrupt the index builds with the understanding that they will be restarted/aborted on processing an index build commit or abort operation. The current list of conflicting operations, defined in The rationale for interrupting index builds during initial sync for hide/unhide index operations can be illustrated by the following sequence of operations on the sync source: On sync source,
On initial syncing node,
|
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 10/Aug/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This fixes initial sync issues during oplog application when indexes are (cherry picked from commit 8922a0ea148c2d883ce724190e0d20a2e2bfd253) |
| Comment by Githook User [ 09/Aug/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: The initial version of this test is identical to initial_sync_aborts_two_phase_index_builds.js. (cherry picked from commit 7dc0e9f922fc025f8b6e6b7962398b9bd41f9570) |
| Comment by Benety Goh [ 09/Aug/21 ] |
|
4.4 backport may be affected by |
| Comment by Githook User [ 23/Jul/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This fixes initial sync issues during oplog application when indexes are (cherry picked from commit 8922a0ea148c2d883ce724190e0d20a2e2bfd253) |
| Comment by Githook User [ 23/Jul/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: The initial version of this test is identical to initial_sync_aborts_two_phase_index_builds.js. (cherry picked from commit 7dc0e9f922fc025f8b6e6b7962398b9bd41f9570) |
| Comment by Githook User [ 12/Jul/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This fixes initial sync issues during oplog application when indexes are |
| Comment by Githook User [ 12/Jul/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: The initial version of this test is identical to initial_sync_aborts_two_phase_index_builds.js. |