-
Type:
Bug
-
Status: Done
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.19-12, 4.2.7-7, 3.6.18-6.0
-
Component/s: None
-
Labels:None
-
Needs Review:Yes
In __evict_walk, the dhandle session_inuse counter is increased and decreased to walk the tree but in case of errors, the code jumps over the code that decreases the counter and basically leaves the dhandle as in-use so it never gets deleted during sweeps.
This patch adds a fix to decrease the counter even in case of errors when the config dh_evict_walk_leak_fix is enabled.