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

Use linter to prevent new instances of UninteruptibleLockGuard

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-11-14, Execution Team 2022-11-28

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: