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

Checkpoint improvement #29

Merged
merged 4 commits into from
Nov 11, 2024
Merged

Conversation

alexwilcoxson-rel
Copy link
Collaborator

No description provided.

rtyler and others added 4 commits November 7, 2024 17:31
Both commits describe the specific fixes, but basically our checkpoint
code was collecting too much into memory when it could iterate!
:roller_coaster:

With a test table:

Before

`Maximum resident set size (kbytes): 19964728`

After

`Maximum resident set size (kbytes): 4017132`

Sponsored-by: [Scribd Inc](https://tech.scribd.com)

---------

Signed-off-by: R. Tyler Croy <rtyler@brokenco.de>
(cherry picked from commit c05931a)
For checkpoint buffers that cannot fit into the batch size the
checkpoint will be written with an insufficient number of bytes.

Unfortunately our tests didn't catch this and it only manifested on
tables with very large transaction logs

Signed-off-by: R. Tyler Croy <rtyler@brokenco.de>
(cherry picked from commit 264a0ec)
The default batch size is too large to build an on-demand "large table"
so the test is ignored by default

Signed-off-by: R. Tyler Croy <rtyler@brokenco.de>
(cherry picked from commit e19e21f)
Copy link

github-actions bot commented Nov 8, 2024

ACTION NEEDED

delta-rs follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

@alexwilcoxson-rel alexwilcoxson-rel merged commit 3e38d87 into v20.1-merge-patch Nov 11, 2024
2 of 3 checks passed
@alexwilcoxson-rel alexwilcoxson-rel deleted the checkpoint-improvement branch November 11, 2024 18:08
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.

3 participants