Apache9 commented on code in PR #7117:
URL: https://github.com/apache/hbase/pull/7117#discussion_r2197202309
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncNonMetaRegionLocator.java:
##########
@@ -91,6 +95,9 @@ class AsyncNonMetaRegionLocator {
private final ConcurrentMap<TableName, TableCache> cache = new
ConcurrentHashMap<>();
+ // A chore service to invalidate table cache which table is not exist or
disabled.
+ private ChoreService metaCacheInvalidateChoreService;
Review Comment:
We scan schedule a new task at the end of the current task. And yes, you can
not do block waiting in the timer task, but since we are using AsyncTable here,
you can register a callback in the return CompletableFuture to avoid blocking
the timer thread.
--
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]