[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:
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. |