Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-14023

Document the behaviour of WT_WITH_LOCK_WAIT

    • Storage Engines
    • 1
    • StorEng - Defined Pipeline

      We had two Coverity warnings that took some time to investigate before flagging as false positive. This is because WT_WITH_LOCK_WAIT works on the assumption the contents of WT_SESSION are only accessible by a single thread, but Coverity doesn't know that.

      This ticket updates the macro comments to explain this assumption, and make it clear we can ignore future Coverity warnings for this macro.

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: