[
https://issues.apache.org/jira/browse/CASSSIDECAR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926550#comment-17926550
]
Doug Rohrer commented on CASSSIDECAR-209:
-----------------------------------------
CI:
[https://app.circleci.com/pipelines/github/JeetKunDoug/cassandra-sidecar/125/workflows/1c9a71dc-b568-4bfd-b7f7-4d7a2b49c4cd]
> 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: 0.5h
> 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]