-
Type: Task
-
Resolution: Done
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
While looking at WT-1068, one thing I noticed is that the eviction server thread can get "stuck" in eviction (particularly splits), and that other threads stall. This branch attempts to address that in two ways:
1. if other threads are waiting to do eviction, the server thread just wakes them up and keeps scanning for more pages to add to the queue; and
2. an idea of Keith's: application threads only get involved with eviction when their session is quiet if they have missed in the cache recently while it was full.
For me, this branch helps quite a lot with the workload from WT-1068 (separately or together with WT-1082).