[
https://issues.apache.org/jira/browse/CASSANDRASC-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSANDRASC-80:
---------------------------------
Reviewers: Yifan Cai, Yifan Cai
Status: Review In Progress (was: Patch Available)
+1 on the patch. Thank you for fixing the bug.
> HealthCheckPeriodicTask execute never completes the promise when instances
> are empty
> ------------------------------------------------------------------------------------
>
> Key: CASSANDRASC-80
> URL: https://issues.apache.org/jira/browse/CASSANDRASC-80
> Project: Sidecar for Apache Cassandra
> Issue Type: Bug
> Components: Rest API
> Reporter: Francisco Guerrero
> Assignee: Francisco Guerrero
> Priority: Normal
> Labels: pull-request-available
>
> When the {{HealthCheckPeriodicTask}} executes, and the instances are {{null}}
> or empty, the promise never completes. This prevents subsequent scheduled
> health checks to take place because the {{PeriodicTaskExecutor}} will only
> schedule the new task only if no other tasks are active. This makes the
> HealthCheckPeriodicTask to never perform health checks when this condition is
> encountered.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]