Use light weight threads instead of parallel shell in sharding/txn_two_phase* tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-11-11
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Around 7 tests here use startParallelShell helper that can be resource intensive with transactions on loaded machines. Similar to SERVER-94866, we should replace them with lightweight Thread object to avoid flakiness.

      jstests/sharding/txn_two_phase_commit_primary_exit_drain.js
      jstests/sharding/txn_two_phase_commit_basic.js
      jstests/sharding/txn_two_phase_commit_failure.js
      jstests/sharding/txn_two_phase_commit_killop.js
      jstests/sharding/txn_two_phase_commit_wait_for_majority_commit_after_stepup.js
      jstests/sharding/txn_two_phase_commit_coordinator_shutdown_and_restart.js
      jstests/sharding/txn_two_phase_commit_write_concern.js

              Assignee:
              Abdul Qadeer
              Reporter:
              Abdul Qadeer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: