The GitHub Actions job "Build and Run Tests by Bazel" on 
rocketmq.git/fix/ipv6-string2socketaddress has succeeded.
Run started by GitHub user itxaiohanglover (triggered by yx9o).

Head commit for run:
a1f57077b6a544a3ff8676bc8160024116f17d63 / itxaiohanglover <[email protected]>
Also fix SimpleChannel#parseSocketAddress for IPv6 addresses

As noted in PR review, SimpleChannel#parseSocketAddress used
address.split(":") which fails for IPv6 addresses like
[240e:...:2]:44880 — split produces more than 2 segments so the
method returns null, causing bornSocketAddress to be null and
triggering the NPE in CommitLog.

Use lastIndexOf(":") to split host:port and strip brackets from
IPv6 host, consistent with the NetworkUtil.string2SocketAddress fix.

Report URL: https://github.com/apache/rocketmq/actions/runs/28741576267

With regards,
GitHub Actions via GitBox

Reply via email to