stats cachedump requests illegal slab size
Bug #434495 reported by
Trond Norbye
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Released
|
Low
|
Trond Norbye |
Bug Description
memcached_dump tries to dump all of the caches all the way up to slabclass 256, but a recent fix in the server limits the number of slots to 200 causing the server to return SERVER_ERROR.
To fix this properly we should change the client and the server. The server should return CLIENT_ERROR instead of SERVER_ERROR when the client requests a value that's outside the legal range, and the client should stop processing when it receives that message.
Related branches
lp:~trond-norbye/libmemcached/bug_434484
- Libmemcached-developers: Pending requested
- Diff: None lines
To post a comment you must log in.
A quick fix right now would be to ignore SERVER_ERROR and CLIENT_ERROR. I don't like to mask out SERVER_ERROR right now, but the problem is that we need to support the servers out there for a while...