mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 23:52:00 +08:00
在上个版本的基础上格式化了代码
This commit is contained in:
parent
ce29ae7ee5
commit
042aa2d865
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user