Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-655

Reduce excessive logging when replica set primary is not reachable

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.9.1
    • Component/s: Cluster Management
    • None
    • Fully Compatible

      When the primary is unreachable, the replica set health check happens every 10 ms instead of every 5000 ms (by default), and it logs at WARNING level for each server that's not reachable, flooding the logs.

      Driver should reduce logging to at most once per second for each server.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: