[JBoss JIRA] Closed: (JGRP-170) upTbl should be cleared in _upViewChange()
by Bela Ban (JIRA)
[ http://jira.jboss.com/jira/browse/JGRP-170?page=all ]
Bela Ban closed JGRP-170.
-------------------------
Resolution: Out of Date
TOTAL was canned in 2.5
> upTbl should be cleared in _upViewChange()
> ------------------------------------------
>
> Key: JGRP-170
> URL: http://jira.jboss.com/jira/browse/JGRP-170
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.2.9, 2.2.9.1, 2.2.8
> Reporter: Bela Ban
> Assigned To: Bela Ban
> Fix For: 2.x
>
>
> upTbl should be cleared in _upViewChange().
> Say there are three nodes A,B,C. Suppose there are 10
> outstanding TOTAL sequences say 1-10 (1-5 from A and
> 6-10 from B). Say seq#1 is missing so we have 2-10 in
> every upTbl.
> Now assume the view changes and A and B replayBcast
> (). This time A gets 6-10 and B gets 1-5.
> A lot can go wrong now, say if A's sequences reach in
> reverse order. We have duplicate transmissions from A.
> Its also possible that B's transmission is totally lost.
> I haven't verified all possible scenarios here, but I think
> the above two are quite possible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 5 months
[JBoss JIRA] Created: (JGRP-533) RpcDispatcher: thread pool to provide interruptible cluster call invocations
by Bela Ban (JIRA)
RpcDispatcher: thread pool to provide interruptible cluster call invocations
----------------------------------------------------------------------------
Key: JGRP-533
URL: http://jira.jboss.com/jira/browse/JGRP-533
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.4.1 SP4, 2.5
This is to solve http://jira.jboss.com/jira/browse/JBCACHE-1103, especially in 2.4. (In 2.5, we have OOB messages that deliver credit responses).
SOLUTION:
Th idea is to have 1 additional callRemoteMethod(s) method, which takes a timeout > 0 and a boolean use_thread_pool. If the boolean is false, then we have the default behavior: send the request, then block until all responses have been received. Else, the behavor is the following:
- Create a task that is scheduled with a thread pool and as result get a Future. (The thread pool might get created per RpcDispatcher or as static member of the RpcDispatcher class, and it is configured via system props).
- Block on the Future for timeout milliseconds
- If all the responses have been received:
- Set the result in the Future and notify it, so the caller unblocks and returns
- If the timeout elapsed:
- Interrupt the task (e.g. thread blocked in FC.down() will return, and mark the GroupRequest as 'done' so further responses are ignored) and return the current results with the RpcList, unblocking the caller
The decision whether or not to use a thread pool is *per method call*, so we don't have the overhead of the thread pool for regular calls.
This is only necessary for 2.4, as we only have a single request queue, which caused JBCACHE-1103. In 2.5, this will not happen. Question is do we want to forward-port this to 2.5 as well...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 5 months
[JBoss JIRA] Created: (JBMESSAGING-974) Unable to process control connection
by Tim Fox (JIRA)
Unable to process control connection
------------------------------------
Key: JBMESSAGING-974
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-974
Project: JBoss Messaging
Issue Type: Bug
Reporter: Tim Fox
Assigned To: Ron Sigal
Fix For: 1.3.0.GA
When running messaging remote tests (ant remote-tests from tests dir).
At various points, JBoss Remoting is logging the following:
[junit] @control: Socket[addr=/127.0.0.1,port=2960,localport=58358] 17:09:54,929 ERROR [BisocketServerInvoker] Unable to process control connection: Socket closed
[junit] java.net.SocketException: Socket closed
[junit] at java.net.SocketInputStream.socketRead0(Native Method)
[junit] at java.net.SocketInputStream.read(SocketInputStream.java:129)
[junit] at java.net.SocketInputStream.read(SocketInputStream.java:182)
[junit] at java.io.FilterInputStream.read(FilterInputStream.java:66)
[junit] at org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ControlConnectionThread.run(BisocketServerInvoker.java:652)
This doesn't seem to cause the tests to fail, and is annoying.
I guess remoting is trying to clear up its state and failing (??)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 5 months