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

Improve TicketHolder(s) classes

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-07-11

      Goal
      Remove the assumption there should always be a reader/writer TicketHolder. Transform the FIFOTicketHolder and SemaphoreTicketHolder classes to internally manage /separate their reader/writers.

      In an Ideal world, we can have a single TicketHolder instance and get rid of the TicketHolders class altogether.

      Context
      Right now, the TicketHolders class expects there to always be a reader and writer TicketHolder class. However, for the FIFOTicketHolder, no real performance gain is tied to separating readers / writers.

      SERVER-66152 introduces the SchedulingTicketHolder with n internal Queues to keep track of.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: