Skip to content

Commit 71ce27d

Browse files
author
Nicolas Maquet
committed
prevent MaxwellBootstrapUtility from hanging if rowCount is decreased
1 parent 0eaac1f commit 71ce27d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/zendesk/maxwell/bootstrap/MaxwellBootstrapUtility.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ private void run(String[] argv) throws Exception {
3636
startedTimeMillis = System.currentTimeMillis();
3737
}
3838
insertedRowsCount = getInsertedRowsCount(connection, rowId);
39-
} else {
40-
isComplete = getIsComplete(connection, rowId);
4139
}
40+
isComplete = getIsComplete(connection, rowId);
4241
displayProgress(rowCount, insertedRowsCount, startedTimeMillis);
4342
Thread.sleep(UPDATE_PERIOD_MILLIS);
4443
}

0 commit comments

Comments
 (0)