开发者

Quickfix 1.13.3 - SeqNum not reset properly at StartTime with ODBC Store

I am using quickfix 1.13.3 recompiled with ODBC and I have a strange behavior on my acceptors (two acceptors on different machines sharing the same ODBC database and enabled for hot failover). My daily session is setup with:

RefreshOnLogon=Y
StartTime=00:02:00
EndTime=23:58:00
PersistMessages=Y

and the necessary Odbc Settings.

At 23:54, the initiator sends a Logout with MsgSeqNum = 1711, my quickfix acceptor responds with Logout MsgSeqNum = 1711, so no problem there.

At 00:05:16, the initiator sends a Logon with MsgSeqNum = 2, but my quickfix acceptor responds with Logout MsgSeqNum = 1712 !

At 00:05:18, the initiator retries with Logon and MsgSeqNumm = 4, and this time, my quickfix acceptor responds with Logon MsgSeqNum = 1

Thinking that maybe, in the table "sessions", the incoming_seqnum and outgoing_seqnum were not properly reset by ODBC, I even tried to force a reset manually at 00:00 but in vain, I still get the same behavior.

My guess at the moment is that quickfix with this configuration still matches the Logon request against the yesterday session which results in the logout with the yesterday sequence number....

With the same StartTime, EndTime, 1 acceptor (instead of two),开发者_开发技巧 FileStore, and no RefreshOnLogon setting (because I had only 1 acceptor) it used to work with quickfix 1.12.4.

I also tried with RefreshOnLogon=N but the problem remains the same... seqnums are not properly reset at midnight.

Any ideas?

Many thanks,


After many attempts with the different settings, I finally rollbacked to 1.12.4 recompiled with ODBC. With the same settings, the old library works properly and seqnums are properly reset at 00:02:00.

RefreshOnLogon=Y
StartTime=00:02:00
EndTime=23:58:00
PersistMessages=Y


Do you have UseLocalTime set in your config file? If so, you should note that QuickFIX broke it after 1.12.4. The revision that broke it was 2160, as I note on this bug: http://sourceforge.net/tracker/?func=detail&aid=3023908&group_id=37535&atid=1126912

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜