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

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

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

      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@mongodb.com Abdul Qadeer
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: