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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.0-rc4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-08-29, Repl 2016-09-19, Repl 2016-10-10, Repl 2016-11-21
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Benety Goh
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: