[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Rohrer updated CASSSIDECAR-209:
------------------------------------
                        Authors: Doug Rohrer
    Test and Documentation Plan: Pre-existing tests should cover this 
functionality.
                         Status: Patch Available  (was: Open)

> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to