diff options
author | dormando <dormando@rydia.net> | 2015-01-07 01:37:41 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2015-01-07 01:37:41 -0800 |
commit | d9edfefd480e6e399ea28ad8da9062f97fbca62b (patch) | |
tree | 2f82fdf85957e02bf6b48962bebb41168973b325 /t/stats.t | |
parent | 62415f16e9f77aa1d9dad9eee81e21db3ef2172e (diff) | |
download | memcached-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-x | t/stats.t | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |