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

Handles remote transport exceptions in rollover #325

Merged
merged 2 commits into from
Nov 13, 2020

Conversation

dbbaughe
Copy link
Contributor

Issue #, if available:

Description of changes:
Wasn't correctly handling the remote transport exceptions in rollover which was showing a non so useful message in the cause when it fails.

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

@codecov
Copy link

codecov bot commented Nov 13, 2020

Codecov Report

Merging #325 (b7f495a) into master (4211d05) will decrease coverage by 0.37%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #325      +/-   ##
============================================
- Coverage     74.34%   73.97%   -0.38%     
+ Complexity     1188     1184       -4     
============================================
  Files           180      180              
  Lines          5996     5994       -2     
  Branches        900      899       -1     
============================================
- Hits           4458     4434      -24     
- Misses         1074     1094      +20     
- Partials        464      466       +2     
Impacted Files Coverage Δ Complexity Δ
...atemanagement/step/rollover/AttemptRolloverStep.kt 55.65% <0.00%> (+0.95%) 14.00 <0.00> (ø)
...statemanagement/model/destination/CustomWebhook.kt 65.21% <0.00%> (-28.99%) 12.00% <0.00%> (-2.00%)
...ent/rollup/action/explain/ExplainRollupResponse.kt 70.00% <0.00%> (-10.00%) 5.00% <0.00%> (-1.00%)
...anagement/indexstatemanagement/model/Transition.kt 64.61% <0.00%> (-3.08%) 5.00% <0.00%> (ø%)
...rch/indexmanagement/rollup/model/RollupMetadata.kt 26.19% <0.00%> (-1.79%) 3.00% <0.00%> (-3.00%)
...nt/indexstatemanagement/model/destination/Slack.kt 54.54% <0.00%> (+13.63%) 4.00% <0.00%> (+2.00%)

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 4211d05...35bccdc. Read the comment docs.

@dbbaughe dbbaughe merged commit 0735c91 into opendistro-for-elasticsearch:master Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Nov 13, 2020
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
dbbaughe added a commit that referenced this pull request Nov 13, 2020
* Explicitly sets replicas and shards to 1 for ISM history indices (#318)

* Handles remote transport exceptions in rollover (#325)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants