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

[Remote State] Fix component name for ClusterState custom #14477

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

shiv0408
Copy link
Member

Description

We are expecting component name for ClusterState.Custom to be of cluster-state-custom--<custom_name>. This was missed during refactoring while PR review and there were no test to catch this change. For tests, I am already working on more tests in #14476.

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Copy link
Contributor

✅ Gradle check result for df4ef05: SUCCESS

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.62%. Comparing base (b15cb0c) to head (df4ef05).
Report is 463 commits behind head on main.

Files Patch % Lines
...arch/gateway/remote/RemoteClusterStateService.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #14477      +/-   ##
============================================
+ Coverage     71.42%   71.62%   +0.20%     
- Complexity    59978    62060    +2082     
============================================
  Files          4985     5118     +133     
  Lines        282275   291978    +9703     
  Branches      40946    42211    +1265     
============================================
+ Hits         201603   209138    +7535     
- Misses        63999    65600    +1601     
- Partials      16673    17240     +567     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shwetathareja shwetathareja merged commit 3a516cf into opensearch-project:main Jun 21, 2024
51 of 53 checks passed
@shwetathareja shwetathareja added the backport 2.x Backport to 2.x branch label Jun 21, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 21, 2024
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
(cherry picked from commit 3a516cf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@shiv0408 shiv0408 deleted the fix_OutOfIndexError branch June 21, 2024 07:16
shwetathareja pushed a commit that referenced this pull request Jun 21, 2024
(cherry picked from commit 3a516cf)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
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>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 21, 2024
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
(cherry picked from commit 3a516cf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
shwetathareja pushed a commit that referenced this pull request Jun 21, 2024
(cherry picked from commit 3a516cf)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
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>
@dblock
Copy link
Member

dblock commented Jun 21, 2024

@shiv0408 I understand you wanted this in 2.15 ideally so it had to go fast. Are you writing a test for this?

@shiv0408
Copy link
Member Author

@dblock Yes, I am working on adding tests for this class as a whole. I have linked the WIP PR for that, I could not finish the tests today. I will be adding more tests over the week and make the PR ready to review by Monday.

harshavamsi pushed a commit to harshavamsi/OpenSearch that referenced this pull request Jul 12, 2024
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
kkewwei pushed a commit to kkewwei/OpenSearch that referenced this pull request Jul 24, 2024
…opensearch-project#14485)

(cherry picked from commit 3a516cf)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
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>
Signed-off-by: kkewwei <kkewwei@163.com>
wdongyu pushed a commit to wdongyu/OpenSearch that referenced this pull request Aug 22, 2024
Signed-off-by: Shivansh Arora <hishiv@amazon.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.

3 participants