Commits on Jan 8, 2017
  1. typo fixes

    submitted by richlv on github
    dormando committed Jan 8, 2017
  2. add `-o modern` switches to -h

    hopefully remembering to update it :P
    dormando committed Jan 8, 2017
  3. metadump: Fix preventing dumping of class 63

    Off by one :|
    dormando committed Jan 8, 2017
  4. fix cache_memlimit bug for > 4G values

    The argument to *_adjust was size_t, but the input value being multiplied from
    was a uint, so this does the appropriate cast.
    dormando committed Jan 8, 2017
Commits on Jan 6, 2017
  1. metadump: ensure buffer is flushed before finish

    if more than one write/poll() worth of data is in the bipbuf but the crawl is
    complete, the client might get released back with an incomplete write.
    dormando committed Jan 6, 2017
Commits on Jan 5, 2017
  1. log class id with fetchers and mutations

    you can now cross-reference slab classes of evicted prefixes with misses
    dormando committed Jan 2, 2017
  2. fix store log and add ttl

    the TTL is relative so you won't see the exact TTL on entry. Also fixes two
    off-by-one's for the status values.
    dormando committed Dec 30, 2016
Commits on Dec 31, 2016
  1. tune crawler logger, fix crawler watermark

    should be looking for 1% of potential reclaims, not 1% of all the items it
    saw. Otherwise could be wedged into doing nothing.
    dormando committed Dec 30, 2016
  2. add logging endpoint for LRU crawler

    for the internal checker, primarily.
    dormando committed Dec 28, 2016
  3. evicted_active was inverted

    dormando committed Dec 31, 2016
Commits on Dec 30, 2016
  1. evicted_active counter for LRU maintainer

    useful to know if items are being evicted that would have been flipped to
    dormando committed Dec 30, 2016
Commits on Dec 27, 2016
  1. stop pushing NULl byte into watcher stream

    also fixes logger L_DEBUG prints.
    dormando committed Dec 27, 2016
Commits on Dec 20, 2016
  1. bump for binary.t test count

    need to fix this thing a bit smarter..
    dormando committed Dec 20, 2016
  2. scale item hash lock with more worker threads

    the thread scalability is much higher than when the bucket count was tested.
    Increasing this has a relatively small effect, but still worth adjusting.
    More strict testing should be done to more properly scale the table; as well
    ad adjusting for false-sharing issues given table entries that border each
    dormando committed Dec 20, 2016
Commits on Dec 19, 2016
  1. Further increase systemd service hardening

    Disable use of namespaces, control groups, addresses families that aren't used, kernel module loading, and setting of kernel tunables.
    candrews committed with dormando Dec 10, 2016
  2. fix print format for idle timeout thread

    edited fprintf to use %ul instead of %d
    NRWB committed with dormando Oct 17, 2016
  3. improve binary sasl security fixes

    Would return errors on empty or minimal password requests.
    Also potential overflows if you send the second SASL packet with longer item
    data than initally requested.
    Passes tests, but the tests might not have good enough coverage.
    dormando committed Dec 19, 2016
  4. fix clang compile error

    nkey can't be negative here because it's a size_t (though this should probably
    be a more explicit type).
    dormando committed Dec 19, 2016
  5. widen systemd caps to allow maxconns to increase

    the parent process is the only one using that capability, once privileges are
    dropped it's gone anyway. This prevents raising the connection limit from
    dormando committed Dec 19, 2016
  6. Add -X option to disable cachedump/metadump

    In case you're worried about leaking cache contents.
    dormando committed Dec 19, 2016
  7. vague SASL updates

    dormando committed Dec 19, 2016
Commits on Dec 16, 2016
  1. don't double free in lru_crawler on closed clients

    during finalization, a poll and deliberate close are run. if a client is
    closed during the poll it might double free.
    dormando committed Dec 16, 2016
  2. fix segfault if metadump client goes away

    missing else branch caused the first slab class to hit a closed client to
    terminate, but didn't kill the run and the next slab class would try to print
    to the missing client.
    dormando committed Dec 16, 2016
Commits on Oct 12, 2016
  1. CVE reported by cisco talos

    dormando committed Oct 12, 2016
  2. use slab_sizes_unparsed instead of subopts_value

    they're the same but this is more explicit. reported by danial-cao on github.
    dormando committed Oct 12, 2016
  3. typo fix in -h's -o modern note.

    from adamchainz on github.
    dormando committed Oct 12, 2016
  4. Update old ChangeLog note to visit Github wiki

    Google Code wiki link is a 404!
    adamchainz committed with dormando Aug 23, 2016
Commits on Sep 7, 2016
  1. fix OOM errors with newer LRU

    with large item support, we switched from tracking the number of chunks each
    sub-LRU had to the amount of bytes. This was undercounting the bytes by
    skipping the header, which could matter enough for the smaller slab classes to
    allow LRU_HOT to envelop COLD, preventing evictions from happening.
    This wasn't made too obvious by the fact that causing this requires an
    (unusually?) even slab page distribution.
    dormando committed Sep 7, 2016
Commits on Aug 20, 2016
  1. document new metadump command.

    dormando committed Aug 11, 2016
  2. pull LRU crawler out into its own file.

    ~600 lines gone from items.c makes it a lot more manageable.
    this change is almost purely moving code around and renaming functions. very
    little logic has changed.
    dormando committed Aug 10, 2016