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

Use linter to prevent new instances of UninteruptibleLockGuard

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2022-11-14, Execution Team 2022-11-28

      The programming model inside MongoDB requires that all operations be interruptible at certain wait points. However, a small set of code paths were not properly structured to support interruption, and so suppress it by use of the UninterruptibleLockGuard RAII type. As uses of this behavior indicate code that does not comply with the design requirements of MongoDB, they should be flagged by the linter so new instances receive extra scrutiny from authors and code reviewers.

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: