lib/model, lib/protocol: Index sending/receiving debugging (#9657)
This adds guardrails to the index sending and receiving, to verify that what we thinks is happening is what actually happens.
This commit is contained in:
@@ -81,13 +81,16 @@ enum Compression {
|
||||
// Index and Index Update
|
||||
|
||||
message Index {
|
||||
string folder = 1;
|
||||
repeated FileInfo files = 2;
|
||||
string folder = 1;
|
||||
repeated FileInfo files = 2;
|
||||
int64 last_sequence = 3; // the highest sequence in this batch
|
||||
}
|
||||
|
||||
message IndexUpdate {
|
||||
string folder = 1;
|
||||
repeated FileInfo files = 2;
|
||||
string folder = 1;
|
||||
repeated FileInfo files = 2;
|
||||
int64 last_sequence = 3; // the highest sequence in this batch
|
||||
int64 prev_sequence = 4; // the highest sequence in the previous batch
|
||||
}
|
||||
|
||||
message FileInfo {
|
||||
|
||||
Reference in New Issue
Block a user