Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68728

Add addl. activation condition for interruptBeforeProcessingPrePostImageOriginatingOp fail point

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

      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@mongodb.com Abdul Qadeer
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: