FSM compact.js test is effectively single threaded

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      compact.js is an FSM test that runs 15 threads, each of which alternates between the following on a thread-owned collection:

      1. Collection compaction
      2. Collection count, confirming expected document number

      While each thread has its own collection, they all share a single database. As the compact command takes a database X lock, a single thread running compact will block all others from both compact and count.

      This test would better test concurrent behavior if each thread ran with its own database.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: