Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3456

Remove excessive logging for topology change from "primary" to "primary" [awaited]

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Logging, SDAM
    • Ruby Drivers

      If you set Mongo ruby driver log level to "debug" in a Rails console, you'll see the following logs while idling.

      I think no log is needed for toggling between "primary" vs. "primary" [awaited]

      MONGODB | Server description for tablecheck-staging-shard-00-00.uhz3j.mongodb.net:27017 changed from 'primary' to 'primary'.
      MONGODB | There was a change in the members of the 'ReplicaSetWithPrimary' topology.
      MONGODB | Server description for tablecheck-staging-shard-00-00.uhz3j.mongodb.net:27017 changed from 'primary' to 'primary' [awaited].
      MONGODB | There was a change in the members of the 'ReplicaSetWithPrimary' topology.
      MONGODB | Server description for tablecheck-staging-shard-00-00.uhz3j.mongodb.net:27017 changed from 'primary' to 'primary'.
      MONGODB | There was a change in the members of the 'ReplicaSetWithPrimary' topology.
      MONGODB | Server description for tablecheck-staging-shard-00-00.uhz3j.mongodb.net:27017 changed from 'primary' to 'primary' [awaited].
      MONGODB | There was a change in the members of the 'ReplicaSetWithPrimary' topology.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: