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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary:
   
   CDC schema changes called the general HTTP query and table schema APIs with 
a hard-coded `admin` Basic Authentication header. This fails after the built-in 
admin password is changed, even though the CDC task already carries an 
FE-issued cluster token.
   
   Add a token-authenticated streaming schema-change endpoint that executes 
only on the master FE, allow the table schema endpoint to authenticate with the 
same token, and remove the CDC client's hard-coded admin header from both 
requests.
   
   ### Release note
   
   CDC schema changes no longer depend on the built-in admin password.
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
           - MySQL streaming schema-change regression
           - PostgreSQL streaming schema-change regression
       - [x] Unit Test
           - `StreamingJobActionSchemaChangeTest`: 3 tests passed
           - `SchemaChangeManagerTest`
       - [ ] Manual test
       - [ ] No need to test or manual test
   
   - Behavior changed:
       - [x] Yes. CDC schema-change and schema inspection requests use the 
FE-issued token instead of the built-in admin password; schema-change requests 
are accepted only by the master FE.
       - [ ] No.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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