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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0
    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: