flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2490][FIX]Remove the retryForever check...
Date Tue, 11 Aug 2015 13:05:29 GMT
Github user mxm commented on the pull request:

    @HuangWHWHW `retryForever` is just a convenience variable for `maxRetry < 0`. Your
fix is correct because the loop will only execute if `maxRetry > 0` and thus not execute
at all if it should retry "forever". It would be great if you added a test that checks for
the correct number of retries. In case of infinite retries, just check up to a certain number
(e.g. 100 retries).

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message