[
https://issues.apache.org/jira/browse/CASSSIDECAR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Rohrer updated CASSSIDECAR-209:
------------------------------------
Change Category: Operability
Complexity: Normal
Component/s: Rest API
Assignee: Doug Rohrer
Status: Open (was: Triage Needed)
Fixed in [https://github.com/apache/cassandra-sidecar/pull/191]
> HealthCheckPeriodicTask leak in Sidecar
> ---------------------------------------
>
> Key: CASSSIDECAR-209
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-209
> Project: Sidecar for Apache Cassandra
> Issue Type: Task
> Components: Rest API
> Reporter: Doug Rohrer
> Assignee: Doug Rohrer
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In an attempt to stop the health check tasks once the server process is
> shutting down, {{HealthCheckPeriodicTask}} registers a listener on the event
> bus every time it is scheduled to unschedule itself. However, this handler
> only needs to be added once, not every time the task is scheduled. We should
> register it when we create the HealthCheckPeriodicTask, not every time it
> runs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]