~brianaker/memcached/1.4

Viewing all changes in revision 1375.

  • Committer: dormando
  • Date: 2018-02-12 22:27:34 UTC
  • Revision ID: git-v1:37bfa412de11c4a69e7fca0a88fd2759958647b2
limit crawls for metadumper

LRU crawler metadumper is used for getting snapshot-y looks at the LRU's.
Since there's no default limit, it'll get any new items added or bumped since
the roll started.

with this change it limits the number of items dumped to the number that
existed in that LRU when the roll was kicked off. You still end up with an
approximation, but not a terrible one:

- items bumped after the crawler passes them likely won't be revisited
- items bumped before the crawler passes them will likely be visited toward
  the end, or mixed with new items.
- deletes are somewhere in the middle.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: