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

Replace LogoutCommandState with std::call_once

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Server Security

      LogoutCommandState is a ServiceContext decoration that stores an atomic bool used to track whether logout has been called. logout uses this to emit deprecation warnings.

      Decorations are powerful but complicated. We should replace all of this with a magic static std::once_flag and a call to std::call_once.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: