Re: [Quickfix-developers] Unexpected resend request behavior
Brought to you by:
orenmnero
|
From: Sean K. <sea...@pi...> - 2006-07-13 16:43:15
|
I believe the issue is the order of execution in the = Session::verify(const Message&,bool,bool) function. Shouldn't the = conditional that resets the resendRange be invoked before calling = doTargetTooHigh? > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...]On Behalf Of > Sean Kirkpatrick > Sent: Thursday, July 13, 2006 12:10 PM > To: qui...@li... > Subject: [Quickfix-developers] Unexpected resend request behavior >=20 >=20 > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html >=20 > Hi Everybody, >=20 > We had an issue that I've never seen before involving=20 > sequence numbers with a session in production this morning. =20 > A session failed to respond to a test request and was=20 > disconnected, as expected. =20 >=20 > When they logged back in, each side sent a resend request to=20 > sync up the sequence numbers. We requested from 40 up, while=20 > they requested from 41 up. We sent a reset seq num to 45=20 > message and followed up with a heartbeat with seq number 45. =20 > They sent us a reset seq num to 45 message, but followed up=20 > with a heartbeat with seq number 46. >=20 > After this, every subsequent message from the client resulted=20 > in an error to the event_log like this: >=20 > Already sent ResendRequest FROM: 40 TO: 43. Not sending another. >=20 > No messages made it through to our FIX server, but no=20 > messages were sent to the client either. I've included the=20 > messages below. Can someone let me know what causes this? =20 > How to catch a situation like this in the calling app? etc... >=20 > Thanks, > Sean >=20 >=20 > The following is the sequence of messages: >=20 > incoming_log > = 8=3DFIX.4.0=019=3D69=0135=3DA=0134=3D1=0149=3DCLIENT=0152=3D20060713-11:3= 0:16=0156=3DSER > VER=0157=3DADMIN=0198=3D0=01108=3D50=0110=3D214=01 > = 8=3DFIX.4.0=019=3D68=0135=3D1=0134=3D2=0149=3DCLIENT=0152=3D20060713-11:3= 0:16=0156=3DSER > VER=0157=3DADMIN=01112=3D073016=0110=3D174=01 > = 8=3DFIX.4.0=019=3D58=0135=3D0=0134=3D39=0149=3DCLIENT=0152=3D20060713-12:= 02:26=0156=3DSE > RVER=0157=3DADMIN=0110=3D228=01 > = 8=3DFIX.4.0=019=3D70=0135=3DA=0134=3D44=0149=3DCLIENT=0152=3D20060713-12:= 06:44=0156=3DSE > RVER=0157=3DADMIN=0198=3D0=01108=3D50=0110=3D010=01 > = 8=3DFIX.4.0=019=3D73=0135=3D2=0134=3D45=0149=3DCLIENT=0152=3D20060713-12:= 06:44=0156=3DSE > RVER=0157=3DADMIN=017=3D41=0116=3D999999=0110=3D185=01 > = 8=3DFIX.4.0=019=3D88=0135=3D4=0134=3D40=0143=3DY=0149=3DCLIENT=0152=3D200= 60713-12:06:44=01 > = 56=3DSERVER=01122=3D20060713-12:06:44=0136=3D45=01123=3DY=0110=3D071=01 > = 8=3DFIX.4.0=019=3D58=0135=3D0=0134=3D46=0149=3DCLIENT=0152=3D20060713-12:= 07:38=0156=3DSE > RVER=0157=3DADMIN=0110=3D234=01 > = 8=3DFIX.4.0=019=3D71=0135=3DA=0134=3D823=0149=3DCLIENT=0152=3D20060713-14= :49:49=0156=3DS > ERVER=0157=3DADMIN=0198=3D0=01108=3D50=0110=3D078=01 > = 8=3DFIX.4.0=019=3D70=0135=3D1=0134=3D824=0149=3DCLIENT=0152=3D20060713-14= :49:49=0156=3DS > ERVER=0157=3DADMIN=01112=3D104949=0110=3D048=01 > = 8=3DFIX.4.0=019=3D70=0135=3D1=0134=3D828=0149=3DCLIENT=0152=3D20060713-14= :50:50=0156=3DS > ERVER=0157=3DADMIN=01112=3D105050=0110=3D020=01 > = 8=3DFIX.4.0=019=3D70=0135=3D1=0134=3D829=0149=3DCLIENT=0152=3D20060713-14= :51:01=0156=3DS > ERVER=0157=3DADMIN=01112=3D105101=0110=3D015=01 >=20 > outgoing_log > = 8=3DFIX.4.0=019=3D60=0135=3DA=0134=3D1=0149=3DSERVER=0152=3D20060713-11:3= 0:16=0156=3DCLI > ENT=0198=3D0=01108=3D50=0110=3D186=01 > = 8=3DFIX.4.0=019=3D59=0135=3D0=0134=3D2=0149=3DSERVER=0152=3D20060713-11:3= 0:16=0156=3DCLI > ENT=01112=3D073016=0110=3D154=01 > = 8=3DFIX.4.0=019=3D49=0135=3D0=0134=3D41=0149=3DSERVER=0152=3D20060713-12:= 02:47=0156=3DCL > IENT=0110=3D205=01 > = 8=3DFIX.4.0=019=3D58=0135=3D1=0134=3D42=0149=3DSERVER=0152=3D20060713-12:= 03:26=0156=3DCL > IENT=01112=3DTEST=0110=3D223=01 > = 8=3DFIX.4.0=019=3D61=0135=3DA=0134=3D43=0149=3DSERVER=0152=3D20060713-12:= 06:44=0156=3DCL > IENT=0198=3D0=01108=3D50=0110=3D246=01 > = 8=3DFIX.4.0=019=3D64=0135=3D2=0134=3D44=0149=3DSERVER=0152=3D20060713-12:= 06:44=0156=3DCL > IENT=017=3D40=0116=3D999999=0110=3D164=01 > = 8=3DFIX.4.0=019=3D88=0135=3D4=0134=3D41=0143=3DY=0149=3DSERVER=0152=3D200= 60713-12:06:44=01 > = 56=3DCLIENT=01122=3D20060713-12:06:44=0136=3D45=01123=3DY=0110=3D072=01 > = 8=3DFIX.4.0=019=3D49=0135=3D0=0134=3D45=0149=3DSERVER=0152=3D20060713-12:= 07:34=0156=3DCL > IENT=0110=3D210=01 > = 8=3DFIX.4.0=019=3D62=0135=3DA=0134=3D238=0149=3DSERVER=0152=3D20060713-14= :49:49=0156=3DC > LIENT=0198=3D0=01108=3D50=0110=3D059=01 > = 8=3DFIX.4.0=019=3D61=0135=3D0=0134=3D239=0149=3DSERVER=0152=3D20060713-14= :49:49=0156=3DC > LIENT=01112=3D104949=0110=3D028=01 > = 8=3DFIX.4.0=019=3D61=0135=3D0=0134=3D241=0149=3DSERVER=0152=3D20060713-14= :50:50=0156=3DC > LIENT=01112=3D105050=0110=3D245=01 > = 8=3DFIX.4.0=019=3D61=0135=3D0=0134=3D242=0149=3DSERVER=0152=3D20060713-14= :51:02=0156=3DC > LIENT=01112=3D105101=0110=3D241=01 >=20 > event_log > 2006-07-13 11:30:05 | Created session > 2006-07-13 11:30:16 | Received logon request > 2006-07-13 11:30:16 | Responding to logon request > 2006-07-13 12:03:26 | Sent test request TEST > 2006-07-13 12:04:26 | Timed out waiting for heartbeat > 2006-07-13 12:04:26 | Disconnecting > 2006-07-13 12:06:44 | Received logon request > 2006-07-13 12:06:44 | Responding to logon request > 2006-07-13 12:06:44 | MsgSeqNum too high, expecting 40 but received 44 > 2006-07-13 12:06:44 | Sent ResendRequest FROM: 40 TO: 999999 > 2006-07-13 12:06:44 | Received ResendRequest FROM: 41 TO: 999999 > 2006-07-13 12:06:44 | Sent SequenceReset TO: 45 > 2006-07-13 12:06:44 | Received SequenceReset FROM: 40 TO: 45 > 2006-07-13 12:07:38 | MsgSeqNum too high, expecting 45 but received 46 > 2006-07-13 12:07:38 | Already sent ResendRequest FROM: 40 TO:=20 > 43. Not sending another. > 2006-07-13 12:08:29 | MsgSeqNum too high, expecting 45 but received 47 > 2006-07-13 12:08:29 | Already sent ResendRequest FROM: 40 TO:=20 > 43. Not sending another. >=20 >=20 > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& dat=3D121642 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |