Skip to content

Commit ed3c52b

Browse files
committed
Add a Preds field in TxnContext to allow Zero to abort transactions during a predicate move.
1 parent 84a3bf6 commit ed3c52b

File tree

3 files changed

+313
-275
lines changed

3 files changed

+313
-275
lines changed

protos/api.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ message TxnContext {
8585
uint64 start_ts = 1;
8686
uint64 commit_ts = 2;
8787
bool aborted = 3;
88-
repeated string keys = 4;
88+
repeated string keys = 4; // List of keys to be used for conflict detection.
89+
repeated string preds = 5; // List of predicates involved in this transaction.
8990
LinRead lin_read = 13;
9091
}
9192

0 commit comments

Comments
 (0)