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

Improve WiredTigerRecordStore invariants for capped visiblity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.13, 3.4.5, 3.5.4
    • Component/s: Storage, WiredTiger
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Sprint:
      Storage 2017-03-06
    • Linked BF Score:
      0

      Description

      Specifically _addUncommitedRecordId_inlock has a commented-out invariant and _dealtWithCappedId has an invariant that checks the address of a RecordId in a std::list which doesn't make much sense. Instead check that the RecordId is normal.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: