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

Set/honour initial sync flag at the early stages of initial sync

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.6
    • Fix Version/s: 4.2.0-rc3, 4.0.13, 4.3.1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Repl 2019-06-17, Repl 2019-07-01
    • Case:

      Description

      Symptoms: when the server is restarted at an early stage of the initial sync, the initial sync is unable to resume.

      2019-02-27T14:58:45.498+0000 I REPL [replication-0] Starting initial sync (attempt 1 of 10)
      ...
      2019-02-27T14:58:46.723+0000 I REPL [replication-1] CollectionCloner ns:admin.system.version finished cloning with status: CallbackCanceled: Cloner shutting down.
      2019-02-27T14:58:46.724+0000 W REPL [replication-1] collection clone for 'admin.system.version' failed due to CallbackCanceled: Error cloning collection 'admin.system.version' :: caused by :: Cloner shutting down.
      ...
      2019-02-27T14:58:49.349+0000 I CONTROL [main] ***** SERVER RESTARTED *****
      ...
      2019-02-27T14:58:50.495+0000 F STORAGE [initandlisten] Unable to start up mongod due to missing featureCompatibilityVersion document.
      2019-02-27T14:58:50.495+0000 F STORAGE [initandlisten] Please run with --repair to restore the document.
      2019-02-27T14:58:50.495+0000 F - [initandlisten] Fatal Assertion 40652 at src/mongo/db/repair_database_and_check_version.cpp 581
      2019-02-27T14:58:50.495+0000 F - [initandlisten]
       
      ***aborting after fassert() failure
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jason.chan Jason Chan
              Reporter:
              josef.ahmad Josef Ahmad
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: