Fix metadata sync #165
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Currently, this appears to be "edits from the download source until own edit", which leads to tactical avoidance of downloading and editing (also, "download source" is ambiguous: actual source? remote library currently displayed?)
One option: A flag per book, set by the user, that indicates: a) metadata will be "broadcast" (i.e. other peers will apply it) and b) metadata will not be overwritten by others' "broadcasts".
If a user receives such a broadcast, we'd have to save something like the index of sender in the user's ordered peer list, and in the future only apply changes if the new index is lower or equal.
For items not (yet) owned, metadata displayed should come from the lowest-index peer who shares its metadata, otherwise from the lowest-index peer who owns it.
In 7a42473/openmedialibrary: