-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Fix](group commit) Fix group commit forward required param fault #38265
[Fix](group commit) Fix group commit forward required param fault #38265
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
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.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 39765 ms
|
TPC-DS: Total hot run time: 174835 ms
|
ClickBench: Total hot run time: 31.84 s
|
…8265) ## Proposed changes <!--Describe your changes.--> The error message is: 2024-07-23 17:30:09.300 INFO [suite-thread-1] (StreamLoadAction.groovy:201) - Stream load elapsed 2050 ms, is http stream: true, response: nulljava.lang.IllegalStateException: Expect frontend stream load response code is 307, but meet 200 body: {"status":"FAILED","msg":"errCode = 2, detailMessage = Required field 'user' was not present! Struct: TMasterOpRequest(user:null, db:, sql:, clientNodeHost:172.20.48.85, clientNodePort:9010, groupCommitInfo:TGroupCommitInfo(getGroupCommitLoadBeId:true, groupCommitLoadTableId:10321, isCloud:false))"} The forward param `TMasterOpRequest`(FrontendService.thrift) has a required field `user`, which get from ConnectContext. So we set admin_user to ConnectContext to solve this problem.
…ache#38265) ## Proposed changes <!--Describe your changes.--> The error message is: 2024-07-23 17:30:09.300 INFO [suite-thread-1] (StreamLoadAction.groovy:201) - Stream load elapsed 2050 ms, is http stream: true, response: nulljava.lang.IllegalStateException: Expect frontend stream load response code is 307, but meet 200 body: {"status":"FAILED","msg":"errCode = 2, detailMessage = Required field 'user' was not present! Struct: TMasterOpRequest(user:null, db:, sql:, clientNodeHost:172.20.48.85, clientNodePort:9010, groupCommitInfo:TGroupCommitInfo(getGroupCommitLoadBeId:true, groupCommitLoadTableId:10321, isCloud:false))"} The forward param `TMasterOpRequest`(FrontendService.thrift) has a required field `user`, which get from ConnectContext. So we set admin_user to ConnectContext to solve this problem.
Proposed changes
The error message is:
2024-07-23 17:30:09.300 INFO [suite-thread-1] (StreamLoadAction.groovy:201) - Stream load elapsed 2050 ms, is http stream: true, response: nulljava.lang.IllegalStateException: Expect frontend stream load response code is 307, but meet 200
body: {"status":"FAILED","msg":"errCode = 2, detailMessage = Required field 'user' was not present! Struct: TMasterOpRequest(user:null, db:, sql:, clientNodeHost:172.20.48.85, clientNodePort:9010, groupCommitInfo:TGroupCommitInfo(getGroupCommitLoadBeId:true, groupCommitLoadTableId:10321, isCloud:false))"}
The forward param
TMasterOpRequest
(FrontendService.thrift) has a required fielduser
, which get from ConnectContext. So we set admin_user to ConnectContext to solve this problem.