зеркало из https://github.com/github/vitess-gh.git
20 строки
445 B
Protocol Buffer
20 строки
445 B
Protocol Buffer
// This file contains all the types and servers necessary to make
|
|
// gRPC calls to Vttablet for the management API.
|
|
|
|
syntax = "proto3";
|
|
|
|
package tabletmanager;
|
|
|
|
import "vtctl.proto";
|
|
|
|
message SnapshotArgs {
|
|
int64 concurrency = 1;
|
|
bool server_mode = 2;
|
|
bool force_master_snapshot = 3;
|
|
}
|
|
|
|
service TabletManager {
|
|
// FIXME(alainjobart) need to also return SnapshotReply
|
|
rpc Snapshot(SnapshotArgs) returns (stream vtctl.LoggerEvent) {};
|
|
}
|