Fix lifetime of timers in refineCollectionShardKey transaction callback

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc4, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding 2022-05-02
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      refineCollectionShardKey uses the transaction API and captures a struct of timers by reference for the API's callback, but the callback runs on an executor so may run after the calling context has gone out of scope after an interruption, like at stepdown.

            Assignee:
            Jack Mulrow
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: