[SERVER-28332] FSM compact.js test is effectively single threaded Created: 16/Mar/17  Updated: 27/Oct/23  Resolved: 24/Jun/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: James Wahlin Assignee: Backlog - Storage Execution Team
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Operating System: ALL
Participants:

 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.


Generated at Thu Feb 08 04:17:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.