ctubbsii commented on a change in pull request #2283:
URL: https://github.com/apache/accumulo/pull/2283#discussion_r716989294
##########
File path: server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
##########
@@ -484,6 +485,17 @@ public void run() {
}
}).start();
+ Threads.createThread("Compaction fetcher", () -> {
+ while (true) {
+ try {
+ fetchCompactions();
+ } catch (Exception e) {
+ log.warn("{}", e.getMessage(), e);
+ }
+ sleepUninterruptibly(5, TimeUnit.SECONDS);
+ }
+ }).start();
+
Review comment:
> This is also currently being done for active scans. So if it's an
issue with the fetch compactions thread, we should do something with the scans
fetch as well.
Yeah, I saw that. It seems like it's a problem there, too. I'm not sure when
that got added, but we definitely don't need the monitor constantly talking to
every server in the cluster every 5 seconds, if the monitor doesn't even have
any active clients requesting pages.
--
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]