[SERVER-42596] Fix race condition in collection_compact.cpp Created: 01/Aug/19 Updated: 06/Dec/22 Resolved: 01/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Xiangyu Yao (Inactive) | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 11 | ||||||||||||
| Description |
|
We switch the collection lock from X mode to IX mode here. We should re-assign the record store pointer in case a renameCollection happens during the lock switch. |
| Comments |
| Comment by Xiangyu Yao (Inactive) [ 01/Aug/19 ] |
|
gregorywlodarek@gmail.com notified me that it's already been fixed. |