kaisun2000 commented on a change in pull request #1185:
URL: https://github.com/apache/helix/pull/1185#discussion_r465432364
##########
File path:
helix-core/src/test/java/org/apache/helix/integration/manager/ClusterManager.java
##########
@@ -51,6 +55,9 @@ protected ClusterManager(String zkAddr, String clusterName,
String instanceName,
_clusterName = clusterName;
_instanceName = instanceName;
_type = type;
+ _uid = UID.getAndIncrement();
+
+ LOG.info("ClusterManager_watcher_{}_{}_{}_{} created, stacktrace {}",
_clusterName, _instanceName, _type.name(), _uid,
Thread.currentThread().getStackTrace());
Review comment:
You are right. Originally, the idea is that sync_start time, you don't
see which one is created as you want the creation context of the object, not
the creation context of the starting thread. Later, it turned the two places
are the same test class. so it does not really matter. Let me remove this one.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]