You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/09/27 09:22:13 UTC
[GitHub] [doris] BiteTheDDDDt opened a new pull request, #13014: [Bug](load) fix core dump on big block load
BiteTheDDDDt opened a new pull request, #13014:
URL: https://github.com/apache/doris/pull/13014
# Proposed changes
Issue Number: close #13011
## Problem summary
Describe your changes.
## Checklist(Required)
1. Does it affect the original behavior:
- [ ] Yes
- [ ] No
- [ ] I don't know
2. Has unit tests been added:
- [ ] Yes
- [ ] No
- [ ] No Need
3. Has document been added or modified:
- [ ] Yes
- [ ] No
- [ ] No Need
4. Does it need to update dependencies:
- [ ] Yes
- [ ] No
5. Are there any changes that cannot be rolled back:
- [ ] Yes (If Yes, please explain WHY)
- [ ] No
## Further comments
If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #13014: [Bug](load) fix core dump on big block load
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13014:
URL: https://github.com/apache/doris/pull/13014#issuecomment-1272191612
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] HappenLee merged pull request #13014: [Bug](load) fix core dump on big block load
Posted by GitBox <gi...@apache.org>.
HappenLee merged PR #13014:
URL: https://github.com/apache/doris/pull/13014
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] HappenLee commented on a diff in pull request #13014: [Bug](load) fix core dump on big block load
Posted by GitBox <gi...@apache.org>.
HappenLee commented on code in PR #13014:
URL: https://github.com/apache/doris/pull/13014#discussion_r984178375
##########
be/src/util/block_compression.cpp:
##########
@@ -73,6 +73,13 @@ class Lz4BlockCompression : public BlockCompressionCodec {
}
Status compress(const Slice& input, faststring* output) override {
+ if (input.size > INT_MAX) {
Review Comment:
maybe we only need DCHECK here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] HappenLee commented on a diff in pull request #13014: [Bug](load) fix core dump on big block load
Posted by GitBox <gi...@apache.org>.
HappenLee commented on code in PR #13014:
URL: https://github.com/apache/doris/pull/13014#discussion_r981057768
##########
be/src/util/block_compression.cpp:
##########
@@ -73,6 +73,13 @@ class Lz4BlockCompression : public BlockCompressionCodec {
}
Status compress(const Slice& input, faststring* output) override {
+ if (input.size > INT_MAX) {
Review Comment:
unlikely ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] BiteTheDDDDt commented on a diff in pull request #13014: [Bug](load) fix core dump on big block load
Posted by GitBox <gi...@apache.org>.
BiteTheDDDDt commented on code in PR #13014:
URL: https://github.com/apache/doris/pull/13014#discussion_r982047866
##########
be/src/util/block_compression.cpp:
##########
@@ -73,6 +73,13 @@ class Lz4BlockCompression : public BlockCompressionCodec {
}
Status compress(const Slice& input, faststring* output) override {
+ if (input.size > INT_MAX) {
Review Comment:
For the compression of a block, this judgment is very lightweight, I don't think it is necessary to use `unlikely`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #13014: [Bug](load) fix core dump on big block load
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13014:
URL: https://github.com/apache/doris/pull/13014#issuecomment-1272191608
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org