[Design of JBossCache] - Re: JBC partial state transfer and Region.activate()
by bstansberry@jboss.com
How bad is the concurrency problem? Is it a race condition, where if two services start a FLUSH at nearly the same time, there's an issue? Or is it worse, i.e. service A on node 1 starts a flush/state transfer, 5 secs later service B on node 2 starts a flush while the A state transfer is still in progress, and something fails? Assume use of the mux here.
I'm trying to get a sense of the scope of the problem so we can decide priorities relative to getting the AS 5 beta done. For the AS 5 beta we need partial state transfer working; deploying web apps requires it. So the question is, do we restore the old RPC-based partial state transfer that got stripped out of 2.0 somewhere along the line, or do we go with the FLUSH based one that has a known problem. It's a beta, so I don't think having a known problem is the end of the world. But if the problem is so bad that's it's going to occur very frequently, we need to consider restoring the RPC approach for now.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983018#3983018
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983018
18 years, 2 months