Re: [Quickfix-developers] ResendRequest/SequenceReset-GapFill results in losing
Brought to you by:
orenmnero
|
From: Alex S. <al...@ho...> - 2006-11-09 22:47:25
|
Oren, Yes, here is the log of the scenario described in my first email. bt2tdr is quickfix and CNX is OtherEngine 8=FIX.4.29=6735=A34=331949=bt2tdr52=20061109-16:32:04.46156=CNX98=0108=2010=216 8=FIX.4.29=6735=A49=CNX56=bt2tdr34=332352=20061109-16:32:05.122108=2098=010=206 8=FIX.4.29=6735=234=332049=bt2tdr52=20061109-16:32:05.13356=CNX7=332216=010=186 8=FIX.4.29=6735=h49=CNX56=bt2tdr34=332452=20061109-16:32:05.124336=0340=210=241 8=FIX.4.29=7435=449=CNX56=bt2tdr34=332252=20061109-16:32:07.20743=Y123=Y36=332510=075 8=FIX.4.29=5535=034=332149=bt2tdr52=20061109-16:32:25.21356=CNX10=163 8=FIX.4.29=5535=049=CNX56=bt2tdr34=332552=20061109-16:32:27.21110=167 Thanks >From: Oren Miller <or...@qu...> >To: "Alex Shterenberg" <al...@ho...> >CC: qui...@li... >Subject: Re: [Quickfix-developers] ResendRequest/SequenceReset-GapFill >results in losing important messages >Date: Thu, 9 Nov 2006 16:42:45 -0600 > >Do you have logs? > >--oren > >On Nov 9, 2006, at 2:25 PM, Alex Shterenberg wrote: > >>Hi >> >> >> >>Quickfix seems to ignore an important message in what looks like a race >>condition. >> >>Consider this scenario: >> >> >> >>Quickfix sends a login, seq# 3319 >> >>OtherEngine responds to login with seq#3323 >> >>Quickfix missed #3322 when it previously disconnected, so it sends a >>ResendRequest for #3322, which happens to be a heartbeat >> >>before OtherEngine receives the resend request, it sends out the Trading >>Session Status, #3324 >> >>OtherEngine sends a Gap-Fill resetting the sequence number to #3325 >> >>Session continues with OtherEngines sequence number at 3325 and >>Quickfixs sequence number at 3321 >> >> >> >>My app never hears about the trading session status message. >> >> >> >>If this is not a problem with quickfix, what can I do to ensure that I >>never miss the trading status message? >> >> >> >>Thanks! >> >> >> >>Alex > |