Move magic restore main function out of main thread

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-05-27, Repl 2024-06-10, Repl 2024-06-24, Repl 2024-08-05, Repl 2024-09-02, Repl 2024-09-16, Repl 2024-09-30, Repl 2024-10-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Magic restore executes on the main thread here. We shouldn't be using the main thread to run feature-specific behavior, and it also is against the accepted pattern in the codebase for main to call into waitForShutdown(). We should spawn a new thread that runs the magic restore main function.

              Assignee:
              Ali Mir
              Reporter:
              Ali Mir
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: