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

FileStore.messageIndex is not cleared on reset

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.1, 1.3.0
    • Fix Version/s: 1.3.2
    • Component/s: Engine
    • Labels:
      None

      Description

      FileStore.messageIndex is not cleared on reset. As a result, get(int, int, Collection) may include "junk" entries for sequence numbers that used to be known to the store but are no longer. You can usually work around this by being careful not to peek beyond the current sequence number.

      Suggested fix would be to add
      messageIndex.clear()
      to the top of initializeMessageIndex()

      tx

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ryarran Rhys Yarranton
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: