Issue Details (XML | Word | Printable)

Key: NUCCORE-617
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Evict entries from query result cache when candidate class objects updated

Created: 20/Dec/10 11:55 AM   Updated: 01/Aug/11 10:23 AM   Resolved: 15/Jun/11 10:25 AM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 3.0.0.m6


 Description  « Hide
When we have the query result cache enabled, and objects of the candidate type are either persisted or updated then we should evict those query results from the query result cache to limit the chance of stale data

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 15/Jun/11 10:25 AM
SVN trunk now does a check during flush and, when there is a query results cache, evicts any query results for the candidates being flushed to avoid the risk of returning stale data