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

Reduce excessive logging when replica set primary is not reachable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.9.1
    • Cluster Management
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: