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

Increase logging of direct shard connection errors and warnings

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.0
    • CAR Team 2024-09-16, CAR Team 2024-09-30
    • 0

      The direct connection errors/warnings are only logged at a high verbosity once per hour. This makes debugging test failures very difficult because we only have information about one warning - if the error is on the second or third, we won't have any logs for it. Because of this, we should increase the log verbosity of the sharding component in the direct shard connection tests.

      Additionally, it would be helpful for debugging to include the namespace in the log messages as well as the operation type. We will need to ensure that this change doesn't affect atlas's log ingestion rules, though.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: