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

perf: close partition writers concurrently #2984

Merged

Conversation

alexwilcoxson-rel
Copy link
Contributor

Description

In an edge case of having a delta writer with many partitions, the close operation can be quite slow as it closes the inner partition writers serially. This change makes the close concurrent.

Related Issue(s)

n/a

Documentation

n/a

…y partitions

(cherry picked from commit af17bb2)
Signed-off-by: Alex Wilcoxson <alex.wilcoxson@relativity.com>

chore: fmt
Copy link

codecov bot commented Nov 10, 2024

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Project coverage is 72.25%. Comparing base (7a3b3ec) to head (09a04a0).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/operations/writer.rs 81.81% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2984      +/-   ##
==========================================
- Coverage   72.26%   72.25%   -0.01%     
==========================================
  Files         128      128              
  Lines       40329    40336       +7     
  Branches    40329    40336       +7     
==========================================
+ Hits        29143    29145       +2     
- Misses       9334     9335       +1     
- Partials     1852     1856       +4     

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

@rtyler rtyler added this pull request to the merge queue Nov 12, 2024
Merged via the queue into delta-io:main with commit 9b733e3 Nov 12, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants