Skip to content

Resolve compile error in DefaultStreamPoller #18005

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

Merged
merged 1 commit into from
Apr 18, 2025

Conversation

gaobinlong
Copy link
Contributor

@gaobinlong gaobinlong commented Apr 18, 2025

Description

There's a compile error due to the both change in the DefaultStreamPoller class in the latest 2 PRs https://github.com/opensearch-project/OpenSearch/pull/17995/files#diff-f8b0b74e29348e27ce7f607a570e6fe30656f008a5296f637597aad55edbb293R218 and https://github.com/opensearch-project/OpenSearch/pull/17995/files#diff-f8b0b74e29348e27ce7f607a570e6fe30656f008a5296f637597aad55edbb293R218, need to replace the two parameters with the local variables.

image

Related Issues

No issue.

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: Binlong Gao <[email protected]>
@gaobinlong
Copy link
Contributor Author

@yupeng9 @varunbharadwaj please help to review, thanks!

Copy link
Contributor

❕ Gradle check result for 655f5a7: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link

codecov bot commented Apr 18, 2025

Codecov Report

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

Project coverage is 72.55%. Comparing base (cbaddd3) to head (655f5a7).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
...rch/indices/pollingingest/DefaultStreamPoller.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18005      +/-   ##
============================================
+ Coverage     72.51%   72.55%   +0.04%     
- Complexity    67108    67132      +24     
============================================
  Files          5475     5478       +3     
  Lines        309916   310034     +118     
  Branches      45060    45066       +6     
============================================
+ Hits         224725   224937     +212     
+ Misses        66895    66798      -97     
- Partials      18296    18299       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@varunbharadwaj
Copy link
Contributor

Thanks for the fix. LGTM.

@andrross andrross merged commit e61b6ab into opensearch-project:main Apr 18, 2025
59 of 61 checks passed
andrross pushed a commit that referenced this pull request Apr 22, 2025
andrross pushed a commit that referenced this pull request Apr 22, 2025
Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
andrross pushed a commit that referenced this pull request Apr 23, 2025
…config to poller (#18036)

* pass the maxPoll, timeout from config to poller (#17995)

(cherry picked from commit cf6ed3c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Resolve compile error (#18005)

Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>

---------

Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: gaobinlong <[email protected]>
x-INFiN1TY-x pushed a commit to x-INFiN1TY-x/OpenSearch_Local that referenced this pull request Apr 24, 2025
Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Tanishq Ranjan <[email protected]>
prudhvigodithi pushed a commit to prudhvigodithi/OpenSearch that referenced this pull request May 6, 2025
…config to poller (opensearch-project#18036)

* pass the maxPoll, timeout from config to poller (opensearch-project#17995)

(cherry picked from commit cf6ed3c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Resolve compile error (opensearch-project#18005)

Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>

---------

Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: gaobinlong <[email protected]>
Signed-off-by: Prudhvi Godithi <[email protected]>
Harsh-87 pushed a commit to Harsh-87/OpenSearch that referenced this pull request May 7, 2025
Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Harsh Kothari <[email protected]>
Harsh-87 pushed a commit to Harsh-87/OpenSearch that referenced this pull request May 7, 2025
Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Harsh Kothari <[email protected]>
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