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.x] Revert changes to exception message #804

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 <[email protected]>

* check NO_MODEL_ERR_MSG instead of NO_CHECKPOINT_ERR_MSG

Signed-off-by: Kaituo Li <[email protected]>

---------

Signed-off-by: Kaituo Li <[email protected]>
(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:39
@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2023

Codecov Report

Merging #804 (02689b6) into 2.x (56110b7) will increase coverage by 0.04%.
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.x     #804      +/-   ##
============================================
+ Coverage     79.38%   79.42%   +0.04%     
- Complexity     4314     4318       +4     
============================================
  Files           307      307              
  Lines         18144    18144              
  Branches       1909     1909              
============================================
+ Hits          14403    14411       +8     
+ Misses         2825     2816       -9     
- Partials        916      917       +1     
Flag Coverage Δ
plugin 79.42% <33.33%> (+0.04%) ⬆️

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%> (+0.68%) ⬆️
...ansport/handler/AnomalyResultBulkIndexHandler.java 83.87% <0.00%> (-3.23%) ⬇️
.../main/java/org/opensearch/ad/NodeStateManager.java 75.16% <0.00%> (-1.31%) ⬇️
.../main/java/org/opensearch/ad/ml/CheckpointDao.java 69.74% <0.00%> (-0.64%) ⬇️
...java/org/opensearch/ad/task/ADBatchTaskRunner.java 81.55% <0.00%> (+0.29%) ⬆️
...ain/java/org/opensearch/ad/task/ADTaskManager.java 77.80% <0.00%> (+0.60%) ⬆️
...ava/org/opensearch/ad/task/ADHCBatchTaskCache.java 90.12% <0.00%> (+1.23%) ⬆️

@amitgalitz amitgalitz merged commit 360a50d into 2.x Feb 9, 2023
@github-actions github-actions bot deleted the backport/backport-803-to-2.x 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