diff options
author | dormando <dormando@rydia.net> | 2016-08-11 13:14:03 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2016-08-19 17:34:55 -0700 |
commit | c00dbc3927af71afb8c46c7416bd53a92fecfdb2 (patch) | |
tree | 659cd871f65fe7857309693e79e763499677b154 | |
parent | a45d24d16904086dd40836b5083a6e8b83f8ab5f (diff) | |
download | memcached-1.4.31.tar.gz |
document new metadump command.1.4.31
-rw-r--r-- | doc/protocol.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt index 7439537..3021d59 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -468,6 +468,29 @@ The response line could be one of: - "BADCLASS [message]" to indicate an invalid class was specified. +lru_crawler metadump <classid,classid,classid|all> + +- Similar in function to the above "lru_crawler crawl" command, this function + outputs one line for every valid item found in the matching slab classes. + Similar to "cachedump", but does not lock the cache and can return all + items, not just 1MB worth. + + Lines are in "key=value key2=value2" format, with value being URI encoded + (ie: %20 for a space). + + The exact keys available are subject to change, but will include at least: + + "key", "exp" (expiration time), "la", (last access time), "cas", + "fetch" (if item has been fetched before). + +The response line could be one of: + +- "OK" to indicate successful launch. + +- "BUSY [message]" to indicate the crawler is already processing a request. + +- "BADCLASS [message]" to indicate an invalid class was specified. + Watchers -------- |