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

Temporarily raise transaction lifetime limit during setFCV in validate collections hook

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Linked BF Score:
      16

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              max.hirschhorn Max Hirschhorn
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: