Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strategies for better merging changes without conflicts #418

Open
steida opened this issue May 26, 2024 · 0 comments
Open

Add strategies for better merging changes without conflicts #418

steida opened this issue May 26, 2024 · 0 comments

Comments

@steida
Copy link
Contributor

steida commented May 26, 2024

This brand new paper actually describes how Evolu works: https://inria.hal.science/hal-04580135/file/DAIS2024.pdf, except for "maintaining integrity constraints" via "compensation mechanisms".

I think there are good ideas that Evolu could easily implement. For example, imagine two replicas editing the same to-do item. Replica A deletes it while Replica B updates it. After the changes are merged, the to-do item will be both updated and deleted. The question is: What was the user's intention, and how can we preserve it?

In this case, the answer is obvious. If an update was made after the deletion, Evolu should revert that deletion. The user intention is clear: I changed the existing to-do item, so I probably care about it.

Is this speculation right? I think it is, but I'm curious to hear your opinions. Remember, Evolu doesn't do real deletions (yet), so we can restore the state anytime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant