[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:
Depends
Duplicate
duplicates SERVER-42503 compactCollection() should refetch th... Closed
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.

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