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

XMLWordPrintableJSON

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

      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
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: