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

Standardize onCreate/onDestroy pattern for Decorations

    • Service Arch
    • 1

      We have a decently useful pattern for create/destroy hooks for ServiceContext here. Unfortunately, the pattern for ClientObservers is much less rigorous and requires defining a ServiceContext hook to make another hook like here. That can cause trouble when we make clients in ServiceContext create/destroy hooks. We should split apart ClientObservers and extend the stronger pattern to Clients and OperationContexts separately.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: