Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Wrongly updating all three variants of rca.conf with the current one. #419

Merged
merged 2 commits into from
Sep 10, 2020

Conversation

yojs
Copy link
Contributor

@yojs yojs commented Sep 10, 2020

Fixes #: #421

Description of changes:

When we update the rca.conf with the new set of muted rcas/deciders/actions, the idea
is to pick each of rca.conf, rca_master.conf and rca_idle_master.conf
and update each of them with the latest set of muted *, keeping everything
else constant. The code before this would have made all files exactly alike.

Tests:
Ignoring the tests in this class. They will be later enabled as part of #422

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When we update the rca.conf with the new set of muted rcas/deciders/actions, the idea
is to pick each of rca.conf, rca_master.conf and rca_idle_master.conf
and update each of them with the latest set of muted *, keeping everything
else constant. The code before this would have made all files exactly alike.
@yojs yojs added the bug Something isn't working label Sep 10, 2020
sidheart
sidheart previously approved these changes Sep 10, 2020
rguo-aws
rguo-aws previously approved these changes Sep 10, 2020
@yojs yojs dismissed stale reviews from rguo-aws and sidheart via ff609cd September 10, 2020 20:17
@codecov
Copy link

codecov bot commented Sep 10, 2020

Codecov Report

Merging #419 into master will increase coverage by 0.51%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #419      +/-   ##
============================================
+ Coverage     69.60%   70.11%   +0.51%     
- Complexity     2397     2481      +84     
============================================
  Files           321      322       +1     
  Lines         14311    14571     +260     
  Branches       1189     1227      +38     
============================================
+ Hits           9961    10217     +256     
- Misses         3977     3990      +13     
+ Partials        373      364       -9     
Impacted Files Coverage Δ Complexity Δ
...erformanceanalyzer/rca/framework/core/RcaConf.java 54.20% <0.00%> (ø) 35.00 <0.00> (ø)
...lyzer/config/overrides/ConfigOverridesApplier.java 21.81% <0.00%> (-50.91%) 6.00% <0.00%> (-7.00%)
...rch/performanceanalyzer/config/PluginSettings.java 32.37% <0.00%> (-0.67%) 18.00% <0.00%> (+3.00%) ⬇️
...ormanceanalyzer/rest/QueryBatchRequestHandler.java 88.35% <0.00%> (ø) 37.00% <0.00%> (?%)
...ch/performanceanalyzer/PerformanceAnalyzerApp.java 60.50% <0.00%> (+0.33%) 15.00% <0.00%> (ø%)
...ceanalyzer/reader/ShardRequestMetricsSnapshot.java 99.61% <0.00%> (+0.76%) 21.00% <0.00%> (+1.00%)
...nceanalyzer/reader/MasterEventMetricsSnapshot.java 100.00% <0.00%> (+0.78%) 13.00% <0.00%> (+1.00%)
...performanceanalyzer/collectors/StatsCollector.java 92.06% <0.00%> (+0.79%) 36.00% <0.00%> (ø%)
...csearch/performanceanalyzer/rca/RcaController.java 83.98% <0.00%> (+0.97%) 46.00% <0.00%> (ø%)
...rch/performanceanalyzer/reader/MetricsEmitter.java 77.45% <0.00%> (+1.17%) 32.00% <0.00%> (+1.00%)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2566dd1...ff609cd. Read the comment docs.

@yojs yojs merged commit 4f39531 into master Sep 10, 2020
@yojs yojs deleted the faulty-update branch September 10, 2020 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants