Skip to content

Commit

Permalink
evicted_active was inverted
Browse files Browse the repository at this point in the history
  • Loading branch information
dormando committed Dec 31, 2016
1 parent eaa184d commit 9fd20cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion items.c
Expand Up @@ -956,7 +956,7 @@ static int lru_pull_tail(const int orig_id, const int cur_lru,
if ((search->it_flags & ITEM_FETCHED) == 0) {
itemstats[id].evicted_unfetched++;
}
if ((search->it_flags & ITEM_ACTIVE) == 0) {
if ((search->it_flags & ITEM_ACTIVE)) {
itemstats[id].evicted_active++;
}
LOGGER_LOG(NULL, LOG_EVICTIONS, LOGGER_EVICTION, search);
Expand Down

0 comments on commit 9fd20cb

Please sign in to comment.