hailin0 commented on code in PR #4048:
URL:
https://github.com/apache/incubator-seatunnel/pull/4048#discussion_r1095492942
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/task/SourceSplitEnumeratorTask.java:
##########
@@ -167,8 +168,17 @@ public void addSplitsBack(List<SplitT> splits, int
subtaskId) {
enumerator.addSplitsBack(splits, subtaskId);
}
- public void receivedReader(TaskLocation readerId, Address memberAddr) {
+ @SuppressWarnings("checkstyle:MagicNumber")
+ public void receivedReader(TaskLocation readerId, Address memberAddr)
throws InterruptedException {
LOGGER.info("received reader register, readerID: " + readerId);
+ int retry = 0;
+ while (!restoreComplete && retry++ < 500) {
Review Comment:
Define retries max via configuration item
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]