php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58944 read-through cache callbacks expiry
Submitted: 2009-11-11 04:39 UTC Modified: 2021-06-09 11:21 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: anzenews at volja dot net Assigned: cmb (profile)
Status: Closed Package: memcached (PECL)
PHP Version: 5.2.6 OS: Debian linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: anzenews at volja dot net
New email:
PHP Version: OS:

 

 [2009-11-11 04:39 UTC] anzenews at volja dot net
Description:
------------
See first comment on:
http://www.php.net/manual/en/memcached.callbacks.read-through.php

"The expiry on read-through cache set values is set to 0, or forever.  This means if you want your key to implicitly expire, don't use the callback methods, instead check for boolean false as a return and manually set the value, at least for now."

I think this functionality is a must-have (if memcache protocol allows for it). If not then documentation should be updated to reflect it. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-09 11:21 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-09 11:21 UTC] cmb@php.net
The memcached bug tracker is now on Github[1].  If this is still
an issue with the current memcached version, please report there.

[1] <https://github.com/php-memcached-dev/php-memcached/issues>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC