You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
449 B
Plaintext
25 lines
449 B
Plaintext
|
|
syntax = "proto3";
|
|
package streamer;
|
|
|
|
option go_package = "github.com/rqlite/rqlite/snapshot";
|
|
|
|
message IncrementalSnapshot {
|
|
bytes data = 1;
|
|
}
|
|
|
|
message FullSnapshot {
|
|
message DataInfo {
|
|
int64 size = 1;
|
|
}
|
|
DataInfo db = 3;
|
|
repeated DataInfo wals = 4;
|
|
}
|
|
|
|
message StreamHeader {
|
|
int32 version = 1;
|
|
oneof payload {
|
|
IncrementalSnapshot incremental_snapshot = 2;
|
|
FullSnapshot full_snapshot = 3;
|
|
}
|
|
} |