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

Unified Sink committer does not clean up state on final savepoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 1.17.0, 1.15.3, 1.16.1
    • None
    • Connectors / Common
    • None

    Description

      During stop-with-savepoint the committer only commits the pending committables on notifyCheckpointComplete.

      This has several downsides.

      • Last committableSummary has checkpoint id LONG.MAX and is never cleared from the state leading to that stop-with-savepoint does not work when the pipeline recovers from a savepoint 
      • While the committables are committed during stop-with-savepoint they are not forwarded to post-commit topology, potentially losing data and preventing to close open transactions.

      Attachments

        1. Screenshot 2023-03-09 at 1.47.11 PM.png
          75 kB
          Neha Aggarwal
        2. image (8).png
          1.44 MB
          Neha Aggarwal

        Activity

          People

            Unassigned Unassigned
            fpaul Fabian Paul
            Votes:
            4 Vote for this issue
            Watchers:
            24 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: