Skip to content

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

Merged
reta merged 1 commit intoopensearch-project:2.xfrom
reta:backport/backport-17207-to-2.x
Mar 25, 2025
Merged

[Backport] [2.x] Fix Bug - Handle unsigned long in sorting order assertion of LongHashSet (#17207)#17676
reta merged 1 commit intoopensearch-project:2.xfrom
reta:backport/backport-17207-to-2.x

Conversation

@reta
Copy link
Copy Markdown
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 <shaikumm@amazon.com>

* renamed TestDocValuesUnsignedLongHashSet.java to DocValuesUnsignedLongHashSetTests.java

Signed-off-by: Shailesh Singh <shaikumm@amazon.com>

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

Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Shailesh Singh <shaileshkumarsingh260@gmail.com>

---------

Signed-off-by: Shailesh Singh <shaikumm@amazon.com>
Signed-off-by: Shailesh Singh <shaileshkumarsingh260@gmail.com>
Co-authored-by: Shailesh Singh <shaikumm@amazon.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
(cherry picked from commit 82bbdfb)
Signed-off-by: Andriy Redko <drreta@gmail.com>
@github-actions
Copy link
Copy Markdown
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.

@codecov
Copy link
Copy Markdown

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