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

   ### What problem does this PR solve?
   
   Problem Summary:
   
   In `LoadAction#splitHostAndPort`, the endpoint string (e.g. backend's
   `publicEndpoint` / `privateEndpoint`, in `host:port` format) was split by `:`
   to get the host and port. This does not work for IPv6 addresses since IPv6
   addresses themselves contain colons.
   
   This PR uses Guava's `HostAndPort.fromString` to parse the endpoint string,
   which correctly handles both IPv4 and IPv6 formats.
   
   ### Release note
   
   Fix stream load redirect failure when backend endpoint is an IPv6 address.
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
   
   - Behavior changed:
       - [x] No.
   
   - Does this need documentation?
       - [x] 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