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

Incremental savepoints directory in CLAIM mode is not being deleted

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.15.0
    • None
    • None

    Description

      Native format supports incremental RocksDB savepoints. For those savepoints Flink puts all SST files inside the savepoints directory. This means such savepoints are self-contained and relocatable. However, when restored in CLAIM mode, subsequent checkpoints might reuse some SST files, which in turn might block deleting the savepoints directory at the time the savepoint is subsumed. Later on Flink will delete the reused shared SST files, but it won’t retry deleting the savepoints directory. Therefore, it is possible Flink leaves an empty savepoints directory if it was restored in CLAIM mode.

      We should find a way to clean up that left over directory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: