Details
-
Technical task
-
Status: Resolved
-
Major
-
Resolution: Won't Do
-
None
-
None
-
None
Description
The cache internally invalidates documents by setting the lastCheckTime to 0. When a document like that is returned from the cache, it needs to be rechecked in the persistence. This currently happens for find(), but not for getIfCached() or internal methods such as readDocumentCached(). This may cause unneeded JDBC roundtrips when a document like that indeed changed in the meantime and needs to be updated in the database.