Fix possible race condition on _listenerProcessingTime in ASIO transport layer

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-01-05, CAR Team 2026-01-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we have two threads updating the _listenerProcessingTime by issuing a load operation followed by a store operation. Having two concurrent threads could lead us to a possible race condition.
      As part of this ticket, we have to update the _listenerProcessingTime to be an AtomicWord<int64_t> such that we could make benefit of the .fetchAndAdd() method to safely update the elapsed time.

            Assignee:
            Allison Easton
            Reporter:
            Anna Maria Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: