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

Data replicator should stop initial sync and shut down immediately when server is shut down

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0-rc4
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2016-08-29, Repl 2016-09-19, Repl 2016-10-10, Repl 2016-11-21
    • Linked BF Score:
      0

      Description

      Currently if mongod is shutdown during initialsync, it will wait for initial sync to terminate before finishing. Since the mongod is partially shutdown initial sync will fail and it will wait to fail 10 times before finally failing and shutting down. Rather, when the ReplicationCoordinatorImpl shuts down, it should shut down the data replicator which should tell initial sync to stop with a ShutdownInProgress status.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: