Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47362

mongo shell emits replica set monitor messages every 10 seconds

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

      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@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: