Binary package hint: memcached
* Ubuntu release.
Description: Ubuntu 10.04 LTS Release: 10.04
* How to reproduce the bug?
Send several large multiget requests to a Ubuntu 1.4.2 Memcached server, and you'll notice that some of them will break, and other will return only a subset of the requested keys. You can use the following PHP test code:
$m = new Memcached(); $m->addServer('localhost', 11211); $keys = array(); for ($i=0; $i<50000; $i++) { $key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx::foo::' . $i; $keys[] = $key; } $result = $m->getMulti($keys, $cas); var_dump($result, $cas); var_dump($m->getResultCode());
* How to fix de bug?
Rebuilding the server without the fix-issue-102-segfault & fix-ubuntu-ftbfs patches fixes that bug for us.
Binary package hint: memcached
* Ubuntu release.
Description: Ubuntu 10.04 LTS
Release: 10.04
* How to reproduce the bug?
Send several large multiget requests to a Ubuntu 1.4.2 Memcached server, and you'll notice that some of them will break, and other will return only a subset of the requested keys. You can use the following PHP test code:
$m = new Memcached(); 'localhost' , 11211); xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxx: :foo::' . $i; $m->getResultCo de());
$m->addServer(
$keys = array();
for ($i=0; $i<50000; $i++) {
$key = 'xxxxxxxxxxxxxx
$keys[] = $key;
}
$result = $m->getMulti($keys, $cas);
var_dump($result, $cas);
var_dump(
* How to fix de bug?
Rebuilding the server without the fix-issue- 102-segfault & fix-ubuntu-ftbfs patches fixes that bug for us.