We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
kv.tx.ReadSequence
1 parent 19bef81 commit e9f5ed7Copy full SHA for e9f5ed7
remote/kv.proto
@@ -54,6 +54,7 @@ service KV {
54
rpc Range(RangeReq) returns (Pairs);
55
// rpc Stream(RangeReq) returns (stream Pairs);
56
57
+ rpc Sequence(SequenceReq) returns (SequenceReply);
58
59
//Temporal methods
60
rpc GetLatest(GetLatestReq) returns (GetLatestReply); // can return latest value or as of given timestamp
@@ -182,6 +183,19 @@ message RangeReq {
182
183
}
184
185
186
+// `kv.Sequence` method
187
+message SequenceReq {
188
+ uint64 tx_id = 1; // returned by .Tx()
189
+
190
+ // query params
191
+ string table = 2;
192
+}
193
194
+message SequenceReply {
195
+ uint64 value = 1;
196
197
198
199
200
message GetLatestReq {
201
uint64 tx_id = 1; // returned by .Tx()
0 commit comments