Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-489

ResendRequest even the MsgSeqNum is correct when a lot of messages arrived at the same instance

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      WINXP

      Description

      When a lot of messages arrive at the same instance, Quickfix seems to ingore some message (they can be found in the logs),
      and think that the earlier message is not arrived, so it will then send "ResendRequest" to the counterparty.

      e.g. 34=2, 34=3, 34=4 has arrived at 20091203-08:47:53 [ i use the screenLogFactory]
      it will complaint about: (MsgSeqNum too high, expecting 3 but received 4)
      and (Sent ResendRequest FROM: 4 TO: 0)

      then the MsgSeqNum will be screwed up, keep sending resend request when more messages arrived.
      and there will be a messge queue stored the out of order message.
      <20091203-08:47:53, FIX.4.2:INITIATOR->ACCEPTOR, event> (Processing queued message: 5, pending: [4, 6, 7, 9, 8, 11, 12, 10, 13, 15, 16, 14, 17, 19, 18, 20, 21, 23, 24, 22, 25, 27, 26])

      How to prevent quickfix from ignoring the message with a smaller MsgSeqNum?
      Is this a race condition? as mulitple messages arrive at the same instance.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lcryst lcryst
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: