refactor(sync): add syncRestoreFromSnapshot
This commit is contained in:
parent
ed6001d5ca
commit
cc31a7c3c3
|
@ -49,7 +49,7 @@ SSyncNode* createSyncNode(SWal* pWal) {
|
||||||
void usage(char* exe) { printf("usage: %s path vgId snapshotIndex \n", exe); }
|
void usage(char* exe) { printf("usage: %s path vgId snapshotIndex \n", exe); }
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
if (argc != 3) {
|
if (argc != 4) {
|
||||||
usage(argv[0]);
|
usage(argv[0]);
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue