summaryrefslogtreecommitdiff
path: root/t/stats.t
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2015-01-07 01:37:41 -0800
committerdormando <dormando@rydia.net>2015-01-07 01:37:41 -0800
commitd9edfefd480e6e399ea28ad8da9062f97fbca62b (patch)
tree2f82fdf85957e02bf6b48962bebb41168973b325 /t/stats.t
parent62415f16e9f77aa1d9dad9eee81e21db3ef2172e (diff)
downloadmemcached-d9edfefd480e6e399ea28ad8da9062f97fbca62b.tar.gz
compat mode.
Enabling the new LRU routine requires starting with `-o lru_maintainer`. This makes almost all of the tests pass, except refhang.t. Will need new tests for the LRU maintainer. So far as I can tell it's still handling the refhang scenario, but in a more natural way. Instead of flipping the items back to the top of the list, it's unlinking them from the hash table and LRU. This completely removes them from the problem, but it doesn't retry as many times to get them out of the way. A system with many stuck items next to each other could do a handful of OOM's before clearing the backlog, but it won't keep running into them. The test appears flaky even in 1.4.22; running with -vv causes it to fail in a funny way.
Diffstat (limited to 't/stats.t')
-rwxr-xr-xt/stats.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/stats.t b/t/stats.t
index 5a6b850..7f805f5 100755
--- a/t/stats.t
+++ b/t/stats.t
@@ -63,6 +63,7 @@ my $sock = $server->sock;
## STAT reclaimed 0
## STAT crawler_reclaimed 0
## STAT lrutail_reflocked 0
+## see doc/protocol.txt for others
# note that auth stats are tested in auth specfic tests