Fix data race in oplogFetcherHighestFetchedOptime metric

XMLWordPrintableJSON

    • Replication
    • Fully Compatible
    • v8.2, v8.0, v7.0
    • Repl 2026-02-16, Repl 2026-03-02
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Fix for  BF-41633.

      By not using synchronized_value with BSONObj metrics there are concurrent reads and writes possible between _onSuccessfulBatch and serverStatus reporting.

        There are no Sub-Tasks for this issue.

            Assignee:
            Denis Trailin
            Reporter:
            Denis Trailin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: