-
Notifications
You must be signed in to change notification settings - Fork 20
Conversation
Codecov Report
@@ Coverage Diff @@
## master #428 +/- ##
=========================================
Coverage ? 71.64%
Complexity ? 2564
=========================================
Files ? 323
Lines ? 14603
Branches ? 1228
=========================================
Hits ? 10462
Misses ? 3753
Partials ? 388 Continue to review full report at Codecov.
|
CacheClearAction action = CacheClearAction | ||
.newBuilder(appContext).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: same line?
Map<NodeKey, ImpactVector> impactedMap = new HashMap<>(); | ||
impactedNodes.forEach(node -> { | ||
ImpactVector impactVector = new ImpactVector(); | ||
impactVector.decreasesPressure(HEAP); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this action increase CPU
pressure? Although, since this is an SoS action, we want it to go through and not get punted due to an existing high CPU metric. So it's probably okay to not include that as an impact (also may not always increase CPU if the cache items were not really being used).
commit 240e046 Author: Joydeep Sinha <[email protected]> Date: Thu Sep 24 10:53:01 2020 -0700 Update PULL_REQUEST_TEMPLATE.md commit 5bd53d5 Author: Sruti Parthiban <[email protected]> Date: Wed Sep 23 11:07:02 2020 -0700 Persist published actions in sqlite (#433) * Persist actions in sqlite * Address PR comments commit dfa9c22 Author: Ruizhen Guo <[email protected]> Date: Tue Sep 22 13:05:11 2020 -0700 Fix cache action to handle unbounded fielddata cache (#432) commit f67e668 Author: Ruizhen Guo <[email protected]> Date: Mon Sep 21 14:48:04 2020 -0700 enable JVM decider in graph (#431) commit abc7b12 Author: Vigya Sharma <[email protected]> Date: Fri Sep 18 10:47:44 2020 -0700 Rename config folder to configs (#429) commit 4eadc4e Author: Ruizhen Guo <[email protected]> Date: Fri Sep 18 10:42:53 2020 -0700 Add cache clear action in JVM decider (#428) commit 54e61c5 Author: Karthik Kumarguru <[email protected]> Date: Thu Sep 17 11:33:37 2020 -0700 Re enable config overrides test (#427)
Fixes #:
Description of changes:
Add cache clear action in JVM decider. This action will be issued when the heap usage(after full GC) is above 90%. The default cool off period of this action is 30 mins
Tests:
created unit tests for this action type
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.