mirror db

This commit is contained in:
mcy
2018-12-14 11:30:41 +08:00
parent 5c4b1f6e63
commit fbf249580f
6 changed files with 309 additions and 123 deletions

View File

@@ -200,7 +200,9 @@ public abstract class AbstractCanalAdapterWorker {
len = 0;
}
}
adapter.sync(dmlsBatch);
if (!dmlsBatch.isEmpty()) {
adapter.sync(dmlsBatch);
}
}
}