[jira] [Created] (FLINK-9546) The heartbeatTimeoutIntervalMs of HeartbeatMonitor should be larger than 0

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-9546) The heartbeatTimeoutIntervalMs of HeartbeatMonitor should be larger than 0

Shang Yuanchun (Jira)
Sihua Zhou created FLINK-9546:
---------------------------------

             Summary: The heartbeatTimeoutIntervalMs of HeartbeatMonitor should be larger than 0
                 Key: FLINK-9546
                 URL: https://issues.apache.org/jira/browse/FLINK-9546
             Project: Flink
          Issue Type: Bug
          Components: Core
            Reporter: Sihua Zhou
            Assignee: Sihua Zhou


The heartbeatTimeoutIntervalMs of HeartbeatMonitor should be larger than 0, currently the arg check looks like
{code:java}
Preconditions.checkArgument(heartbeatTimeoutIntervalMs >= 0L, "The heartbeat timeout interval has to be larger than 0.");
{code}

it should be
{code:java}
Preconditions.checkArgument(heartbeatTimeoutIntervalMs > 0L, "The heartbeat timeout interval has to be larger than 0.");
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)