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

Additional logging for failed collection clone during resync.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 4.0.14
    • None
    • Replication
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: