[SERVER-50446] make index builds non-resumable when commit quorum is disabled Created: 21/Aug/20  Updated: 29/Oct/23  Resolved: 25/Aug/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Bug 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:
Depends
is depended on by SERVER-49075 Add replica_sets suite to resumable i... Closed
is depended on by SERVER-49076 Add rollback fuzzer suites to resumab... Closed
Related
related to SERVER-50519 resumable index build hangs waiting f... Closed
related to SERVER-69504 Leave index build phase intact upon e... Closed
is related to SERVER-45001 enable commit quorum for two phase in... Closed
is related to SERVER-48476 resumable index build should use majo... Closed
is related to SERVER-50108 remove enableIndexBuildCommitQuorum s... Backlog
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-09-07
Participants:

 Description   

Index builds are rarely configured with the commit quorum disabled except in tests which attempt to manipulate the majority commit point. SERVER-48476 introduced an implicit majority wait to the collection scan phase for resumable index builds, which makes resumable index builds incompatible with tests that disable the commit quorum.

We should look into making index builds non-resumable when the commit quorum is disabled.



 Comments   
Comment by Githook User [ 25/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50446 make index builds non-resumable when commit quorum is disabled
Branch: master
https://github.com/mongodb/mongo/commit/7e9b19f630a92301c8a3ce4932f0d01da3051b3a

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50446 MultiIndexBlock writes resumable index build info based on abortWithoutCleanup() parameter instead of internal check
Branch: master
https://github.com/mongodb/mongo/commit/0d82f47ba7e8fcd3fa656e323394d171b4a171d0

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50446 move resumable index build checks from IndexBuildsCoordinator::_awaitLastOpTimeBeforeInterceptorsMajorityCommitted() to isIndexBuildResumable() helper
Branch: master
https://github.com/mongodb/mongo/commit/5112cd025d54dab920b16bf6ebc901e2d7b4c13e

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50446 IndexBuildsCoordinator provides 'isResumable' info to MultiIndexBuild when stopping index builds for rollback/shutdown
Branch: master
https://github.com/mongodb/mongo/commit/fdc21c767f1ba1ccd8d69f5bb5e2561e8d5c22c3

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50446 log errors during of collection scan for index build
Branch: master
https://github.com/mongodb/mongo/commit/48a30bc6b5c380bfae5a298b20aa53931c922491

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50446 move checks for index build resumability into a helper function
Branch: master
https://github.com/mongodb/mongo/commit/3507515ca0e680534863b8cafd5b1b4aad4f7ae5

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