[SERVER-46917] Index builder on receiving commit/abort signal should cancel the active callback handle for the remote vote command request. Created: 17/Mar/20  Updated: 29/Oct/23  Resolved: 18/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
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-03-23
Participants:
Linked BF Score: 22

 Description   

Currently, we cancel the active callback handle for the remote vote command request only on shutdowns and rollback. It's ok to extend to below other callers who can set commit or abort signal. Already, we skip voting if the index builder received commit or abort signal.

1) oplog commit
2) oplog abort
3) primary signaling commit quorum satisfied.
4) primary user aborts.



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

Author:

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

Message: SERVER-46917 Index builder on receiving commit/abort signal should cancel the active callback handle for the remote vote command request. And, callers who sets the index build commit/abort signal should also cancel the active remote vote command request callback handle for that signaling index build.

(cherry picked from commit b176fdbb1c3027bdd06721e51d5f07e3af0b3875)
Branch: v4.4
https://github.com/mongodb/mongo/commit/d07af94226fd8fe8455e5dd70455028b2d77ae3f

Comment by Githook User [ 18/Mar/20 ]

Author:

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

Message: SERVER-46917 Index builder on receiving commit/abort signal should cancel the active callback handle for the remote vote command request. And, callers who sets the index build commit/abort signal should also cancel the active remote vote command request callback handle for that signaling index build.
Branch: master
https://github.com/mongodb/mongo/commit/b176fdbb1c3027bdd06721e51d5f07e3af0b3875

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