You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/07/05 13:48:47 UTC

[GH] (rocketmq/fix/ipv6-string2socketaddress): Workflow run "Build and Run Tests by Bazel" is working again!

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 <15...@qq.com>
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