MantisBT - Piwigo
View Issue Details
0002534Piwigousers & groupspublic2011.12.16 14:502011.12.16 14:55
plg 
plg 
normalminoralways
closedfixed 
2.3.1 
2.3.22.3.2 
any
Apache 1.3.x
0002534: incorrect number of photos for an album (user cache related issue)
When you delete photos from an album using the Batch Manager, then, as admin, you don't see the correct number of photos in the album on gallery side.

This is due to incorrect user cache refresh. The cache is refreshed to soon. The cache is refreshed to avoid simultaneous refresh on the cache when regenerating thumbnails in the Batch Manager, see [Subversion] r10454. Unfortunately it has brought this minor bug.

The only solution I see is to correctly handle the concurrency on cache refresh. MySQL+MyISAM doesn't handle transactionss, so we have to "do it another way".
http://piwigo.org/forum/viewtopic.php?id=18523 [^]
No tags attached.
Issue History
2011.12.16 14:50plgNew Issue
2011.12.16 14:50plgStatusnew => assigned
2011.12.16 14:50plgAssigned To => plg
2011.12.16 14:50plgbrowser => any
2011.12.16 14:50plgWeb server => Apache 1.3.x
2011.12.16 14:50plgSummaryincorrect number of photos for an album => incorrect number of photos for an album (user cache related issue)
2011.12.16 14:52svnCheckin
2011.12.16 14:52svnNote Added: 0005853
2011.12.16 14:53svnCheckin
2011.12.16 14:53svnNote Added: 0005854
2011.12.16 14:55plgAdditional Information Updated
2011.12.16 14:55plgStatusassigned => closed
2011.12.16 14:55plgResolutionopen => fixed
2011.12.16 14:55plgFixed in Version => 2.3.2

Notes
(0005853)
svn   
2011.12.16 14:52   
[Subversion] r12747 by plg on branch 2.3

-----[Subversion commit log]----------------------------------------------------
bug 2534 fixed: clean (as clean as possible with MySQL+MyISAM) handle of
concurrency on user cache refresh. No more error when regenerating several
thumbnails at once.
(0005854)
svn   
2011.12.16 14:53   
[Subversion] r12748 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r12747 from branch 2.3 to trunk

bug 2534 fixed: clean (as clean as possible with MySQL+MyISAM) handle of
concurrency on user cache refresh. No more error when regenerating several
thumbnails at once.