mongo shell emits replica set monitor messages every 10 seconds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • ALL
    • Service arch 2020-05-18, Service arch 2020-06-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you define a replica set using "127.0.0.1" hosts but connect to it from the mongo shell using "localhost" in the uri the connection is successful and everything works, but the mongo shell emits the following annoying message every 10 seconds:

      {"t":{"$date":"2020-04-06T19:13:03.014Z"},"s":"I", "c":"-",       "id":4333225,"ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM {setName} host {addr} was removed from the topology.","attr":{"setName":"r","addr":"localhost:27017"}}
      {"t":{"$date":"2020-04-06T19:13:03.015Z"},"s":"I", "c":"-",       "id":4333225,"ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM {setName} host {addr} was removed from the topology.","attr":{"setName":"r","addr":"localhost:27017"}}
      {"t":{"$date":"2020-04-06T19:13:03.015Z"},"s":"I", "c":"-",       "id":4333225,"ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM {setName} host {addr} was removed from the topology.","attr":{"setName":"r","addr":"localhost:27017"}}
      

      This is seen in 4.3.5 and master, but not in 4.2 and earlier.

            Assignee:
            Gabriel Russell (Inactive)
            Reporter:
            Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: