this post was submitted on 24 Sep 2025
30 points (91.7% liked)

Privacy

2869 readers
144 users here now

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Kissaki@programming.dev 6 points 1 month ago* (last edited 1 month ago)

When two devices write to the same field, the update with the latest timestamp wins.

I'm confused. That update is not conflict free. It resolved the conflict by deciding one of the two wins, without resolving the underlying difference (add and subsctract must be combined/summed up).

Most systems ask developers to write manual conflict resolution code, but that’s error-prone and hard to maintain.

In my eyes, we resolved the difficulty by ignoring correctness.