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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2021-02-22

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: