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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-11-16, Sharding 2020-11-30, Sharding 2020-12-14

      Description

      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().

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: