[fix](sink) The issue with 2GB limit of protocol buffer#37990
Merged
yiguolei merged 1 commit intoapache:masterfrom Jul 22, 2024
Merged
[fix](sink) The issue with 2GB limit of protocol buffer#37990yiguolei merged 1 commit intoapache:masterfrom
yiguolei merged 1 commit intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Member
Author
|
run buildall |
yiguolei
reviewed
Jul 17, 2024
| } | ||
|
|
||
| /// The size limit of proto buffer message is 2G | ||
| if (result->ByteSizeLong() > std::numeric_limits<int32_t>::max()) { |
Contributor
There was a problem hiding this comment.
2G should be a config.
Set it to 1G.
TPC-H: Total hot run time: 40079 ms |
TPC-DS: Total hot run time: 173515 ms |
ClickBench: Total hot run time: 31 s |
yiguolei
reviewed
Jul 19, 2024
| Block block; | ||
| RETURN_IF_ERROR(VExprContext::get_output_block_after_execute_exprs(_output_vexpr_ctxs, | ||
| input_block, &block)); | ||
| constexpr static size_t MAX_BLOCK_SIZE = 1024L * 1024 * 1024; |
Contributor
There was a problem hiding this comment.
change the default value to 128MB
Member
Author
|
run buildall |
yiguolei
approved these changes
Jul 19, 2024
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 40073 ms |
TPC-DS: Total hot run time: 172333 ms |
ClickBench: Total hot run time: 31.04 s |
zclllyybb
approved these changes
Jul 22, 2024
dataroaring
pushed a commit
that referenced
this pull request
Jul 24, 2024
## Proposed changes ``` Fail to serialize doris.PFetchDataResult ``` If the size of `PFetchDataResult` is greater than 2G, protocol buffer cannot serialize the message.
mrhhsg
added a commit
to mrhhsg/doris
that referenced
this pull request
Aug 8, 2024
``` Fail to serialize doris.PFetchDataResult ``` If the size of `PFetchDataResult` is greater than 2G, protocol buffer cannot serialize the message.
mrhhsg
added a commit
to mrhhsg/doris
that referenced
this pull request
Aug 8, 2024
``` Fail to serialize doris.PFetchDataResult ``` If the size of `PFetchDataResult` is greater than 2G, protocol buffer cannot serialize the message.
yiguolei
pushed a commit
that referenced
this pull request
Aug 8, 2024
Closed
Merged
16 tasks
yiguolei
pushed a commit
that referenced
this pull request
Jun 20, 2025
…ontrolBlock (#49571) (#49639) ### What problem does this PR solve? Pick #37990 and #49571 Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: apache/doris-website#1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
This file contains hidden or 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
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.
Proposed changes
If the size of
PFetchDataResultis greater than 2G, protocol buffer cannot serialize the message.