summaryrefslogtreecommitdiff
path: root/scripts/memcached-automove
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/memcached-automove')
-rwxr-xr-xscripts/memcached-automove2
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