Skip to content

[Backport] [2.x] Fix Bug - Handle unsigned long in sorting order assertion of LongHashSet (#17207) #17676

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
Mar 25, 2025

Conversation

reta
Copy link
Contributor

@reta reta commented Mar 24, 2025

Backport of #17207 to 2.x

…Set (opensearch-project#17207)

* Fix Bug - handle unsigned long in assertion of LongHashSet

Signed-off-by: Shailesh Singh <[email protected]>

* renamed TestDocValuesUnsignedLongHashSet.java to DocValuesUnsignedLongHashSetTests.java

Signed-off-by: Shailesh Singh <[email protected]>

* Update server/src/main/java/org/opensearch/lucene/util/UnsignedLongHashSet.java

Co-authored-by: Andriy Redko <[email protected]>
Signed-off-by: Shailesh Singh <[email protected]>

---------

Signed-off-by: Shailesh Singh <[email protected]>
Signed-off-by: Shailesh Singh <[email protected]>
Co-authored-by: Shailesh Singh <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
(cherry picked from commit 82bbdfb)
Signed-off-by: Andriy Redko <[email protected]>
Copy link
Contributor

❕ Gradle check result for 7c1f9e3: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.snapshots.DedicatedClusterSnapshotRestoreIT.testSnapshotWithStuckNode

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 Mar 25, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 11 lines in your changes missing coverage. Please review.

Project coverage is 72.05%. Comparing base (87b4b91) to head (7c1f9e3).
Report is 5 commits behind head on 2.x.

Files with missing lines Patch % Lines
...va/org/apache/lucene/util/UnsignedLongHashSet.java 79.62% 4 Missing and 7 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #17676      +/-   ##
============================================
+ Coverage     72.02%   72.05%   +0.03%     
- Complexity    66032    66123      +91     
============================================
  Files          5342     5348       +6     
  Lines        307289   307550     +261     
  Branches      44848    44906      +58     
============================================
+ Hits         221316   221619     +303     
+ Misses        67505    67444      -61     
- Partials      18468    18487      +19     

☔ 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.

@reta reta merged commit 03b7d62 into opensearch-project:2.x Mar 25, 2025
68 checks passed
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