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

Refactor TicketHolders to not use globals

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-03-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: