note 98831 added to memcache.delete
| From: | BillGetas at osu1 dot php dot net | Date: | Fri, 09 Jul 2010 17:26:18 +0000 |
| Subject: | note 98831 added to memcache.delete | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170844@lists.php.net to get a copy of this message | ||
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
----
Server IP: 64.71.164.2
Probable Submitter: 70.91.82.193
----
Manual Page -- http://www.php.net/manual/en/memcache.delete.php
Edit -- https://master.php.net/note/edit/98831
Del: integrated -- https://master.php.net/note/delete/98831/integrated
Del: useless -- https://master.php.net/note/delete/98831/useless
Del: bad code -- https://master.php.net/note/delete/98831/bad+code
Del: spam -- https://master.php.net/note/delete/98831/spam
Del: non-english -- https://master.php.net/note/delete/98831/non-english
Del: in docs -- https://master.php.net/note/delete/98831/in+docs
Del: other reasons-- https://master.php.net/note/delete/98831
Reject -- https://master.php.net/note/reject/98831
Search -- https://master.php.net/manage/user-notes.php