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