-
1. Re: Losing packets on blocked calls
clebert.suconic Jan 7, 2010 3:29 PM (in response to clebert.suconic)I have created a JIRA: https://jira.jboss.org/jira/browse/HORNETQ-261
From what I have seen, it's not just blocked calls that might be lost. For some reason the session could be removed from the correct channel at HornetQServerimpl::createSession over these operations:
ServerSession currentSession = sessions.remove(name);
if (currentSession != null)
{
// This session may well be on a different connection and different channel id, so we must get rid
// of it and create another
currentSession.getChannel().close();
}Maybe (just a guess) this is happening because of replay over createSessions. I would need more time to investigate.
I'm working at the AS6 integration now.. so I will come back working at this later. (Unless someone else takes over this)
-
2. Re: Losing packets on blocked calls
timfox Jan 8, 2010 7:31 AM (in response to clebert.suconic)Hmm, I'm trying to remember why I added that code.
Sometime in the past there *was* a reason, although I'm not sure it's still needed, and I can't remember what the reason was
I will have a think about it
-
3. Re: Losing packets on blocked calls
clebert.suconic Jan 8, 2010 9:32 AM (in response to timfox)I believe this issue will be fixed If that code can be removed.
I've tried it without it and the test passed up to 500 iterations. (I would need to try more just to be safe).