Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successful deletes of an index still adds history document #160

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

dbbaughe
Copy link
Contributor

@dbbaughe dbbaughe commented Oct 1, 2021

Signed-off-by: Drew Baugher [email protected]

Issue #, if available:
#159

Description of changes:
Previously when an index was successfully deleted by ISM it would just return early without adding a history document. This fixes that so we can see the successful delete in the history indices.

CheckList:

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2021

Codecov Report

Merging #160 (7cafc6a) into main (905c16e) will increase coverage by 0.13%.
The diff coverage is 50.00%.

❗ Current head 7cafc6a differs from pull request most recent head bb5b2ed. Consider uploading reports for the commit bb5b2ed to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##               main     #160      +/-   ##
============================================
+ Coverage     75.83%   75.96%   +0.13%     
- Complexity     1924     1933       +9     
============================================
  Files           260      260              
  Lines         11002    11096      +94     
  Branches       1723     1746      +23     
============================================
+ Hits           8343     8429      +86     
- Misses         1707     1711       +4     
- Partials        952      956       +4     
Impacted Files Coverage Δ
...agement/indexstatemanagement/ManagedIndexRunner.kt 55.70% <50.00%> (+0.76%) ⬆️
...ndexmanagement/transform/model/ExplainTransform.kt 53.84% <0.00%> (-23.08%) ⬇️
...ansform/action/explain/ExplainTransformResponse.kt 66.66% <0.00%> (-11.12%) ⬇️
...arch/indexmanagement/transform/TransformIndexer.kt 67.92% <0.00%> (-3.82%) ⬇️
...dexmanagement/transform/model/TransformMetadata.kt 85.54% <0.00%> (-3.62%) ⬇️
...opensearch/indexmanagement/rollup/RollupIndexer.kt 53.96% <0.00%> (-3.18%) ⬇️
.../opensearch/indexmanagement/rollup/model/Rollup.kt 83.96% <0.00%> (-2.11%) ⬇️
...ent/indexstatemanagement/util/ManagedIndexUtils.kt 78.01% <0.00%> (-1.21%) ⬇️
...management/indexstatemanagement/MetadataService.kt 60.86% <0.00%> (-1.09%) ⬇️
...t/indexstatemanagement/model/ManagedIndexConfig.kt 78.09% <0.00%> (-0.70%) ⬇️
... and 251 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 905c16e...bb5b2ed. Read the comment docs.

thalurur pushed a commit to thalurur/open-index-management that referenced this pull request Oct 22, 2021
@dbbaughe dbbaughe requested a review from thalurur December 3, 2021 21:53
thalurur
thalurur previously approved these changes Dec 3, 2021
thalurur
thalurur previously approved these changes Dec 3, 2021
@dbbaughe dbbaughe merged commit 527463c into opensearch-project:main Dec 3, 2021
@dbbaughe dbbaughe deleted the deletehistory branch December 3, 2021 22:43
downsrob pushed a commit to downsrob/index-management that referenced this pull request Mar 9, 2022
downsrob pushed a commit to downsrob/index-management that referenced this pull request Mar 9, 2022
downsrob pushed a commit that referenced this pull request Mar 9, 2022
wuychn pushed a commit to ochprince/index-management that referenced this pull request Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants