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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0-rc4
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-08-29, Repl 2016-09-19, Repl 2016-10-10, Repl 2016-11-21
    • 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

              benety.goh@mongodb.com Benety Goh
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: