Skip to content

Is watch linearizable? #15423

Closed Answered by serathius
mladedav asked this question in Q&A
Mar 7, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The Ordered property would seem to imply linearizability.

That's not correct. Linearizability implies order, but order doesn't imply linearizability. Watch is serializable, which implies that responses are ordered. However as watch is eventually consistent we cannot guarantee linearizability. In simple terms watch returns a history of changes done in etcd, but events in watch might be delayed by unspecified time from when they really happened.

is ordering guaranteed and the issue is that the events may be received late and thus do not satisfy linearizability guarantees regarding wall-clock?

Yes.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mladedav
Comment options

@serathius
Comment options

@mladedav
Comment options

Answer selected by mladedav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants