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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: