Skip to content

Commit ea718d4

Browse files
committed
Clarified the order of watch events for TXN operations
Signed-off-by: Korenberg Mark <[email protected]>
1 parent a04614e commit ea718d4

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

content/en/docs/v3.4/learning/api_guarantees.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ Read more about [strict serializability].
5353

5454
Strict serializability implies other weaker guarantees that might be easier to understand:
5555

56+
For transactions without nested TXNs, the order of execution of operations
57+
is guaranteed to be the same as in its list of operations, which means stable
58+
GET responses within the transaction.
59+
For transactions with nested TXNs, the order of execution is not specified.
60+
5661
#### Atomicity
5762

5863
All API requests are atomic; an operation either completes entirely or not at
@@ -87,7 +92,10 @@ removes the performance penalty of linearized accesses' reliance on live consens
8792
Watches make guarantees about events:
8893
* Ordered - events are ordered by revision.
8994
An event will never appear on a watch if it precedes an event in time that
90-
has already been posted.
95+
has already been posted. For transactions without nested TXNs, the order of
96+
generated events is guaranteed to be the same as in its list of operations.
97+
For transactions with nested TXNs, the order of generated events is not
98+
specified.
9199
* Unique - an event will never appear on a watch twice.
92100
* Reliable - a sequence of events will never drop any subsequence of events
93101
within the available history window. If there are events ordered in time as

content/en/docs/v3.5/learning/api_guarantees.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ Read more about [strict serializability].
5353

5454
Strict serializability implies other weaker guarantees that might be easier to understand:
5555

56+
For transactions without nested TXNs, the order of execution of operations
57+
is guaranteed to be the same as in its list of operations, which means stable
58+
GET responses within the transaction.
59+
For transactions with nested TXNs, the order of execution is not specified.
60+
5661
#### Atomicity
5762

5863
All API requests are atomic; an operation either completes entirely or not at
@@ -87,7 +92,10 @@ removes the performance penalty of linearized accesses' reliance on live consens
8792
Watches make guarantees about events:
8893
* Ordered - events are ordered by revision.
8994
An event will never appear on a watch if it precedes an event in time that
90-
has already been posted.
95+
has already been posted. For transactions without nested TXNs, the order of
96+
generated events is guaranteed to be the same as in its list of operations.
97+
For transactions with nested TXNs, the order of generated events is not
98+
specified.
9199
* Unique - an event will never appear on a watch twice.
92100
* Reliable - a sequence of events will never drop any subsequence of events
93101
within the available history window. If there are events ordered in time as

content/en/docs/v3.6/learning/api_guarantees.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ Read more about [strict serializability].
5353

5454
Strict serializability implies other weaker guarantees that might be easier to understand:
5555

56+
For transactions without nested TXNs, the order of execution of operations
57+
is guaranteed to be the same as in its list of operations, which means stable
58+
GET responses within the transaction.
59+
For transactions with nested TXNs, the order of execution is not specified.
60+
5661
#### Atomicity
5762

5863
All API requests are atomic; an operation either completes entirely or not at
@@ -87,7 +92,10 @@ removes the performance penalty of linearized accesses' reliance on live consens
8792
Watches make guarantees about events:
8893
* Ordered - events are ordered by revision.
8994
An event will never appear on a watch if it precedes an event in time that
90-
has already been posted.
95+
has already been posted. For transactions without nested TXNs, the order of
96+
generated events is guaranteed to be the same as in its list of operations.
97+
For transactions with nested TXNs, the order of generated events is not
98+
specified.
9199
* Unique - an event will never appear on a watch twice.
92100
* Reliable - a sequence of events will never drop any subsequence of events
93101
within the available history window. If there are events ordered in time as

content/en/docs/v3.7/learning/api_guarantees.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ Read more about [strict serializability].
5353

5454
Strict serializability implies other weaker guarantees that might be easier to understand:
5555

56+
For transactions without nested TXNs, the order of execution of operations
57+
is guaranteed to be the same as in its list of operations, which means stable
58+
GET responses within the transaction.
59+
For transactions with nested TXNs, the order of execution is not specified.
60+
5661
#### Atomicity
5762

5863
All API requests are atomic; an operation either completes entirely or not at
@@ -87,7 +92,10 @@ removes the performance penalty of linearized accesses' reliance on live consens
8792
Watches make guarantees about events:
8893
* Ordered - events are ordered by revision.
8994
An event will never appear on a watch if it precedes an event in time that
90-
has already been posted.
95+
has already been posted. For transactions without nested TXNs, the order of
96+
generated events is guaranteed to be the same as in its list of operations.
97+
For transactions with nested TXNs, the order of generated events is not
98+
specified.
9199
* Unique - an event will never appear on a watch twice.
92100
* Reliable - a sequence of events will never drop any subsequence of events
93101
within the available history window. If there are events ordered in time as

0 commit comments

Comments
 (0)