-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Repl 2024-05-27, Repl 2024-06-10, Repl 2024-06-24, Repl 2024-08-05, Repl 2024-09-02, Repl 2024-09-16
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.