Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25468

Local recovery fails if local state storage and RocksDB working directory are not on the same volume

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              trohrmann Till Rohrmann
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: