[SERVER-27050] Ensure upstream node doesn't roll back after checking minvald Created: 15/Nov/16  Updated: 17/Jul/17  Resolved: 24/Jan/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.12, 3.4.2, 3.5.2

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

Issue Links:
Backports
Depends
is depended on by SERVER-27403 Consider term and rbid when validatin... Closed
Related
related to SERVER-25145 During rollback (or w/minvalid invali... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4, v3.2
Sprint: Repl 2016-11-21, Repl 2016-12-12, Repl 2017-01-23, Repl 2017-02-13
Participants:
Case:

 Description   

This is an extension of SERVER-25145. With that done, there is a gap between when we check the minvalid and when we are able to detect rollbacks. That means that our sync source could roll back to before our minvalid invalidating our prior check. This ticket is about closing that gap.



 Comments   
Comment by Githook User [ 25/Jan/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-27050 jstest that rollback detects upstream node rolling back

cherry-picked from c54d665229604e6fd6bfc0e73c171524604e296b
Branch: v3.2
https://github.com/mongodb/mongo/commit/190538da7580eee02ab36993c426bf9b94005247

Comment by Githook User [ 25/Jan/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-27050 jstest that rollback detects upstream node rolling back

Cherry-picked from c54d665229604e6fd6bfc0e73c171524604e296b
Branch: v3.4
https://github.com/mongodb/mongo/commit/c91a4d4eda70f11ecd4ce21d57fd9a57e889df70

Comment by Githook User [ 24/Jan/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-27050 jstest that rollback detects upstream node rolling back
Branch: master
https://github.com/mongodb/mongo/commit/c54d665229604e6fd6bfc0e73c171524604e296b

Comment by Githook User [ 20/Jan/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'redbeard0531@gmail.com'}

Message: SERVER-27050 Ensure upstream node doesn't roll back after checking MinValid

(cherry picked from commit 0b76764eac7651ddba4c82c504aa7e8d785087c2)

SERVER-25860 Allow replication rollback to drop system collections

(cherry picked from commit 99e19b1ded425a1d859a9bc52fd5c2712e71f83a)

SERVER-25860 Remove redundant operations during rollback

(cherry picked from commit 2dec7e9a15af8e0fc4d8e68ed40e3abe90b3a3b3)

SERVER-25862 Add a test of replaying a batch at startup with update and delete of same object

This is a special case of SERVER-7200 that interacts with plans for
SERVER-25862.

(cherry picked from commit 8e7231a38341d68fb2cdc60509687397e9a17741)

SERVER-27282 clean up RS rollback error handling

(cherry picked from commit ef1f1739d6cbff9fb4ddbcc77d467f183c0ab9f2)

(all cherry picked from v3.4 commit f4cab348460c90fcd506b2d46bf8c830b7b87379)
Branch: v3.2
https://github.com/mongodb/mongo/commit/fb5a39c59d661021c99ba3548e4e5be2e2fb50f5

Comment by Githook User [ 13/Jan/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-27050 Ensure upstream node doesn't roll back after checking MinValid

(cherry picked from commit 0b76764eac7651ddba4c82c504aa7e8d785087c2)

SERVER-25860 Allow replication rollback to drop system collections

(cherry picked from commit 99e19b1ded425a1d859a9bc52fd5c2712e71f83a)

SERVER-25860 Remove redundant operations during rollback

(cherry picked from commit 2dec7e9a15af8e0fc4d8e68ed40e3abe90b3a3b3)

SERVER-25862 Add a test of replaying a batch at startup with update and delete of same object

This is a special case of SERVER-7200 that interacts with plans for
SERVER-25862.

(cherry picked from commit 8e7231a38341d68fb2cdc60509687397e9a17741)

SERVER-27282 clean up RS rollback error handling

(cherry picked from commit ef1f1739d6cbff9fb4ddbcc77d467f183c0ab9f2)
Branch: v3.4
https://github.com/mongodb/mongo/commit/f4cab348460c90fcd506b2d46bf8c830b7b87379

Comment by Githook User [ 03/Jan/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-27050 Ensure upstream node doesn't roll back after checking MinValid
Branch: master
https://github.com/mongodb/mongo/commit/0b76764eac7651ddba4c82c504aa7e8d785087c2

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