Investigate changes in SERVER-119766: Fix data race in oplogFetcherHighestFetchedOptime metric

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Declined
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      Original Downstream Change Summary

      This adds two new sections to serverStatus :
      metrics.repl.network.oplogFetcherHighestFetchedOptime and metrics.repl.network.oplogFetcherLagSeconds

      Description of Linked Ticket

      Fix for  BF-41633.

      By not using synchronized_value with BSONObj metrics there are concurrent reads and writes possible between _onSuccessfulBatch and serverStatus reporting.
      Unreverts SERVER-116300 and includes the changes from that ticket

            Assignee:
            Unassigned
            Reporter:
            Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: