[SERVER-43856] Make the IndexCollectionEntryContainer thread-safe Created: 07/Oct/19  Updated: 06/Dec/22  Resolved: 17/Oct/19

Status: Closed
Project: Core Server
Component/s: Catalog, Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

In preparation for concurrent creation of (empty) indexes, make the IndexCollectionEntryContainer thread-safe. That is: use a mutex to synchronize access to the underlying data-structures.

IndexIterators must remain valid when adding new indexes to the container.
Include unit tests that check the safety and invalidation properties.


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