Remove or support direct access to gauge "value"

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Networking & Observability
    • Fully Compatible
    • N&O 2026-04-13, N&O 2026-04-27
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In src/mongo/db/replicated_fast_count/replicated_fast_count_metrics.cpp there are two gauges (1 2) that are set by taking the max of the current value and some new value. This is racy, and also we probably don't want to expose "value" this way as it becomes more messy in the presence of attributes. This could be fixed by fixing SERVER-123166.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Michael Nugent
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: