[
https://issues.apache.org/jira/browse/CASSSIDECAR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926574#comment-17926574
]
Yifan Cai commented on CASSSIDECAR-209:
---------------------------------------
+1
> 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: 50m
> 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]