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

Fix: AsyncReadExt::read_buf() only reads at most 2MB per call #925

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Nov 8, 2023

Changelog

Fix: AsyncReadExt::read_buf() only reads at most 2MB per call

When streaming a snapshot chunk, it should repeatly read_buf() until
snapshot_max_chunk_size is full or read EOF.


This change is Reviewable

When streaming a snapshot chunk, it should repeatly `read_buf()` until
`snapshot_max_chunk_size` is full or read EOF.
@drmingdrmer drmingdrmer merged commit 872ef37 into databendlabs:main Nov 8, 2023
25 checks passed
@drmingdrmer drmingdrmer deleted the 45-fix-snapshot-chunk branch November 8, 2023 07:13
@drmingdrmer drmingdrmer mentioned this pull request Mar 9, 2024
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