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

Introduce debug-only uninterruptible ResourceMutex for CSR/DSS

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-03-03
    • 2

      In SERVER-90798 we made the CSR/DSS locks uninterruptible by using a shared_mutex. With this change we lose the coverage of the deadlock detector that SERVER-99150 introduced, so it would be good to use a proper Lock that's part of the hierarchy and can be checked by the detector.

      We don't want to incentivize other engineers to use this uninterruptible lock, we only want it for testing, so the proposal is to make sure it's only available in debug mode, and in production make the CSR/DSS use a shared_mutex under the hood.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: