[SERVER-46910] 2 phase index builds should not try to vote when shutdown is in progress. Created: 17/Mar/20  Updated: 29/Oct/23  Resolved: 17/Mar/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Suganthi Mani Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-46704 Two phase index build can violate loc... Closed
related to SERVER-48359 retry voteCommitIndexBuild on new pri... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-03-23
Participants:
Linked BF Score: 46

 Description   

index build retries to vote on error without checking any interrupts, like, shutdown interrupts. This makes shutdown to hang forever, as it waits for the index builds to complete.



 Comments   
Comment by Githook User [ 17/Mar/20 ]

Author:

{'name': 'Suganthi Mani', 'username': 'smani87', 'email': 'suganthi.mani@mongodb.com'}

Message: SERVER-46910 2 phase index builds should not try to vote when shutdown is in progress.

(cherry picked from commit aa1ee1001b9a7ae5822b01c6378402cbc9f1d1e8)

SERVER-46910 Make index build cleanup to catch all shutdown errors.

(cherry picked from commit d700abeeb652a61c619c487d7a25a06f9b7e5195)
Branch: v4.4
https://github.com/mongodb/mongo/commit/2cabb2eae919e8ceedda0f7a3083c374ba3fe70c

Comment by Githook User [ 17/Mar/20 ]

Author:

{'email': 'suganthi.mani@mongodb.com', 'name': 'Suganthi Mani', 'username': 'smani87'}

Message: SERVER-46910 Make index build cleanup to catch all shutdown errors.
Branch: master
https://github.com/mongodb/mongo/commit/d700abeeb652a61c619c487d7a25a06f9b7e5195

Comment by Githook User [ 17/Mar/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-46910 2 phase index builds should not try to vote when shutdown is in progress.
Branch: master
https://github.com/mongodb/mongo/commit/aa1ee1001b9a7ae5822b01c6378402cbc9f1d1e8

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