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

Implement hook for pausing / resuming the replicator

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Repl 2022-04-04, Repl 2022-04-18

      1. Create pause / resume hook that derives from BGHook.
      2. Create methods on the replicator fixture for sending the PAUSE / RESUME
      3. Call pause resume method from the hook. There will be some bookkeeping with whether the replicator is alive or not that we'll have to think about as well, because we can't call pause when the replicator is dead.
      Likewise, we will also have to think about what happens when a paused replicator is killed, and then the pause / resume hook tries to resume it before it has been restarted.

            Assignee:
            samy.lanka@mongodb.com Samyukta Lanka
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: