在上个版本的基础上格式化了代码

This commit is contained in:
sanChouIsACat 2021-12-28 19:32:15 +08:00
parent ce29ae7ee5
commit 042aa2d865

View File

@ -308,7 +308,7 @@ public class ConcurrentTableWriterTask extends CommonRdbmsWriter.Task {
} }
} }
} }
if(unknownPartRecords.size()>0){ if (unknownPartRecords.size() > 0) {
int retry = 0; int retry = 0;
while (true) { while (true) {
try { try {
@ -364,7 +364,7 @@ public class ConcurrentTableWriterTask extends CommonRdbmsWriter.Task {
unknownPartRecords.add(record); unknownPartRecords.add(record);
int i = 0; int i = 0;
if(unknownPartRecords.size()>batchSize){ if (unknownPartRecords.size() > batchSize) {
while (true) { while (true) {
if (i > 0) { if (i > 0) {
LOG.info("retry add batch record the {} times", i); LOG.info("retry add batch record the {} times", i);