Skip to content

Commit

Permalink
Fixing Evictions Stats Key Collision
Browse files Browse the repository at this point in the history
  • Loading branch information
mhwest13 committed Feb 24, 2012
1 parent 503c2a0 commit 281bd58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/memcached/memcached_multi_
Expand Up @@ -810,6 +810,9 @@ sub fetch_stats {
while (my $line = <$s>) {
if ($line =~ /STAT\s(.+?)\s(.*)/) {
my ($skey,$svalue) = ($1,$2);
if ($skey eq 'evictions') {
$skey = 'evictions_active';
}
$stats{$skey} = $svalue;
}
last if $line =~ /^END/;
Expand Down

0 comments on commit 281bd58

Please sign in to comment.