[jbosscache-dev] Cache unable to write to cluster

Brian Stansberry brian.stansberry at redhat.com
Thu Nov 13 15:33:05 EST 2008


Bela Ban wrote:
> 
> 
> Manik Surtani wrote:
>> Ok - so we could add an extra check into the view change listener to 
>> force an unblock if a member who initiated a FLUSH dies.  We would 
>> also have to record the address of the member initiating the FLUSH in 
>> the flushBlockGate.
> 
> +1.
> 

Shouldn't this be handled by FLUSH itself? MembershipListener.block() 
doesn't provide any information on who the flush coordinator is, so JBC 
has no way to implement Manik's suggestion. But FLUSH itself should know 
enough to detect the view change and trigger an unblock().

BTW, I see that the AS ClusterPartition has the same weakness.


-- 
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry at redhat.com




More information about the jbosscache-dev mailing list