Skip to content

Commit 3063daf

Browse files
authored
feat: Add sync sharding options (#26)
1 parent bb36463 commit 3063daf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

plugin/v3/plugin.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,16 @@ message Sync {
103103
string connection = 2;
104104
}
105105
message Request {
106+
message Shard {
107+
int32 num = 1;
108+
int32 total = 2;
109+
}
106110
repeated string tables = 1;
107111
repeated string skip_tables = 2;
108112
bool skip_dependent_tables = 3;
109113
bool deterministic_cq_id = 4;
110114
BackendOptions backend = 5;
115+
optional Shard shard = 6;
111116
}
112117
message Response {
113118
oneof message {

0 commit comments

Comments
 (0)