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] Removed NOT_FOUND for empty results. (#6544) #6614

Merged
merged 1 commit into from
Mar 10, 2023
Merged

[Backport] [2.x] Removed NOT_FOUND for empty results. (#6544) #6614

merged 1 commit into from
Mar 10, 2023

Conversation

harshjain2
Copy link
Contributor

Description

Fix for the issue due to which 404 was returned when no PITs were present.
Backport to 2.x branch failed #6544

Issues Resolved

#5938

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

* Removed NOT_FOUND for empty results.

Signed-off-by: Harsh Jain <harshjai@amazon.com>

* Fixed failing tests.

Signed-off-by: Harsh Jain <harshjai@amazon.com>

* Removed unnecessary semi-colon.
Signed-off-by: Harsh Jain <harshjai@amazon.com>

Signed-off-by: Harsh Jain <harshjai@amazon.com>

* Added change log.
Signed-off-by: Harsh Jain <harshjai@amazon.com>

* Fixed formatting issues

Signed-off-by: Harsh Jain <harshjai@amazon.com>

* Backported to 2.x branch

Signed-off-by: Harsh Jain <harshjai@amazon.com>

* Removed duplicate entry as this entry is present under [Unrelease 2.x].

Signed-off-by: Harsh Jain <harshjai@amazon.com>

* Updated changelog to make it more meaningful.

Signed-off-by: Harsh Jain <harshjai@amazon.com>

---------

Signed-off-by: Harsh Jain <harshjai@amazon.com>
Co-authored-by: Harsh Jain <harshjai@amazon.com>
(cherry picked from commit 67a9b43)
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.snapshots.ConcurrentSnapshotsIT.testConcurrentOperationsLimit
      1 org.opensearch.snapshots.ConcurrentSnapshotsIT.classMethod
      1 org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=pit/10_basic/Delete all}

@codecov-commenter
Copy link

Codecov Report

Merging #6614 (a045b2f) into 2.x (fb0d7d7) will decrease coverage by 0.07%.
The diff coverage is n/a.

📣 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

@@             Coverage Diff              @@
##                2.x    #6614      +/-   ##
============================================
- Coverage     70.49%   70.43%   -0.07%     
+ Complexity    59343    59285      -58     
============================================
  Files          4800     4800              
  Lines        284649   284648       -1     
  Branches      41355    41355              
============================================
- Hits         200654   200482     -172     
- Misses        67262    67407     +145     
- Partials      16733    16759      +26     
Impacted Files Coverage Δ
...rg/opensearch/action/search/DeletePitResponse.java 60.00% <ø> (+1.93%) ⬆️

... and 509 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@reta reta changed the title Removed NOT_FOUND for empty results. (#6544) [Backport] [2.x] Removed NOT_FOUND for empty results. (#6544) Mar 10, 2023
@reta reta merged commit 775b672 into opensearch-project:2.x Mar 10, 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.

3 participants