"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/protocol.txt" between
memcached-1.6.8.tar.gz and memcached-1.6.9.tar.gz

About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.

protocol.txt  (memcached-1.6.8):protocol.txt  (memcached-1.6.9)
skipping to change at line 1070 skipping to change at line 1070
them. them.
The response line could be one of: The response line could be one of:
- "OK" to indicate successful launch. - "OK" to indicate successful launch.
- "BUSY [message]" to indicate the crawler is already processing a request. - "BUSY [message]" to indicate the crawler is already processing a request.
- "BADCLASS [message]" to indicate an invalid class was specified. - "BADCLASS [message]" to indicate an invalid class was specified.
lru_crawler metadump <classid,classid,classid|all> lru_crawler metadump <classid,classid,classid|all|hash>
- Similar in function to the above "lru_crawler crawl" command, this function - 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. 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 Similar to "cachedump", but does not lock the cache and can return all
items, not just 1MB worth. items, not just 1MB worth.
if "hash" is specified instead of a classid or "all", the crawler will dump
items by directly walking the hash table instead of the LRU's. This makes it
more likely all items will be visited once as LRU reordering and locking can
cause frequently accessed items to be missed.
Lines are in "key=value key2=value2" format, with value being URI encoded Lines are in "key=value key2=value2" format, with value being URI encoded
(ie: %20 for a space). (ie: %20 for a space).
The exact keys available are subject to change, but will include at least: The exact keys available are subject to change, but will include at least:
"key", "exp" (expiration time), "la", (last access time), "cas", "key", "exp" (expiration time), "la", (last access time), "cas",
"fetch" (if item has been fetched before). "fetch" (if item has been fetched before).
The response line could be one of: The response line could be one of:
skipping to change at line 1308 skipping to change at line 1313
| slab_reassign_busy_items | | slab_reassign_busy_items |
| | 64u | Items busy during page move, requiring a | | | 64u | Items busy during page move, requiring a |
| | | retry before page can be moved. | | | | retry before page can be moved. |
| slab_reassign_busy_deletes | | slab_reassign_busy_deletes |
| | 64u | Items busy during page move, requiring | | | 64u | Items busy during page move, requiring |
| | | deletion before page can be moved. | | | | deletion before page can be moved. |
| log_worker_dropped | 64u | Logs a worker never wrote due to full buf | | log_worker_dropped | 64u | Logs a worker never wrote due to full buf |
| log_worker_written | 64u | Logs written by a worker, to be picked up | | log_worker_written | 64u | Logs written by a worker, to be picked up |
| log_watcher_skipped | 64u | Logs not sent to slow watchers. | | log_watcher_skipped | 64u | Logs not sent to slow watchers. |
| log_watcher_sent | 64u | Logs written to watchers. | | log_watcher_sent | 64u | Logs written to watchers. |
| unexected_napi_ids | 64u | Number of times an unexpected napi id is |
| | | is received. See doc/napi_ids.txt |
| round_robin_fallback | 64u | Number of times napi id of 0 is received |
| | | resulting in fallback to round robin |
| | | thread selection. See doc/napi_ids.txt |
|-----------------------+---------+-------------------------------------------| |-----------------------+---------+-------------------------------------------|
Settings statistics Settings statistics
------------------- -------------------
CAVEAT: This section describes statistics which are subject to change in the CAVEAT: This section describes statistics which are subject to change in the
future. future.
The "stats" command with the argument of "settings" returns details of The "stats" command with the argument of "settings" returns details of
the settings of the running memcached. This is primarily made up of the settings of the running memcached. This is primarily made up of
the results of processing commandline options. the results of processing commandline options.
skipping to change at line 1382 skipping to change at line 1392
| | | per active watcher connected. | | | | per active watcher connected. |
| worker_logbuf_size| 32u | Size of internal per-worker-thread buffer | | worker_logbuf_size| 32u | Size of internal per-worker-thread buffer |
| | | which the background thread reads from. | | | | which the background thread reads from. |
| read_obj_mem_limit| 32u | Megabyte limit for conn. read/resp buffers. | | read_obj_mem_limit| 32u | Megabyte limit for conn. read/resp buffers. |
| track_sizes | bool | If yes, a "stats sizes" histogram is being | | track_sizes | bool | If yes, a "stats sizes" histogram is being |
| | | dynamically tracked. | | | | dynamically tracked. |
| inline_ascii_response | | inline_ascii_response |
| | bool | Does nothing as of 1.5.15 | | | bool | Does nothing as of 1.5.15 |
| drop_privileges | bool | If yes, and available, drop unused syscalls | | drop_privileges | bool | If yes, and available, drop unused syscalls |
| | | (see seccomp on Linux, pledge on OpenBSD) | | | | (see seccomp on Linux, pledge on OpenBSD) |
| memory_file | char | Warm restart memory file path, if enabled |
|-------------------+----------+----------------------------------------------| |-------------------+----------+----------------------------------------------|
Item statistics Item statistics
--------------- ---------------
CAVEAT: This section describes statistics which are subject to change in the CAVEAT: This section describes statistics which are subject to change in the
future. future.
The "stats" command with the argument of "items" returns information about The "stats" command with the argument of "items" returns information about
item storage per slab class. The data is returned in the format: item storage per slab class. The data is returned in the format:
skipping to change at line 1678 skipping to change at line 1689
"cache_memlimit" is a command with a numeric argument. This allows runtime "cache_memlimit" is a command with a numeric argument. This allows runtime
adjustments of the cache memory limit. It returns "OK\r\n" or an error (unless adjustments of the cache memory limit. It returns "OK\r\n" or an error (unless
"noreply" is given as the last parameter). If the new memory limit is higher "noreply" is given as the last parameter). If the new memory limit is higher
than the old one, the server may start requesting more memory from the OS. If than the old one, the server may start requesting more memory from the OS. If
the limit is lower, and slabs_reassign+automove are enabled, free memory may the limit is lower, and slabs_reassign+automove are enabled, free memory may
be released back to the OS asynchronously. be released back to the OS asynchronously.
The argument is in megabytes, not bytes. Input gets multiplied out into The argument is in megabytes, not bytes. Input gets multiplied out into
megabytes internally. megabytes internally.
"shutdown" is a command with an optional argument used to stop memcached with
a kill signal. By default, "shutdown" alone raises SIGINT, though "graceful"
may be specified as the single argument to instead trigger a graceful shutdown
with SIGUSR1. The shutdown command is disabled by default, and can be enabled
with the -A/--enable-shutdown flag.
"version" is a command with no arguments: "version" is a command with no arguments:
version\r\n version\r\n
In response, the server sends In response, the server sends
"VERSION <version>\r\n", where <version> is the version string for the "VERSION <version>\r\n", where <version> is the version string for the
server. server.
"verbosity" is a command with a numeric argument. It always succeeds, "verbosity" is a command with a numeric argument. It always succeeds,
 End of changes. 5 change blocks. 
1 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)