You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "morningman (via GitHub)" <gi...@apache.org> on 2023/04/23 05:24:48 UTC

[GitHub] [doris] morningman opened a new pull request, #18949: [fix](session-var) ignore exception when setting global only var in non master FE

morningman opened a new pull request, #18949:
URL: https://github.com/apache/doris/pull/18949

   # Proposed changes
   
   Issue Number: close #xxx
   
   ## Problem summary
   
   Introduced from #18609.
   
   When setting global variables from Non Master FE, there will be error like:
   
   `Variable 'password_history' is a GLOBAL variable and should be set with SET GLOBAL`
   
   Because when setting global variables from Non Master FE, Doris will do following step:
   
   1. forward this SetStmt to Master FE to execute.
   2. Change this SetStmt to "SESSION" level, and execute it again on this Non Master FE.
   
   But for "GLOBAL only" variable, such ash "password_history", it doesn't allow to set on SESSION level.
   So when doing step 2, "set password_history=xxx" without "GLOBAL" keywords will throw exception.
   So in this case, we should just ignore this exception and return.
   
   ## Checklist(Required)
   
   * [ ] Does it affect the original behavior
   * [ ] Has unit tests been added
   * [ ] Has document been added or modified
   * [ ] Does it need to update dependencies
   * [ ] Is this PR support rollback (If NO, please explain WHY)
   
   ## 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] morningman commented on pull request #18949: [fix](session-var) ignore exception when setting global only var in non master FE

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #18949:
URL: https://github.com/apache/doris/pull/18949#issuecomment-1519014538

   run buildall


-- 
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] morningman commented on pull request #18949: [fix](session-var) ignore exception when setting global only var in non master FE

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #18949:
URL: https://github.com/apache/doris/pull/18949#issuecomment-1520955517

   run buildall


-- 
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] morningman commented on pull request #18949: [fix](session-var) ignore exception when setting global only var in non master FE

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #18949:
URL: https://github.com/apache/doris/pull/18949#issuecomment-1518947290

   run buildall


-- 
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 #18949: [fix](session-var) ignore exception when setting global only var in non master FE

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #18949:
URL: https://github.com/apache/doris/pull/18949#issuecomment-1521083855

   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


[GitHub] [doris] github-actions[bot] commented on pull request #18949: [fix](session-var) ignore exception when setting global only var in non master FE

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #18949:
URL: https://github.com/apache/doris/pull/18949#issuecomment-1521083874

   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] hello-stephen commented on pull request #18949: [fix](session-var) ignore exception when setting global only var in non master FE

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #18949:
URL: https://github.com/apache/doris/pull/18949#issuecomment-1519029542

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 34.85 seconds
    stream load tsv:          429 seconds loaded 74807831229 Bytes, about 166 MB/s
    stream load json:         24 seconds loaded 2358488459 Bytes, about 93 MB/s
    stream load orc:          59 seconds loaded 1101869774 Bytes, about 17 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230423104159_clickbench_pr_133336.html


-- 
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] morningman merged pull request #18949: [fix](session-var) ignore exception when setting global only var in non master FE

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #18949:
URL: https://github.com/apache/doris/pull/18949


-- 
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