[wp-trac] [WordPress Trac] #20316: Garbage collect transients
WordPress Trac
noreply at wordpress.org
Thu Sep 26 15:57:06 UTC 2013
#20316: Garbage collect transients
----------------------------+------------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.7
Component: Database | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+------------------
Comment (by knutsp):
Unexpiring transients, that happens to be stored in the database, may be
garbage collected every few minutes. When stored in memory, plugin authors
have absolutely no guarantee they will be there when retrieved, some those
plugins/sites are broken by their own nature.
Garbage collecting expired transients should run often. On DB upgrades all
transients should be flusehd, just like a cache flush may happen whenever
reasonable to regain storage space, in memory or on disk.
The point that upgrades should not be blamed, rightfully or not, for
breaking things, or adding weight to things already broken, is though a
valid concern. But if that is important, then core should let this be
plugin territory for now. Either you dare or you don't. Only doing expired
transients is to have chickened out, at least for 3.7. Punt. Issue a
warning in the release, that 3.8 will do it, brutally.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20316#comment:56>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list