-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Second level cache and query caching
PostPosted: Fri Sep 23, 2005 5:40 pm 
Newbie

Joined: Thu Sep 22, 2005 7:40 am
Posts: 5
Hi there, I have a problem getting second level caching working together with
query caching. I am using a second level cache with clustered invalidation (OSCache). The problem I am experiencing are manifested as follows:

1 A node believes a entry in the StandardQueryCachis up to date as long as the UpdateTimestampsCache says it is so.

2 UpdateTimestampsCache says a entry isUpToDate if there is no latest modification.

If a node A has never experienced a update it will not contain an entry in the UpdateTimestampsCache.

If a node B deletes an entity, node A will still trust it's QueryCache since no record of any update will be found in the TimestampCache. This will result in the node wrongly believing that the entity exists. The entity does not how ever and we get a ugly exception.

right? Chapter 20 of the online manual says that this should work. What am I missing?

/Konstantin


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.