ndimiduk commented on code in PR #4459:
URL: https://github.com/apache/hbase/pull/4459#discussion_r887987946


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/MetaRegionLocationCache.java:
##########
@@ -91,8 +92,8 @@ public MetaRegionLocationCache(ZKWatcher zkWatcher) {
     ThreadFactory threadFactory = new 
ThreadFactoryBuilder().setDaemon(true).build();
     RetryCounterFactory retryFactory = new 
RetryCounterFactory(Integer.MAX_VALUE,
       SLEEP_INTERVAL_MS_BETWEEN_RETRIES, SLEEP_INTERVAL_MS_MAX);
-    threadFactory.newThread(() -> 
loadMetaLocationsFromZk(retryFactory.create(), ZNodeOpType.INIT))
-      .start();
+    threadFactory.newThread(Context.current()

Review Comment:
   This is a very good point. Let me consider this more carefully.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to