-
1. Re: Something wrong with HornetQFrameDecode?
clebert.suconic Nov 24, 2009 7:59 PM (in response to clebert.suconic)I have talked to Tim.
Trustin was supposed to commit that decoder on the Optimization's branch. (not on trunk).
So, I have reverted it for now. You guys (Tim and Trustin) will have to replace it later. -
2. Re: Something wrong with HornetQFrameDecode?
clebert.suconic Nov 24, 2009 10:21 PM (in response to clebert.suconic)Just for the record, I don't know if you guys want to apply those changes or not...
But NettyConsumerWindowSizeTest was *sometimes* taking 10 minutes to complete if you used the new encoder.
(yes.. I said it right... 10 minutes)
It's working fine after reverting it. -
3. Re: Something wrong with HornetQFrameDecode?
trustin Nov 25, 2009 1:24 AM (in response to clebert.suconic)Apologies. That is weird. It seemed to work just fine. I will take a look again soon before Tim merges the branch.
-
4. Re: Something wrong with HornetQFrameDecode?
trustin Nov 26, 2009 5:53 AM (in response to clebert.suconic)The behavior of the original HornetQFrameDecoder has been changed:
http://fisheye.jboss.org/browse/Hornetq/branches/20-optimisation/src/main/org/hornetq/integration/transports/netty/HornetQFrameDecoder.java?r1=8288&r2=8387&u=3&ignore=&k=
The decoder in the trunk generates a frame without the length field, while Tim's modification includes the length field. That was why my new decoder was not working in trunk.
Which behavior is correct? -
5. Re: Something wrong with HornetQFrameDecode?
trustin Nov 26, 2009 6:16 AM (in response to clebert.suconic)So, the new decoder was supposed to work only with the optimization branch and it was checked in to trunk (i.e. wrong branch). It seems to work fine with the optimization branch so far.