Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
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.