Uploaded image for project: 'Repose'
  1. REP-6974

Fix Reverse Read Order in Atom Feed Service

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.9.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 169
    • Story Points:
      2
    • Capitalizable:
      True

      Description

      Currently, the reverse-read ordering option in the Atom Feed service does not work as intended. With that ordering, the high water mark will actually be set to the last event in the feed rather than the first. The end result is that new events are never sent to consumers of the service until the high water mark even falls off the feed (i.e., is archived). Additionally, the Atom Feed service will read the entire available feed every time it checks for new events, which is expensive and wasteful.

      One fix would be to change when ordering is applied, and to set the high water mark appropriately. That is, set the high water mark to the head event of the non-reversed stream, and do not reverse the stream until after determining which events are new events.

      Acceptance Criteria:

      • Reverse order feed service reading works
        • That is, the issues where events are re-read multiple times and new events are ignored are fixed.

        Attachments

          Activity

            People

            • Assignee:
              adrian.george Adrian George
              Reporter:
              damien.johnson Damien Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: