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

SessionState.rollbackToPosition should use unsigned arithmetic

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 0.19.0
    • None
    • None
    • 1

    Description

      SessionState.rollbackToPosition should treat sequence numbers as unsigned values when comparing them.

      Normally this isn't an issue, since sequence numbers greater than 2^63 are unheard of in the wild.

      This fix is required by the new Elasticsearch connector, which will create synthetic fallback log entries with seqno -1 (max unsigned value), and these entries must be pruned correctly if a rollback occurs.

      Attachments

        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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty