Improve logging when Shard::runCommand on retries

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding 2016-10-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Andy Schwerin
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: