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

msgpack: increase max_buffer_size to ~4GiB #8439

Merged

Conversation

ThomasWaldmann
Copy link
Member

@ThomasWaldmann ThomasWaldmann commented Oct 1, 2024

as borg now uses repository.store_load and .store_save to load and save the chunks cache, we need a rather high limit here.

this is a quick fix, the real fix might be using chunks of the data (preferably <= MAX_OBJECT_SIZE), so there is less to unpack at once.

see #8440.

as borg now uses repository.store_load and .store_save to load
and save the chunks cache, we need a rather high limit here.

this is a quick fix, the real fix might be using chunks of the
data (preferably <= MAX_OBJECT_SIZE), so there is less to unpack
at once.
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.52%. Comparing base (358ceab) to head (e251162).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8439      +/-   ##
==========================================
+ Coverage   81.24%   81.52%   +0.28%     
==========================================
  Files          70       70              
  Lines       12799    12799              
  Branches     2325     2325              
==========================================
+ Hits        10399    10435      +36     
+ Misses       1736     1705      -31     
+ Partials      664      659       -5     

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

@ThomasWaldmann ThomasWaldmann merged commit e2198ab into borgbackup:master Oct 1, 2024
16 checks passed
@ThomasWaldmann ThomasWaldmann deleted the fix-msgpack-max-buffer-size branch October 1, 2024 19:24
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.

1 participant