sofastack / sofa-jraft

A production-grade java implementation of RAFT consensus algorithm.
https://www.sofastack.tech/projects/sofa-jraft/
Apache License 2.0
3.57k stars 1.14k forks source link

Fix AtomicMoveNotSupportedException: Invalid cross-device link #967

Closed qiujiayu closed 1 year ago

qiujiayu commented 1 year ago

Fixes #966.

fengjiachun commented 1 year ago

@killme2008 PTAL,cross-device file moving

fengjiachun commented 1 year ago

Perhaps we cannot atomically move files across devices.

killme2008 commented 1 year ago

Perhaps we cannot atomically move files across devices.

Yep. Most operation system doesn't support atomic moving files between devices. This patch doesn't solve the issue, the user must not do this way.