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

Return 429 for ConcurrencyLimitExceededException #2428

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

penghuo
Copy link
Collaborator

@penghuo penghuo commented Nov 9, 2023

Description

Return 429 for ConcurrencyLimitExceededException

Issues Resolved

n/a

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • 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.

YANG-DB
YANG-DB previously approved these changes Nov 9, 2023
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #2428 (b5a812a) into main (53fd85e) will increase coverage by 0.03%.
The diff coverage is 16.66%.

@@             Coverage Diff              @@
##               main    #2428      +/-   ##
============================================
+ Coverage     95.36%   95.39%   +0.03%     
- Complexity     4985     4990       +5     
============================================
  Files           478      478              
  Lines         13905    13910       +5     
  Branches        930      932       +2     
============================================
+ Hits          13260    13270      +10     
+ Misses          625      618       -7     
- Partials         20       22       +2     
Flag Coverage Δ
sql-engine 95.39% <16.66%> (+0.03%) ⬆️

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

Files Coverage Δ
...earch/sql/datasources/exceptions/ErrorMessage.java 40.00% <50.00%> (+40.00%) ⬆️
...sql/spark/rest/RestAsyncQueryManagementAction.java 0.00% <0.00%> (ø)

Signed-off-by: Peng Huo <[email protected]>
@penghuo penghuo self-assigned this Nov 10, 2023
@penghuo penghuo merged commit 2c230be into opensearch-project:main Nov 10, 2023
19 of 23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 10, 2023
* Return 429 for ConcurrencyLimitExceededException

Signed-off-by: Peng Huo <[email protected]>

* add UT

Signed-off-by: Peng Huo <[email protected]>

---------

Signed-off-by: Peng Huo <[email protected]>
(cherry picked from commit 2c230be)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
penghuo pushed a commit that referenced this pull request Nov 30, 2023
* Return 429 for ConcurrencyLimitExceededException



* add UT



---------


(cherry picked from commit 2c230be)

Signed-off-by: Peng Huo <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants