Scheduled Maintenance: over the next few days, we will update Jira to a newer version.

If you don't know Jira 4.x yet, you might be a little surprised by the UI changes ... :)

Issue Details (XML | Word | Printable)

Key: MAGNOLIA-2616
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jan Haderka
Reporter: Jan Haderka
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Magnolia

Provide a method to flush page based on UUID and repository information from the cache

Created: 11/Feb/09 01:59 PM   Updated: 12/Jun/09 02:49 PM
Component/s: cache
Affects Version/s: 4.0
Fix Version/s: 4.1

Time Tracking:
Not Specified

Issue Links:
dependency
 
relation

Labels:
Resolution Date: 07/May/09 11:44 AM
Date of First Response: 11/Feb/09 02:10 PM


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Hudson CI server added a comment - 11/Feb/09 02:10 PM
Integrated in magnolia_main-trunk #686
, MGNLFORUM-74 Added method to flush single page from cache.

Jan Haderka added a comment - 11/Feb/09 02:11 PM
Done as of r22382.

Jan Haderka added a comment - 11/Feb/09 03:14 PM
Fix only after 4.0 release.

Hudson CI server added a comment - 11/Feb/09 03:15 PM
Integrated in magnolia_main-trunk #687
, MGNLFORUM-74 Reverted changes until 4.0 release.

Hudson CI server added a comment - 16/Mar/09 01:39 PM
Integrated in magnolia_main-trunk #746
, MGNLFORUM-74 Added method to flush single page from cache, based on the knowledge of cache key.

Hudson CI server added a comment - 16/Mar/09 05:01 PM
Integrated in magnolia-module-forum #88
, MGNLFORUM-74 Flush page with comments from the cache when new comment is added. Needs to be improved not to depend directly on the way in which cache keys are generated.

Jan Haderka added a comment - 16/Mar/09 05:05 PM
Done as of r23603.

Grégory Joseph added a comment - 16/Mar/09 05:28 PM - edited
This is not resolved until invoking code "guesses" the key instead of getting it from the appropriate cache policy instance.

Hudson CI server added a comment - 23/Mar/09 05:06 PM
Integrated in magnolia_main-trunk-java6 #6
, MGNLFORUM-74 Added method to flush single page from cache, based on the knowledge of cache key.

Hudson CI server added a comment - 29/Apr/09 09:34 PM
Integrated in magnolia_main-trunk #796
Added API for obtaining cache entry key based on content UUID (if possible) and removed unnecessary (and incorrect) method removing content from cache directly.

Grégory Joseph added a comment - 30/Apr/09 06:59 PM
I believe the fix version here is wrong since the latest changes were committed on the trunk

Hudson CI server added a comment - 07/May/09 11:34 AM
Integrated in magnolia_main-trunk #805
  • Added support for multiple flush policies.
  • Provided method for client flush policies implementation to ask for flushing page based on UUID and repo info without having to know the details of if/how/where the page with given uuid is cached.
  • Updated workspace registration task to register workspaces for flushing in new configuration properly.
  • updated cache configuration and moved overlapping files used for updates to separate folder.

Jan Haderka added a comment - 07/May/09 11:44 AM
The flush policies have been extended to allow for having multiple policies registered and to allow client code to hook in and ask cache to flush isolated change without having to know all the internal details of cache working.
Done as of r24820.