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/10/10 10:27:25 UTC

[GH] (rocketmq/fix/order-topic-conf-malformed-segment): Workflow run "Misspell Check" failed!

The GitHub Actions job "Misspell Check" on rocketmq.git/fix/order-topic-conf-malformed-segment has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
873f99fd5502a4ad7b4069d02671faf9ca6b2b9c / zjncs <18...@163.com>
[ISSUE #D8] Skip malformed orderTopicConf segments instead of aborting route conversion

topicRouteData2TopicPublishInfo parses each orderTopicConf segment with
split(":")[1] and Integer.parseInt without any guard, so a segment
without the brokerName:queueNum shape (or with a non-numeric count)
throws ArrayIndexOutOfBoundsException/NumberFormatException. The method
is called from updateTopicRouteInfoFromNameServer, whose catch clauses
only cover MQClientException/RemotingException, so the raw runtime
exception escapes through the route refresh: the topic never gets
publish info, producers keep failing to select queues for it, and the
only trace is an unrelated-looking stack trace in the client log.

orderTopicConf is a manually configured string stored on the nameserver;
a single mistyped segment should only drop its own queues and keep the
remaining valid brokers routable.

Signed-off-by: zjncs <18...@163.com>

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

With regards,
GitHub Actions via GitBox