Remove locking dasserts/invariants from implementations of RecordStore

XMLWordPrintableJSON

    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-08-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            Louis Williams
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: