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

FSM compact.js test is effectively single threaded

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • Storage Execution
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: