[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Failover analysis
ovidiu.feodorov@jboss.com
do-not-reply at jboss.com
Mon Jan 8 20:58:37 EST 2007
Clebert wrote :
| Ovidiu on Wiki Page wrote : If there are active threads traversing the valve at the moment when "close" command arrives, those threads must be interrupted and put to wait until the valve opens again
|
|
| There is no way to interrupt those threads, but on the event of a failure, all of the inflight invocations are going to fail at the same time, and all of them will capture the failure trying to close the valve at the same time.
|
Not in a portable way, I agree. But then I said that a possibility would be to close the valve regardless of any active thread, since the active threads will have no choice but fail anyway shortly.
For that, we need to make sure that:
1. We can close a valve with active threads traversing it
2. Once a valve is closed, it still handles correctly a downstream failure.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999276#3999276
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999276
More information about the jboss-dev-forums
mailing list