You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bernardo Botella Corbi (Jira)" <ji...@apache.org> on 2025/05/16 14:05:00 UTC

[jira] [Commented] (CASSANDRA-20623) Stop AutoRepair monitoring thread upon Cassandra shutdown

    [ https://issues.apache.org/jira/browse/CASSANDRA-20623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952135#comment-17952135 ] 

Bernardo Botella Corbi commented on CASSANDRA-20623:
----------------------------------------------------

I see this have already a patch right?
https://github.com/apache/cassandra/pull/4157

We also need a CI run.

Otherwise, I'm +1 on the patch on github.

> Stop AutoRepair monitoring thread upon Cassandra shutdown
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-20623
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20623
>             Project: Apache Cassandra
>          Issue Type: Task
>          Components: Consistency/Repair
>            Reporter: Jaydeepkumar Chovatia
>            Assignee: Jaydeepkumar Chovatia
>            Priority: Normal
>
> Reported by [~tolbertam] 
> The AutoRepair threads do not exit upon Cassandra shutdown. So, if we rerun the test in the same JVM multiple times, then threads add up.
> {code:java}
> ❯ cat jstack | grep prio | grep node1 | grep Repair-full | wc -l
>       14
> ❯ cat jstack | grep prio | grep node1 | grep RepairRunnable-full | wc -l
>       14 {code}
> The AutoRepair should watch for Cassandra shutdown handlers and stop the threads



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org