From: Roman T. <ro...@de...> - 2005-12-13 12:24:17
|
Hello, guys! I've just resolved this issue. If you set ResetOnLogout option, the Initator side will drop the fix-storage after finishing the session. That's means - actually, sequences will be reset on NEXT logon only. But if you switch off ResetOnLogout, you Initiator fix-storage will be broken, because of sequence numbers information has been destroyed. Also, the sosurce codes has undocumented option: SendResetSeqNumFlag=Y If set, this option enforces sequence reset on LOGON, without data corruption. But! Current version of quickfix has a bug, SendResetSeqNumFlag will work incorrect. I have a patch with fixes for this bug. Roman Tsiroulnikov wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hello, quickifix team! > > I'm newbie using quickix, but I have strange problem with message > sequence numbers. > Problem occurs only on Initiator side. In normal LOGON mode > (ResetSeqNumFlag=N), > everything was fine. If initiator side tries to login in SeqReset mode > (LOGON with ResetSeqNumFlag=Y), > session works OK, but library does not update <fix-store>/FIX-4.4-*.* > files with FIX session storage data. > As the result, initiator side loses sequence numbers and FIX messages > body information. > After that, if initiator open a session with normal LOGON > (ResetSeqNumFlag=N), > the initiator trying to start session from sequence number 1, but > server expected number N. After that, > acceptor receives LOGON from initiator and reply by LOGOUT with error > (Text=MsgSeqNum too low, expecting N but received 1). > > version: FIX 4.4, quickfix-1.10.2 > > Hope for your help ;-) > > Wishing you nice day, Roman > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users -- Wishing you nice day, ___________________________ Roman Tsiroulnikov Monitoring & infrastructure projects ro...@de... <mailto:ro...@de...> http://www.devexperts.com Tel. +7(812) 336-57-88 |