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

Temporarily raise transaction lifetime limit during setFCV in validate collections hook

    • Fully Compatible
    • ALL
    • v4.4
    • 16

      As of SERVER-42299, setFeatureCompatibilityVersion uses transactions to modify sharded metadata on the config server when run in a sharded cluster. This command may be called in the validate collections hook run after a fuzzer test if the cluster does not have the expected FCV. Fuzzer suites reduce the transactionLifetimeLimitSeconds parameter to 1 second, so it's possible for validate collections to fail against sharded clusters if a setFCV transaction is killed for exceeding 1 second.

      To get around this, transactionLifetimeLimitSeconds should be temporarily raised while running setFCV in validate collections. This behavior can be removed as part of SERVER-44034.

            max.hirschhorn@mongodb.com Max Hirschhorn
            jack.mulrow@mongodb.com Jack Mulrow
            0 Vote for this issue
            3 Start watching this issue