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

Devirtualize Ticketholder

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Scheduling
    • Fully Compatible
    • Workload Scheduling 2024-11-11, Workload Scheduling 2024-11-25

      We shouldn't need TicketHolder to have the complex virtual interface it does today after the linked ticket to remove PriorityTickeTHolder is complete. At a minimum we should be able to remove the indirection around the queueing stats and consolidate the code implemented at the TicketHolder and SemaphoreTIcketHolder layers today.

      One obstacle to consider is the MockTicketHolder used in the execution control unittests today. I suspect we can provide what this test needs without inheritance to fully simplify this interface into a single class/implementation, but if not we should still make it as minimal as possible.

            Assignee:
            drew.beckmen@mongodb.com Drew Beckmen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: