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

DatabaseCloner should log CollectionCloner errors on failure

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.3
    • None
    • Replication
    • Fully Compatible
    • Repl 2017-01-23, Repl 2017-02-13
    • 0

    Description

      When the CollectionCloner fails, the status is placed into _failedNamespaces here. However, we never do anything with _failedNamespaces besides check and print its size. We should print some, if not all, of the errors in the CollectionCloner, especially now that we don't do any collection cloning in parallel.

      Another solution would be to print CollectionCloner errors at a log level greater than 1: https://github.com/mongodb/mongo/blob/726cafd713c7333640f8458ec9808ed4f678e3a7/src/mongo/db/repl/collection_cloner.cpp#L542

      Attachments

        Activity

          People

            judah.schvimer@mongodb.com Judah Schvimer
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: