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

RWC defaults pollutes the logs with duplicate "Refreshed RWC defaults" messages

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Replication 2021-11-15, Replication 2021-11-29, Replication 2021-12-13, Replication 2021-12-27, Replication 2022-01-10

      The RWC defaults subsystem pollutes the logs on MongoS with the following lines every 10 seconds:

      {"t":{"$date":"2021-06-08T05:20:42.757+00:00"},"s":"I",  "c":"SHARDING", "id":20997,   "ctx":"Uptime-reporter","msg":"Refreshed RWC defaults","attr":{"newDefaults":{}}}
      {"t":{"$date":"2021-06-08T05:20:52.772+00:00"},"s":"I",  "c":"SHARDING", "id":20997,   "ctx":"Uptime-reporter","msg":"Refreshed RWC defaults","attr":{"newDefaults":{}}}
      ...
      kaloianm@kal-ubuntu1:~/Temp/Data/mtools$ grep 'Refreshed RWC' mongos.log | wc -l
      3699
      

      The logging should happen only when there is actually a change in the defaults rather than all the time.

            Assignee:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: