Allow RollbackTest fixture to skip collection validation when restarting node

XMLWordPrintableJSON

    • Fully Compatible
    • STM 2019-05-20
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The validate command requires a collection X lock, which cannot be acquired if there are outstanding transactions running on the server. The rollback fuzzer may attempt to call RollbackTest#restartNode() after having started transactions on the server. The RollbackTest#restartNode() method should therefore take an optional skipValidation boolean and pass it through to the rst.stop() call.

      The RollbackTest#transitionToSteadyStateOperations() method should also be updated to take an optional skipDataConsistencyChecks boolean (wrapped in an object so it's effectively a named parameter) that acts as a syntactic alternative to the usage of expectPreparedTxnsDuringRollback as a way to avoid calling checkDataConsistency().

            Assignee:
            Robert Guo (Inactive)
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: