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

Create a JS test to prove listIndexes and listCollections run lock-free

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2021-02-22

      SERVER-53829 introduces this feature, but we do not have explicit test coverage. Should test that:

      • listIndexes can run concurrently with a MODE_X collection lock holding operation.
      • listCollections can run concurrently with a MODE_X database lock holding operation
        • ideally MODE_X db lock, but I'm not sure whether we have those anymore, so just proving that listCollections can run concurrently with a MODE_X collection lock on a collection that it returns in the report also proves lock-free operation.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: