keith-turner commented on code in PR #4681:
URL: https://github.com/apache/accumulo/pull/4681#discussion_r1644654967


##########
server/compaction-coordinator/src/main/java/org/apache/accumulo/coordinator/CompactionCoordinator.java:
##########
@@ -150,6 +154,9 @@ protected CompactionCoordinator(ServerOpts opts, String[] 
args, AccumuloConfigur
     printStartupMsg();
     startCompactionCleaner(schedExecutor);
     startRunningCleaner(schedExecutor);
+    // TODO use refresh mechanism to avoid RPCs blocking on getting this count 
when it expires

Review Comment:
   No, that todo is probably an unneeded optimization that is not supported by 
any data.  I added some logging and removed the todo in 51770be.  In testing 
the log message locally noticed it would take a few ms the first count and 0ms 
for the 2nd count because its reading from zoocache. Thinking the logging can 
help if the counts ever turn out to be a problem.



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