[SERVER-50183] Copy _awaitPrimaryAppliedSurpassesRollbackApplied function from RollbackTest to RollbackTestDeluxe Created: 07/Aug/20  Updated: 29/Oct/23  Resolved: 24/Aug/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.1, 4.7.0, 4.2.10, 4.0.21

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

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-48518 Rollback via refetch (EMRC = false) c... Closed
Related
is related to SERVER-50229 Temporarily blacklist rollback_collmo... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Repl 2020-08-24, Repl 2020-09-07
Participants:
Linked BF Score: 43

 Description   

awaitPrimaryAppliedSurpassesRollbackApplied was added to RollbackTest as part of SERVER-48518. This helper is needed for rollbacktests that run RVR pass. We should copy these to RollbackTestDeluxe so that that tests like rollback_all_ops_types.js and rollback_collmods.js pass in the EMRC=false variant.

Alternatively we can blacklist these tests from the EMRC=false variant but I'm not sure we want to lose that test coverage.



 Comments   
Comment by Githook User [ 07/Oct/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-48518 Fix rollback via refetch anomaly, try 2

Includes the following partial backports:

SERVER-47844 Add the ability to get the initialDataTimestamp from the storage engine interface

(cherry picked from commit 1408e1b8a5392a9001ee598b5cec66afc4e1cf77)
(cherry picked from commit 329d8c517d8b3c3fb4bcb63eecf6064ac9a007cf)

SERVER-48518 Fix rollback via refetch anomaly

(cherry picked from commit eee49c64cdeb8fa95704b9a316b779eb5eb9800c)
(cherry picked from commit 88c0265e057f0e5581306f294d1ca2bda19760e4)

SERVER-50183 Copy _awaitPrimaryAppliedSurpassesRollbackApplied function from RollbackTest to RollbackTestDeluxe

(cherry picked from commit 252251d38915b9e6722186b9742cc914a045d589)
(cherry picked from commit d4b960b5f3f4a7a2b18b48d7fb14251704a8bda8)
Branch: v4.0
https://github.com/mongodb/mongo/commit/ece51101e58dfaf7e455c8c96df6ade42b99515c

Comment by Githook User [ 08/Sep/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-48518 Fix rollback via refetch anomaly

Includes the following partial backports:

SERVER-47844 Add the ability to get the initialDataTimestamp from the storage engine interface

(cherry picked from commit 1408e1b8a5392a9001ee598b5cec66afc4e1cf77)
(cherry picked from commit 329d8c517d8b3c3fb4bcb63eecf6064ac9a007cf)

SERVER-48518 Fix rollback via refetch anomaly

(cherry picked from commit eee49c64cdeb8fa95704b9a316b779eb5eb9800c)
(cherry picked from commit 88c0265e057f0e5581306f294d1ca2bda19760e4)

SERVER-50183 Copy _awaitPrimaryAppliedSurpassesRollbackApplied function from RollbackTest to RollbackTestDeluxe

(cherry picked from commit 252251d38915b9e6722186b9742cc914a045d589)
(cherry picked from commit d4b960b5f3f4a7a2b18b48d7fb14251704a8bda8)
Branch: v4.0
https://github.com/mongodb/mongo/commit/b07f80de5850c665e75dc259def6b8999d1077dd

Comment by Githook User [ 25/Aug/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-48518 Fix rollback via refetch anomaly

(cherry picked from commit eee49c64cdeb8fa95704b9a316b779eb5eb9800c)
(cherry picked from commit 88c0265e057f0e5581306f294d1ca2bda19760e4)

SERVER-50183 Copy _awaitPrimaryAppliedSurpassesRollbackApplied function from RollbackTest to RollbackTestDeluxe

(cherry picked from commit 252251d38915b9e6722186b9742cc914a045d589)
(cherry picked from commit d4b960b5f3f4a7a2b18b48d7fb14251704a8bda8)
Branch: v4.2
https://github.com/mongodb/mongo/commit/e41d7e8da4527f2ee1f227593d874140055e68ad

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-50183 Copy _awaitPrimaryAppliedSurpassesRollbackApplied function from RollbackTest to RollbackTestDeluxe

(cherry picked from commit 252251d38915b9e6722186b9742cc914a045d589)
Branch: v4.4
https://github.com/mongodb/mongo/commit/d4b960b5f3f4a7a2b18b48d7fb14251704a8bda8

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-50183 Copy _awaitPrimaryAppliedSurpassesRollbackApplied function from RollbackTest to RollbackTestDeluxe
Branch: master
https://github.com/mongodb/mongo/commit/252251d38915b9e6722186b9742cc914a045d589

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