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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: #54291
   
   Problem Summary:
   
   The BE Azure client path computes a normalized container URI, but passes the 
original URI to `AzureAuthFactory::create`. If the configured endpoint produces 
duplicate path separators, BE can therefore create its Azure client with a 
non-canonical path while Recycler uses the normalized path.
   
   This change passes `normalized_uri` to the client factory so BE and Recycler 
use the same Azure container identity.
   
   ### Release note
   
   Fix Azure object storage client creation when the configured endpoint 
produces duplicate path separators.
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [ ] Unit Test
       - [x] Manual test (add detailed scripts or steps below)
           - Azure-enabled syntax compilation of `be/src/util/s3_util.cpp` 
passed using the ASAN UT compile command.
           - Static source validation confirms both BE and Recycler pass 
normalized URIs to `AzureAuthFactory::create`.
           - The full `S3ClientFactoryTest.*` build was attempted, but the 
configured prebuilt dependency bundle lacks `simdutf.h` and `libsimdutf.a`.
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. BE now passes the normalized Azure container URI to the 
client factory, matching Recycler.
   
   - 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