[infinispan-dev] Passivation and BCHM WAS: fixing eviction with transactions (critical for Hibernate Search)

Manik Surtani manik at jboss.org
Fri Jun 10 09:54:48 EDT 2011


On 10 Jun 2011, at 14:33, Manik Surtani wrote:

>> 
>> 2) with async stores, the issue is back. The value is not going to be
>> found while it's "in flight" in the async storage queue; so unless you
>> want to avoid supporting it for now, the actual removal from the
>> container should be performed from the async cache loader code.
> 
> Ugh - yes, I agree.  But I hate the way the mixing of concerns is starting to look.  :-(


Actually the correct answer to this is for AsyncStore.load() to first check the async queue before going to the actual store.  Should be a separate JIRA since this affects general functioning of the AsyncStore.
--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org






More information about the infinispan-dev mailing list