-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Runtime / State Backends
-
Labels:None
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.
- links to