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

Improve logging when Shard::runCommand on retries

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding 2016-10-10

    Description

      Shard::runCommand will retry an operation forever if no maxTime is provided, but it also only logs about the decision to retry at log level 2. This task is to log the first retry, every retry caused by a different upstream error code, and every 1000th retry with the same error code, so that retries can be distinguished from other hangs.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: