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

Refactor online radix sorter #1156

Merged

Conversation

gregschohn
Copy link
Collaborator

@gregschohn gregschohn commented Nov 21, 2024

Description

Moves the TrackedFuture classes and OnlineRadixSorter into coreUtilities.

The only change to logic was to move some Jackson formatting from a class into a single test & taking a test dependency on Jackson. We did have an implementation dependency on jackson, but that's been converted to just a testDependency. It wasn't needed to build and makes the cost of using coreUtilities much greater for others.

  • Category: Refactoring
  • Why these changes are required? These could be valuable for other applications and libraries and carry no extra dependencies.
  • What is the old behavior before changes and new behavior after changes? No behavioral changes.

Issues Resolved

no issue, but related to 2128

Testing

gradle

Check List

  • New functionality includes testing
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@41e0b5d). Learn more about missing BASE report.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1156   +/-   ##
=======================================
  Coverage        ?   80.73%           
  Complexity      ?     2951           
=======================================
  Files           ?      400           
  Lines           ?    15104           
  Branches        ?     1021           
=======================================
  Hits            ?    12194           
  Misses          ?     2297           
  Partials        ?      613           
Flag Coverage Δ
unittests 80.73% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🚨 Try these New Features:

@gregschohn gregschohn marked this pull request as ready for review November 21, 2024 12:31
Copy link
Member

@chelma chelma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Happy to move more re-usable code out of the Replayer.

@gregschohn gregschohn merged commit d5b401c into opensearch-project:main Nov 21, 2024
17 checks passed
@gregschohn gregschohn deleted the RefactorOnlineRadixSorter branch December 10, 2024 15:45
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.

2 participants