mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 16:56:59 +01:00
fix(fuse,core): keep a rename made while its create is on the wire
A rename of a node whose create is still queued rewrites the create's target, but the drain had already copied the op. When the create landed, the row was deleted unread and the rename was lost (B136). finish_create now learns where the create was sent and where it landed, and queues a rename of the real uid when the row has moved on since. adopt_real_uid keeps the tree's name and folder while that rename is queued. A landed folder's children also stop naming its placeholder as their parent in memory, which put the placeholder back on their rows.
This commit is contained in:
1 parent
7e3df7602d
commit
c34cc93c45
6 files changed
+219
-30
No files matched your search
@@ -11,6 +11,10 @@ scratch (user data in `staging/` and `recovery/` is never touched by this).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- **A file renamed or moved while its first upload is on the wire keeps its new name and folder.**
|
||||
It landed under the old name and the rename was lost (B136).
|
||||
|
||||
## [2.9.0] — 2026-10-03
|
||||
|
||||
Schema: **35** (unchanged). Requires `proton-drive-rs` **0.7.2**.
|
||||
|
||||
Reference in new issue
Block a user