You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2020/03/28 16:19:56 UTC

[GitHub] [cassandra] dcapwell commented on a change in pull request #482: CASSANDRA-15650 Fix flaky test org.apache.cassandra.distributed.test.*RepairCoordinatorFastTest

dcapwell commented on a change in pull request #482: CASSANDRA-15650 Fix flaky test org.apache.cassandra.distributed.test.*RepairCoordinatorFastTest
URL: https://github.com/apache/cassandra/pull/482#discussion_r399680186
 
 

 ##########
 File path: src/java/org/apache/cassandra/repair/RepairRunnable.java
 ##########
 @@ -227,8 +227,14 @@ private void complete(String msg)
 
     public void run()
     {
+        String previousName = Thread.currentThread().getName();
         try
         {
+            Thread.currentThread().setName(NamedThreadFactory.globalPrefix()
+                                           + "Repair Coordinator #" + cmd
+                                           + " id=" + parentSession
+                                           + " ks=" + keyspace
+                                           + " tables=" + options.getColumnFamilies());
 
 Review comment:
   Why do you say that? This is a common practice to make thread dumps easier to reason about. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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