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

Use namespace parameter with find fail point in router_transactions_metrics.js

    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-03-23
    • 0

      router_transactions_metrics.js uses a fail point that hangs find commands to ensure a transaction is actively running when it checks transaction metrics in serverStatus. It uses currentOp to wait for exactly one thread to reach the fail point, but as of SERVER-46395, the range deleter runs a find that can trigger the fail point at the same time as the transaction, causing the test to hang. The fail point should instead use the "nss" parameter so only the transaction find will trigger the fail point.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: