Crash after a renamed POST can create a duplicate note #9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If the app crashes right after a POST where the server renamed the note (e.g. "Idea" became "Idea (2)"), the next sync can create one duplicate note.
Why: the index is saved once per sync pass. Recovery works by adopting a local file that is identical (path and content) to an unknown server note. A renamed note doesn't match by path, so it's uploaded again.