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

Implement hook for pausing / resuming the replicator

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • None
    • None
    • Repl 2022-04-04, Repl 2022-04-18

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: