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

TicketHolder accepts OperationContext in top-level api

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • v8.0

      This solves two problems:

      • Upcoming changes to support a new TicketHolder subclass based on Notifyable waiter lists requires access to the Waitable it waits upon (in practice this is always a Baton instance). Giving TicketHolder api access to the opCtx in turn gives the implementation access to the Baton associated with that opCtx.
      • The TicketHolder resize API currently is uninterruptible. Passing in an opCtx to those methods allows us to check for interrupt.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: