- summary Release Notes for Release 1.4.2
Date: 2009-10-11 Sun
Download Link:
http://memcached.googlecode.com/files/memcached-1.4.2.tar.gz
This is a maintenance release consisting primarily of bug fixes.
* Reject keys larger than 250 bytes in the binary protocol (bug94) * Bounds checking on stats cachedump (bug92) * Binary protocol set+cas wasn't returning a new cas ID (bug87)
* Binary quitq didn't actually close the connection (bug84) * Build fix on CentOS 5 (bug88) * Slab boundary checking cleanup (bad logic in unreachable code) * Removed some internal redundancies. * Use the OS's provided htonll/ntohll if present (bug83) * Test fixes/cleanup/additions. * Get hit memory optimizations (bug89) * Disallow -t options that cause the server to not work (bug91) * memcached -vv now shows the final slab * Killed off incomplete slab rebalance feature. * Better warnings. * More consistent verbosity in binary and ascii (bug93)
From http://libhugetlbfs.ozlabs.org/ -
libhugetlbfs is a library which provides easy access to huge pages of memory. It is a wrapper for the hugetlbfs file system.
If you are running memcached with a very large heap in Linux, this change will make it available to you. The hugetlbfs HOWTO provides detailed information on how to configure your Linux system and provide advice to applications (such as memcached) to make use of it.
memcached-tool is a commandline tool to display information about your server. It displays more now.
Many people have asked for memcached to be able to store items larger than 1MB, while it's generally recommended that one _not_ do this, it is now supported on the commandline.
A few enlightened folk have also asked for memcached to reduce the maximum item size. That is also an option.
The new -I parameter allows you to specify the maximum item size at runtime. It supports a unit postfix to allow for natural expression of item size.
Examples:
The evicted_nonzero stat is a counter of all of the evictions for items that had an expiration time greater than zero.
This can be used to help distinguish "healthy" evictions from "unhealthy" ones. If all of your evictions are for objects with no expiration, then they're naturally falling off the LRU as opposed to being evicted before their maximum expiry that was set at item store time.
memcached ships with a binary protocol header that can be used when implementing your own protocol parsers and generators. The structure definitions and opcodes for the range specification are included in this header.
Note that the server _does not_ support these operations.
The following people contributed to this release since 1.4.1.
Note that this is based on who contributed changes, not how they were done. In many cases, a code snippet on the mailing list or a bug report ended up as a commit with your name on it.
Note that this is just a summary of how many changes each person made which doesn't necessarily reflect how significant each change was. For details on what led up into a branch, either grab the git repo and look at the output of `git log 1.4.1..1.4.2` or use a web view.
* Repo list: http://code.google.com/p/memcached/wiki/DevelopmentRepos * Web View: http://github.com/memcached/memcached/commits/1.4.2