[
https://issues.apache.org/jira/browse/FLINK-25468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann closed FLINK-25468.
---------------------------------
Resolution: Fixed
Fixed via
1.15.0: 6bab695f85f8c9b1fec926880480c4ffb414a44b
1.14.3: f851f583e04ce671eb729b639c56618b4d5743a0
1.13.6: eace77b224e8981f12361b1eae3ec647f0fffdf2
> Local recovery fails if local state storage and RocksDB working directory are
> not on the same volume
> ----------------------------------------------------------------------------------------------------
>
> Key: FLINK-25468
> URL: https://issues.apache.org/jira/browse/FLINK-25468
> Project: Flink
> Issue Type: Bug
> Components: Runtime / State Backends
> Affects Versions: 1.15.0, 1.13.5, 1.14.2
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0, 1.13.6, 1.14.3
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)