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

Watermarks should not be activated when neither queue size nor watermarks are configured

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      When creating an initiator or an acceptor (both synchronous and thread-per-session) without specifying either queue size or watermarks, the watermark tracker is still created and is working incorrectly immediately blocking the reads (queue size 0 is > upper watermark of -1).

      Watermarks should only be activated when the queue size is not specified and both lower and upper watermarks are configured to values > 0.

      Pull request (code change + tests) - https://github.com/quickfix-j/quickfixj/pull/213

        Attachments

          Activity

            People

            • Assignee:
              mrbald Mr. Bald
              Reporter:
              mrbald Mr. Bald
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: