diff options
author | dormando <dormando@rydia.net> | 2017-06-04 11:59:13 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-06-04 11:59:13 -0700 |
commit | 9d32ffb17947c5c511db24fa354631c04efc6d1b (patch) | |
tree | 4f67bcba739a8b4593b483965fadb30b4e9adb24 /scripts | |
parent | f600354e830b18b0d67a0fa275a846e11e47811f (diff) | |
download | memcached-9d32ffb17947c5c511db24fa354631c04efc6d1b.tar.gz |
memcached-automove script fix
reported by hobbs. my python is so bad :(
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/memcached-automove | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/memcached-automove b/scripts/memcached-automove index 98ba6dc..95d6812 100755 --- a/scripts/memcached-automove +++ b/scripts/memcached-automove @@ -58,7 +58,7 @@ def determine_move(history, diffs, totals): decision = (-1, -1) for sid, slab in diffs.items(): w[sid] = {} - if 'evicted_d' not in slab: + if 'evicted_d' not in slab or 'total_pages_d' not in slab: continue # mark this window as dirty if total pages increases or evictions # happened |