Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6367

Fix StateRestoreListener To Use Correct Batch Ending Offset

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0.0, 1.0.0
    • 1.0.1, 1.1.0
    • streams
    • None

    Description

      StateRestoreListener#restoreBatchCompleted takes the nextPosition longĀ for the batch ending offset, but the nextPosition is not correct, it should be the offset of the latest restored offset, but nextPosition is the offset of the first not restored offset.

      We can't automatically use nextPosition - 1 as this could be a commit marker.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bbejeck Bill Bejeck
            bbejeck Bill Bejeck
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment