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

(Investigation) Create something similar to WithLock for AutoGetCollection

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Execution

      When there is a mutex, we have methods that contain mymethodname(….m WithLock) to enforce a lock is taken.

      It would be cool to have a Wrapper similar to WithLock that works with AutoGetCollection and forces callers to be holding AutoGetCollection with a certain level of lock before calling the function.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: