[SERVER-17202] some rollback exceptions do not reset ROLLBACK state Created: 06/Feb/15  Updated: 18/Sep/15  Resolved: 11/Feb/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.0.0-rc9, 3.1.0

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: RPL 0 3/13/15
Participants:

 Description   

For some codepaths, rollback exceptions throw all the way up to the top of the produce() loop without clearing the ROLLBACK state. We should reset the state back to RECOVERING.



 Comments   
Comment by Githook User [ 11/Feb/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-17202 return to RECOVERING if an error is encountered during a rollback to avoid being trapped in ROLLBACK

(cherry picked from commit 5ff520902528d5fff857632e9d03534cf3761884)
Branch: v3.0
https://github.com/mongodb/mongo/commit/6f925ef3c327be1806a9895053023d155148d964

Comment by Githook User [ 11/Feb/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-17202 return to RECOVERING if an error is encountered during a rollback to avoid being trapped in ROLLBACK
Branch: master
https://github.com/mongodb/mongo/commit/5ff520902528d5fff857632e9d03534cf3761884

Comment by Eric Milkie [ 06/Feb/15 ]

See linked ticket for reproduction details.

Generated at Thu Feb 08 03:43:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.