Skip to content

Instantly share code, notes, and snippets.

@tobias
Created March 23, 2015 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobias/e7063731d32809b98292 to your computer and use it in GitHub Desktop.
Save tobias/e7063731d32809b98292 to your computer and use it in GitHub Desktop.
*** jcrossley3 (~user@71-90-202-246.dhcp.stls.mo.charter.com) has quit: Ping timeout: 250
seconds [14:51]
<jbertram> tcrawley: what version of HornetQ and do you have a reproducer? [14:57]
<tcrawley> jbertram: howdy! this is 2.4.5.Final, and the only reproducer I have at the moment is
in Immutant's integration tests [14:59]
<tcrawley> I'd need to try to distill it down to some java that recreates the issue
<tcrawley> I was just curious if this was a known/familiar issue
<tcrawley> I've stepped through the code in the debugger, and have seen the wait() at
https://github.com/hornetq/hornetq/blob/master/hornetq-core-client/src/main/java/org/hornetq/core/client/impl/ClientConsumerImpl.java#L258
expire, then
https://github.com/hornetq/hornetq/blob/master/hornetq-core-client/src/main/java/org/hornetq/core/client/impl/ClientConsumerImpl.java#L400
gets called, passing zero for the timeout [15:02]
<tcrawley> the first wait expires ~10s, which is what my timeout is
<tcrawley> the second time through, the toWait is set to MAX_VALUE, but seems to get notified
after ~20s [15:03]
*** mgoldmann (~mgoldmann@redhat/jboss/mgoldmann) has joined channel #hornetq [15:04]
*** chrissy_ (~chrissy@220-137-36-184.dynamic.hinet.net) has joined channel #hornetq [15:06]
<jbertram> tcrawley: I don't recall seeing it before [15:12]
<tcrawley> all of that client code is old - if this is a bug, you'd think it would have come up
before [15:13]
<tcrawley> I'll see if I can build a small reproducer in java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment