Add addl. activation condition for interruptBeforeProcessingPrePostImageOriginatingOp fail point

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v5.0
    • Sharding 2022-08-22
    • 165
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

       

       

              Assignee:
              Abdul Qadeer
              Reporter:
              Abdul Qadeer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: