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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0, v4.4
    • Sprint:
      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

            Assignee:
            vesselina.ratcheva Vesselina Ratcheva
            Reporter:
            kaloian.manassiev Kaloian Manassiev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: