Arrange events so cloner onCompletion is never run with lock held

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-01-13, Repl 2020-01-27, Repl 2020-02-10
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Since we need the initial sync mutex in the onCompletion routine of the cloners, and we cannot guarantee this routine does not run in-line with its creation (because executors may not schedule), we need to delay completion of the cloners until we can release the lock. This can be accomplished by waiting on an executor event (which, on shutdown, will trigger the callback appropriately).

            Assignee:
            Matthew Russotto (Inactive)
            Reporter:
            Matthew Russotto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: