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

Remove locking dasserts/invariants from implementations of RecordStore

    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: