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

Additional logging for failed collection clone during resync.

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.14
    • Component/s: Replication
    • None
    • Fully Compatible

      During an initial sync we can fail to clone a collection from the sync source. The messages logged are as follows.

      YYYY-MM-DDTHH:MM:SSZ I REPL [repl writer worker 1] Finished cloning data: InitialSyncFailure: Failed to clone 1 collection(s) in 'DBNAME' from HOST:PORT. Beginning oplog replay.
      

      To improve diagnostics it would be a good idea to log the collection name that failed.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            james.phelan@mongodb.com James Phelan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: