You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yuhong Cheng (Jira)" <ji...@apache.org> on 2021/09/10 22:22:00 UTC
[jira] [Commented] (SAMZA-2651) Update failsafe version
[ https://issues.apache.org/jira/browse/SAMZA-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413409#comment-17413409 ]
Yuhong Cheng commented on SAMZA-2651:
-------------------------------------
Fixed by https://issues.apache.org/jira/browse/SAMZA-2591
> Update failsafe version
> -----------------------
>
> Key: SAMZA-2651
> URL: https://issues.apache.org/jira/browse/SAMZA-2651
> Project: Samza
> Issue Type: Bug
> Reporter: Ke Wu
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> failsafe 1.1.0 has a bug in retry policy:
> {code:java}
> if (delayNanos == -1 && delay != null && !delay.equals(Duration.NONE))
> delayNanos = delay.toNanos();
> else if (delayMin != null && delayMax != null)
> delayNanos = randomDelayInRange(delayMin.toNanos(), delayMin.toNanos(), Math.random());
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)