-
Notifications
You must be signed in to change notification settings - Fork 486
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
fraidev
force-pushed
the
fix_batch_size_2
branch
4 times, most recently
from
September 26, 2024 21:07
5ac1aa8
to
98b8ee1
Compare
fraidev
changed the title
Fix batch size 2
feat: fix record size bigger than batch size
Sep 26, 2024
fraidev
force-pushed
the
fix_batch_size_2
branch
from
September 26, 2024 21:12
98b8ee1
to
d711d12
Compare
fraidev
commented
Sep 26, 2024
fraidev
force-pushed
the
fix_batch_size_2
branch
5 times, most recently
from
September 26, 2024 22:51
c389a59
to
86b114e
Compare
fraidev
force-pushed
the
fix_batch_size_2
branch
3 times, most recently
from
September 26, 2024 23:25
caa9179
to
e8479a3
Compare
digikata
reviewed
Sep 26, 2024
digikata
reviewed
Sep 26, 2024
fraidev
force-pushed
the
fix_batch_size_2
branch
3 times, most recently
from
September 27, 2024 14:24
f1bf7b2
to
f53eeee
Compare
should link PR to issue and more detail explanation how should work |
Sure! Should fix #4161 |
fraidev
force-pushed
the
fix_batch_size_2
branch
from
September 29, 2024 19:03
f53eeee
to
be8ba8c
Compare
sehz
reviewed
Sep 29, 2024
sehz
reviewed
Sep 29, 2024
sehz
reviewed
Sep 29, 2024
fraidev
force-pushed
the
fix_batch_size_2
branch
2 times, most recently
from
September 29, 2024 21:23
7a39f30
to
97c1bc1
Compare
fraidev
force-pushed
the
fix_batch_size_2
branch
from
October 14, 2024 19:24
a75ca78
to
68d2982
Compare
fraidev
force-pushed
the
fix_batch_size_2
branch
5 times, most recently
from
October 14, 2024 22:09
be1be20
to
04e144d
Compare
fraidev
force-pushed
the
fix_batch_size_2
branch
5 times, most recently
from
October 15, 2024 02:44
678a41f
to
c1f6e4e
Compare
fraidev
force-pushed
the
fix_batch_size_2
branch
from
October 15, 2024 02:50
c1f6e4e
to
539d7d2
Compare
sehz
requested changes
Oct 15, 2024
fraidev
force-pushed
the
fix_batch_size_2
branch
from
October 15, 2024 06:05
1e6e7cb
to
fd7fb17
Compare
fraidev
force-pushed
the
fix_batch_size_2
branch
from
October 15, 2024 06:06
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