Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72616

Remove futex usage in favour of std::atomic/AtomicWord::wait on TicketBroker

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Storage Execution

    Description

      As part of SERVER-72067 we had to implement the TicketBroker class using raw Linux futex syscalls due to not having C++20 atomics at the time.

      These calls should go away in order to use C++20 atomics once we can use them in the codebase in order to enable cross-platform usage pof the class. Right now these calls block PriorityTicketHolder from being multi-platform since they are tied to Linux.

      Places affected by this have been tagged to this ticket in the comments.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: