How does LiveStore establish the total ordering of the event history? #294
|
How does LiveStore establish the total ordering of the event history? |
Answered by
schickling
Jun 3, 2025
Replies: 1 comment
|
The total order of events is enforced by the sync backend. i.e. if a client tries to push a new event that's "behind" (e.g. seq num |
0 replies
Answer selected by
IGassmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The total order of events is enforced by the sync backend. i.e. if a client tries to push a new event that's "behind" (e.g. seq num
5) compared to the current head of the sync backend (e.g. seq num6), the sync backend will reject the push and ask the client to pull & rebase first.