Skip to content

[Fix](load) Fix uninitiated load_type (not a valid value for type) of StreamLoadContext when operate_txn_2pc #38033#38187

Merged
dataroaring merged 1 commit intoapache:branch-2.1from
liaoxin01:pick_38033_to_origin_branch-2.1
Jul 22, 2024
Merged

[Fix](load) Fix uninitiated load_type (not a valid value for type) of StreamLoadContext when operate_txn_2pc #38033#38187
dataroaring merged 1 commit intoapache:branch-2.1from
liaoxin01:pick_38033_to_origin_branch-2.1

Conversation

@liaoxin01
Copy link
Copy Markdown
Contributor

cherry pick from #38033

… StreamLoadContext when operate_txn_2pc (apache#38033)

/root/doris/be/src/runtime/stream_load/stream_load_executor.cpp:384:14:
runtime error: load of value 3200171710, which is not a valid value for
type 'TLoadType::type'
#0 0x55be4e2cf808 in
doris::StreamLoadExecutor::collect_load_stat(doris::StreamLoadContext*,
doris::TTxnCommitAttachment*)
/root/doris/be/src/runtime/stream_load/stream_load_executor.cpp:384:14
apache#1 0x55be4e2d2666 in
doris::StreamLoadExecutor::rollback_txn(doris::StreamLoadContext*)
/root/doris/be/src/runtime/stream_load/stream_load_executor.cpp:364:9
apache#2 0x55be80413748 in
doris::CloudStreamLoadExecutor::operate_txn_2pc(doris::StreamLoadContext*)
/root/doris/be/src/cloud/cloud_stream_load_executor.cpp:80:33
apache#3 0x55be50cad893 in
doris::StreamLoad2PCAction::handle(doris::HttpRequest*)
/root/doris/be/src/http/action/stream_load_2pc.cpp:85:49
@liaoxin01
Copy link
Copy Markdown
Contributor Author

run buildall

@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link
Copy Markdown

TeamCity be ut coverage result:
Function Coverage: 36.45% (9237/25341)
Line Coverage: 27.99% (75516/269752)
Region Coverage: 26.81% (38814/144790)
Branch Coverage: 23.56% (19715/83680)
Coverage Report: http://coverage.selectdb-in.cc/coverage/21991dc5ad3554458ce6cb9aaa0866adc3716db9_21991dc5ad3554458ce6cb9aaa0866adc3716db9/report/index.html

@dataroaring dataroaring merged commit ce1c268 into apache:branch-2.1 Jul 22, 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.

3 participants