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_r400528643
##########
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:
I disagree that it makes it harder since it provides a lot more context that
enhance logs/jconsole. most profilers won't be tricked (at least the ones I
use), so reports just have more context in the names; this change is not
required for the patch, so I will revert both.
I do plan to add these back though when I start working on the repair
observability tickets.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]