Uploaded image for project: 'Java DCP Client'
  1. Java DCP Client
  2. JDCP-93

Rollback mitigation may produce obsolete data events

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.17.0
    • 0.16.0
    • None
    • 1

    Description

      When rollback mitigation is enabled, if the connection drops while there are unpersisted events in the stream event buffer, the stream will be reopened starting from the last persisted event. This is by design. However, the event buffer is not cleared, so it contains obsolete entries from the previous stream.

      In the worst case, this could result in events from a rolled-back alternate history being propagated to the data event handler.

      Whenever a new stream is opened, we should make sure the stream event buffer for that vbucket does not contain obsolete events.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              david.nault David Nault
              david.nault David Nault
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty