Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31063

Prevent duplicate reading when restoring from a checkpoint.

    XMLWordPrintableJSON

Details

    Description

      Exact-once semantics may not be guaranteed at present on partial reads.
      We use a number fetchSize to limit the records count for every fetch loop but we didn't record the offset into the split state. When resuming the split reader from a partially completed split, we may re-read some data.

      We should record the current reading offset into split state.
      Skip this offset when restoring to prevent duplicate reading.

      Attachments

        Activity

          People

            jiabao.sun jiabao.sun
            jiabao.sun jiabao.sun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: