flush() bug in 1.1.12 or PECL extension

Robert Douglass rob at robshouse.net
Wed Jan 10 17:00:33 UTC 2007


I'm not sure how the development process for this project works, nor am 
I sure whether this is a memcached or a PECL memcache bug, but I don't 
know where else to report, so here it is =)

Using these versions:

PHP 5.1.2
Apache 2.0
PECL memcache 2.1.0
memcached 1.1.12
Ubuntu Dapper Drake

The following code doesn't work:

$mc = new Memcache;
$mc->addServer('localhost', 11211, TRUE);
$mc->set('test', 'hi rob');
print $mc->get('test'); // works

// this breaks things

print $mc->get('test'); // nothing here

// this doesn't work!
$mc->set('test', 'hi rob 2');
print $mc->get('test'); // nothing here as well!

Upgrading to memcached 1.2.1 eliminated the problem. I haven't tested 


Robert Douglass

More information about the memcached mailing list