[SERVER-68728] Add addl. activation condition for interruptBeforeProcessingPrePostImageOriginatingOp fail point Created: 11/Aug/22  Updated: 29/Oct/23  Resolved: 12/Aug/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.12, 6.0.2, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Abdul Qadeer Assignee: Abdul Qadeer
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding 2022-08-22
Participants:
Linked BF Score: 165
Story Points: 1

 Description   

As seen in BF-26079, the sharding_multiversion test suite of mongodb-mongo-v6.0 runs mixed binary versions of 5.0 & 6.0. As the donor shard can be v5.0 as well as v6.0, we need to add additional activation condition from v5.0 for interruptBeforeProcessingPrePostImageOriginatingOp fail point to v6.0:

[&](const auto&) {    return !oplogEntry["preImageOpTime"].eoo() || !oplogEntry["postImageOpTime"].eoo();}); 

and the following condition from v6.0 to v5.0 :

[&](const auto&) { return !oplogEntry["needsRetryImage"].eoo()});  

Thanks to max.hirschhorn@mongodb.com for initial investigation.

 

 



 Comments   
Comment by Githook User [ 17/Aug/22 ]

Author:

{'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}

Message: SERVER-68728 Add failpoint activation condition for mixed version clusters
Branch: master
https://github.com/mongodb/mongo/commit/6c3ce7f99a155e8d6e51753ff25dfa00eed35886

Generated at Thu Feb 08 06:11:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.