-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Cache and Eviction, RTS
-
Storage Engines
-
5
-
StorEng - 2024-10-15
-
v8.0, v7.0
During RTS, updates might be evicted which would update the btree->rec_max_timestamp field, see here. If this is set to a greater value than the stable checkpoint ts, the RTS checkpoint will mark the btree dirty.
As soon as a btree is dirty, this can block operations such as dropping the dhandle. The btree needs to be marked as clean before its dhandle can be dropped. While this could be resolved with a checkpoint, there are cases in MongoDB where the checkpoint thread is stopped and the btree has to be dropped before the checkpoint thread is resumed.