[SERVER-25256] RollbackChecker::hasHadRollback should check if callback handle is valid before waiting on it Created: 25/Jul/16  Updated: 13/Aug/16  Resolved: 27/Jul/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.3.11

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 18 (08/05/16)
Participants:
Linked BF Score: 0

 Description   

RollbackChecker::checkForRollback returns a CallbackHandle that could be invalid. We need to check if it is still valid before calling wait() on the executor so that we don't invariant.



 Comments   
Comment by Githook User [ 27/Jul/16 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-25256 check if callback is valid in synchronous RollbackChecker methods
Branch: master
https://github.com/mongodb/mongo/commit/3bcbbb9b7a822bb3e795ebfeebdda3529c5e2d9c

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