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

XMLWordPrintableJSON

    • None
    • Ruby Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • 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:
            Dmitry Rybakov
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: