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

[Backport 2.5] Revert changes to exception message #805

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 553688a from #803

* Revert changes to exception message

We used to log "No RCF models are available either because RCF models are not ready..." and now we log "resource_not_found_exception: No checkpoints found for model id...". This change caused an integration test failure. This PR reverts it back.

Testing done:
1. verified that the original log is back.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* check NO_MODEL_ERR_MSG instead of NO_CHECKPOINT_ERR_MSG

Signed-off-by: Kaituo Li <kaituo@amazon.com>

---------

Signed-off-by: Kaituo Li <kaituo@amazon.com>
(cherry picked from commit 553688a)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team February 9, 2023 21:38
@kaituo kaituo requested review from amitgalitz and ohltyler February 9, 2023 21:40
@codecov-commenter
Copy link

Codecov Report

Merging #805 (44a4ad1) into 2.5 (44de1c4) will increase coverage by 0.05%.
The diff coverage is 33.33%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Impacted file tree graph

@@             Coverage Diff              @@
##                2.5     #805      +/-   ##
============================================
+ Coverage     79.33%   79.38%   +0.05%     
- Complexity     4309     4314       +5     
============================================
  Files           307      307              
  Lines         18144    18144              
  Branches       1909     1909              
============================================
+ Hits          14394    14404      +10     
+ Misses         2828     2821       -7     
+ Partials        922      919       -3     
Flag Coverage Δ
plugin 79.38% <33.33%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...opensearch/ad/ExecuteADResultResponseRecorder.java 75.17% <0.00%> (ø)
...rg/opensearch/ad/constant/CommonErrorMessages.java 98.33% <ø> (ø)
...rch/ad/transport/AnomalyResultTransportAction.java 80.91% <50.00%> (ø)
...ain/java/org/opensearch/ad/model/ModelProfile.java 70.90% <0.00%> (-1.82%) ⬇️
...opensearch/ad/indices/AnomalyDetectionIndices.java 72.31% <0.00%> (+0.18%) ⬆️
...ain/java/org/opensearch/ad/task/ADTaskManager.java 77.50% <0.00%> (+0.37%) ⬆️
...java/org/opensearch/ad/task/ADBatchTaskRunner.java 81.10% <0.00%> (+0.44%) ⬆️
...ansport/handler/AnomalyResultBulkIndexHandler.java 87.09% <0.00%> (+3.22%) ⬆️

@amitgalitz amitgalitz merged commit 4eda9fd into 2.5 Feb 9, 2023
@github-actions github-actions bot deleted the backport/backport-803-to-2.5 branch February 9, 2023 22:34
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