-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Execution
The collection validate cmd must run mutually exclusively with taking WT checkpoints. This requires a mutex being taken in the WT engine implementation code, as well as at the MongoDB command level.
SERVER-42221 will add such a mutex, by putting it in the StorageEngineImpl class and creating a factory class to return a ExclusiveLock on the mutex through the StorageEngine interface.
However, the more ideal solution appears to be to elevate the checkpoint concept into the StorageEngine interface such that we can cover checkpoint by locking a mutex around a StorageEngine call. Then we would not have a mutex trying providing service across many abstraction layers.
- depends on
-
SERVER-29418 Create a storage-engine agnostic checkpointing thread
- Closed
- related to
-
SERVER-42221 Add concurrency control to checkpoint requests and expose it to the validation code layer
- Closed