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

   ### What problem does this PR solve?
   
   An authorized `/rest/v1/system` request on a non-master FE forwards `SHOW 
PROC` with an HTTP context that has no negotiated MySQL capability. Reading 
that capability returns JSON business code 500. Skip MySQL protocol fields for 
this context while preserving forwarding for connections with an explicit 
capability.
   
   ### Release note
   
   Fix `/rest/v1/system` on non-master FEs.
   
   ### Check List (For Author)
   
   - Test: 21 targeted FE unit tests passed; Checkstyle passed. HTTP regression 
coverage added but not run locally (no cluster).
   - Behavior changed: Yes, authorized HTTP system requests can be forwarded 
successfully.
   - Does this need documentation: No.
   


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