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

Failpoint to disable periodic uptime reporter thread should instead just disable uptime reporting

    • Fully Compatible
    • Sharding 2020-11-16, Sharding 2020-11-30, Sharding 2020-12-14

      The disableShardingUptimeReporterPeriodicThread failpoint stops the whole uptime reporter thread, but this is overkill for the intended purpose of not doing uptime reporter writes on the configsvrs (because this thread is also responsible for refreshing the balancer state and CWRWC defaults). This failpoint should be renamed to disableShardingUptimeReporting, and its effect changed to just skipping/short-circuiting reportStatus().

            Assignee:
            jason.zhang@mongodb.com Jason Zhang
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: