-
Notifications
You must be signed in to change notification settings - Fork 488
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
feat: fix record size larger than batch size #4195
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5ac1aa8
to
98b8ee1
Compare
98b8ee1
to
d711d12
Compare
fraidev
commented
Sep 26, 2024
c389a59
to
86b114e
Compare
caa9179
to
e8479a3
Compare
digikata
reviewed
Sep 26, 2024
digikata
reviewed
Sep 26, 2024
f1bf7b2
to
f53eeee
Compare
should link PR to issue and more detail explanation how should work |
Sure! Should fix #4161 |
f53eeee
to
be8ba8c
Compare
sehz
reviewed
Sep 29, 2024
sehz
reviewed
Sep 29, 2024
sehz
reviewed
Sep 29, 2024
7a39f30
to
97c1bc1
Compare
a75ca78
to
68d2982
Compare
be1be20
to
04e144d
Compare
678a41f
to
c1f6e4e
Compare
c1f6e4e
to
539d7d2
Compare
sehz
requested changes
Oct 15, 2024
1e6e7cb
to
fd7fb17
Compare
fd7fb17
to
da00b57
Compare
sehz
approved these changes
Oct 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Job. LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I propose to instead return an error when a record is bigger than the batch size, create a new batch with this single record without batch size limit.
I also propose adding a config variable called
max_request_size
.Also, I removed the
compression_coefficient
been used to calculate thebatch_size
, because I believe that compression should not be related with thebatch_size
.Should also fix: #4161