forked from apache/accumulo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lowers memory burden of listing external compactions in monitor
Each request to the monitor for the list of external compactions would create a copy of the per compaction information in the o.a.a.m.r.c.RunningCompaction constructor. For many concurrent request when there are lots of external compactions running this could cause memory problems on the monitor. This commit changes the code to only create a single RunningCompaction object every 30 seconds that is used by all request. This should lower the amount of memory used as there are concurrent request or even refreshing the page really frequently.
- Loading branch information
1 parent
38952c9
commit f5dbd6b
Showing
2 changed files
with
45 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters