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

Extend state handle provider interface to list all state handles

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Runtime / Coordination
    • None

    Description

      This is a follow up issue to FLINK-2354.

      In FLINK-2354 we use ZooKeeper to persist state handles. In certain failure scenarios, there can be lingering state handles, which have not been written to ZooKeeper, but which were already created.

      These can be cleaned up on startup, if the state handle provider implementation kept track of their state handles. With the current implementations it would be possible, e.g. list the directory (file system) of no state is persistent (job manager).

      It would be fair enough have this as an optional operation.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            uce Ufuk Celebi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment