[ https://issues.apache.org/jira/browse/CASSANDRASC-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francisco Guerrero updated CASSANDRASC-80: ------------------------------------------ Test and Documentation Plan: Added tests to make sure we cover the case where instances are empty Status: Patch Available (was: In Progress) > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org