Jaydeepkumar Chovatia created CASSANDRA-20623:
-------------------------------------------------

             Summary: Stop AutoRepair threads 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


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]

Reply via email to