Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.13.5, 1.14.2, 1.15.0
Description
Local recovery with RocksDB fails if the state storage directory is not on the same volume as RocksDB's working directory. The reason is that the RocksDBHandle only tries to hard link the RocksDB files when calling restoreInstanceDirectoryFromPath. If hard linking is not supported, then the operation fails.
In order to harden this behaviour, I suggest to fall back to copying the files over if hard linking fails.
Attachments
Issue Links
- fixes
-
FLINK-10954 Hardlink from files of previous local stored state might cross devices
- Closed
- links to