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

Shutdown and join the executor in resharding_txn_cloner_test.cpp on teardown

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch
    • ALL
    • Service Arch 2024-05-13
    • 2

      SERVER-57784 describes an issue where a future can be ready'd before the shared executor will actually be destroyed. In a unit test scenario, this can cause this invariant to hit if the test is able to finish before the executor is destroyed.

      SERVER-57784 fixed resharding_oplog_applier_test and we should see if something similar can be done for resharding_txn_cloner_test

            Assignee:
            ronald.steinke@mongodb.com Ronald Steinke
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: