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

Refactor TicketHolders to not use globals

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-03-21

      Currently ticketholders.h is maintained as a struct with global variables. Instead it should more accurately be a decoration of ServiceContext.

      There's an example of how to deal with on_update IDL interactions and global variables, so we should be able to refactor this into not having global static variables.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: