[infinispan-dev] [ISPN-731] - make rehashing state and tx log draining serial
Vladimir Blagojevic
vblagoje at redhat.com
Fri Nov 5 10:29:16 EDT 2010
> On 10-11-05 5:39 AM, Manik Surtani wrote:
>> Shouldn't you count down after receivers have applied the state, and have then ack'd that this state has been applied? Rather than when the state has been picked up?
> I thought about that but I think there is no need. I have to think
> throught the details though. The main idea was since the state is a
> simple message sent from a state provider eventual tx log message sent
> from state provider as well is guaranteed to arrive after state message.
> Right?
>
However, now that I think about it, just message order does not matter.
State is applied on receiver on one thread and tx log drain arrives on
another....so these are concurrent tasks! So I'd have to go with ack
approach then.
Cheers
More information about the infinispan-dev
mailing list