feat: Query ctx snapshots (#212)
* feat: seq_snapshots field for query context * chore: make * chore: comment * refactor: new type * chore: rename * chore: not fmt stuff
This commit is contained in:
@@ -26,6 +26,14 @@ message QueryContext {
|
||||
string timezone = 4;
|
||||
map<string, string> extensions = 5;
|
||||
uint32 channel = 6;
|
||||
SequenceSnapshot seq_snapshot = 7;
|
||||
}
|
||||
|
||||
message SequenceSnapshot{
|
||||
// mapping of RegionId to SequenceNumber, for snapshot read, meaning that the
|
||||
// read should only container data that was committed before(and include) the
|
||||
// given sequence number
|
||||
map<uint64, uint64> seq_snapshot = 7;
|
||||
}
|
||||
|
||||
message RequestHeader {
|
||||
|
||||
Reference in New Issue
Block a user