Skip to content

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 <gbinlong@amazon.com>
@gaobinlong
Copy link
Contributor Author

@yupeng9 @varunbharadwaj please help to review, thanks!

@github-actions
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.

@codecov
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
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
andrross pushed a commit that referenced this pull request Apr 22, 2025
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
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 <gbinlong@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>

---------

Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: gaobinlong <gbinlong@amazon.com>
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 <gbinlong@amazon.com>
Signed-off-by: Tanishq Ranjan <tqranjan@amazon.com>
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 <gbinlong@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>

---------

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

4 participants