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

   ## Proposed changes
   
   Issue Number: close #xxx
   
   Introduced from #18949.
   In #18949, I caught the exception when setting session var on non-master FE, 
to ignore those exception.
   And the exception is thrown by calling `ErrorReport.reportDdlException()`, 
this method will also set the error msg
   in query state of connection context, which causing error result finally 
like.
   
   In this PR, I changed the method to use `throw new DdlException` directly, 
to avoid such error.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to