[SERVER-17020] Evictions by eviction server threads are reported as evictions by application threads Created: 23/Jan/15  Updated: 28/Jan/15  Resolved: 27/Jan/15

Status: Closed
Project: Core Server
Component/s: Storage, WiredTiger
Affects Version/s: 2.8.0-rc5
Fix Version/s: 3.0.0-rc7

Type: Bug Priority: Minor - P4
Reporter: Bruce Lucas (Inactive) Assignee: Keith Bostic (Inactive)
Resolution: Done Votes: 0
Labels: wiredtiger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-17035 fix text for "pages evicted by applic... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

__evict_worker calls __evict_lru_pages with is_app==1, so evictions by eviction server threads are reported under the "pages evicted by application threads" statistic.



 Comments   
Comment by Keith Bostic (Inactive) [ 27/Jan/15 ]

All changes merged into the WiredTiger RC7 branch, resolving.

Comment by Keith Bostic (Inactive) [ 26/Jan/15 ]

I went another way in my suggested patch #1596, I don't see value in counting the function calls, so I shuffled the code so the counters aren't incremented until after we have a page that we're going to try and evict.

I did add another counter so we count the eviction attempts by application threads, vs. eviction worker threads, vs. the eviction server itself.

All that said, I haven't been the primary debugger of WiredTiger eviction problems historically, so I'm going to defer to others as to which statistics are the most useful.

Comment by Mark Callaghan [ 26/Jan/15 ]

From looking at the code quickly, call doesn't imply eviction. Are two counters needed? One for calls and another for calls that do an eviction?

Generated at Thu Feb 08 03:43:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.