Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Store the statePath as a basePath and a fileName and allow to overwrite the basePath. We cannot overwrite the base path as long as the state handle is still in flight and not persisted. Otherwise we risk a resource leak.
We need this in order to be able to relocate savepoints.
interface RelativeBaseLocationStreamStateHandle { void clearBaseLocation(); void setBaseLocation(String baseLocation); }
FileStateHandle should implement this and the SavepointSerializer should forward the calls when a savepoint is stored or loaded, clear before store and set after load.
Attachments
Issue Links
- links to