You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Ke Wu (Jira)" <ji...@apache.org> on 2021/04/28 21:11:00 UTC

[jira] [Created] (SAMZA-2651) Update failsafe version

Ke Wu created SAMZA-2651:
----------------------------

             Summary: Update failsafe version
                 Key: SAMZA-2651
                 URL: https://issues.apache.org/jira/browse/SAMZA-2651
             Project: Samza
          Issue Type: Bug
            Reporter: Ke Wu
            Assignee: Ke Wu


failsafe 1.1 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)