|
From: Paul N. <pau...@be...> - 2009-10-22 15:03:17
|
The ResetOnLogon flag in the config is a really handy way of resetting sequence numbers when they have gone badly out of sync. However, there is a problem with it. Consider this scenario: Sequence numbers are out of sync 1. Add ResetOnLogon=Y to config file 2. Restart your quickfix server Later on there is a problem with the target machine 1. They log you off and log you back on again At this point the ResetOnLogin flag IS STILL ON and sequence numbers are then reset back to 1 when you log back on Now there is a real danger that any messages held in the message queue are resent. Normally they would be rejected as duplicates by the target. However, because we've reset the session they aren't seen as duplicates because it's a new session and go in as NEW trades. Ideally this flag should only be applied once. Has anyone else encountered similar problems with this flag? Are there any workarounds? I was thinking of removing the tag from the logon message if its been sent once already. Paul ******************************************************************** This message and any attachment are confidential. If you are not the intended recipient please contact the sender, delete this message and any attachment from your system and do not disclose, copy or distribute the contents to any other person. Beach Horizon LLP (Beach Horizon) is not responsible for any information contained in this email. Beach Horizon reserves the right to monitor all email messages passing through its network. ******************************************************************** |