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

Remove locking dasserts/invariants from implementations of RecordStore

    XMLWordPrintableJSON

Details

    • Storage Execution

    Description

      The RecordStore/SortedDataInterface and their different implementations are internal detail of the higher-level MongoDB concept of "Collection". As such it shouldn't be checking whether there is a lock on a collection, because that is a layering violation. Furthermore, we have a lot of tests which use LockerNoop just to avoid these invariants (LockerNoop returns true for the assertions of whether something is locked).

      This ticket is to remove all assertions like this one.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: