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

Use namespace parameter with find fail point in router_transactions_metrics.js

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-03-23
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: