Defer starting throughput probing until after startup recovery completes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • Storage Execution 2025-04-14
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Startup recovery adjusts the replSetMemberInStandaloneMode service context parameter several times, which causes a data race if an operation context is created on a background thread while this is happening. This specific race is harmless other than tripping tsan as the throughput probing job doesn't care about the value of this parameter.

      An alternative solution would be to make the field atomic or lock access to it, but this could mask actual bugs related to reading it while it's being modified and seeing the incorrect value.

            Assignee:
            Thomas Goyne
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: