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

Move magic restore main function out of main thread

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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, Repl 2024-09-30, Repl 2024-10-14

      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@mongodb.com Ali Mir
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: