note 98831 deleted from memcache.delete by danbrown
| From: | danbrown@php.net | Date: | Fri, 09 Jul 2010 17:31:55 +0000 |
| Subject: | note 98831 deleted from memcache.delete by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-170845@lists.php.net to get a copy of this message | ||
Note Submitter: Bill Getas
----
2010-07-10
"The most glaring one is the delete() function. It takes a second parameter that is documented
as: "the item will expire after timeout seconds". In fact that was never a feature of
memcached. It was completely misunderstood by the original extension authors. When that parameter
was supported, it locked the key for timeout seconds and would not allow a new add operation on that
key. Second, this feature was completely removed in memcached 1.4.0. So, if you send a timeout to
the delete function, you simply get a failure. This is creating a huge support issue in the
memcached community (not the PHP/PECL community) with people not being able to delete keys because
of bad documentation and unsupported behavior."
Apparently, the memecached API is messed up, too.
http://brian.moonspot.net/php-memcached-issues