[
https://issues.apache.org/jira/browse/CASSANDRA-20623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952292#comment-17952292
]
Jaydeepkumar Chovatia commented on CASSANDRA-20623:
---------------------------------------------------
Merged it
[https://github.com/apache/cassandra/commit/7ab1e3827cc588aeb4c69ed1cf59e07b875dcc43]
Thank you [~bernardo.botella] and [~tolbertam] helping with the review!
> 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
> Attachments: CASSANDRA-20623-ci_summary.html
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]