Ezan-p commented on issue #11634: URL: https://github.com/apache/rocketmq/issues/11634#issuecomment-7212983527
I checked which topic the offline fallback actually asks NameServer for on RocketMQ 5.5.1 / JDK 17. I called both overloads of `DefaultMQAdminExtImpl.resetOffsetByTimestampOld` and recorded the argument to `examineTopicRouteInfo`, returning an empty route so the check stopped before any broker RPC. | Input topic | Four-argument overload | Five-argument overload with `-c` | | --- | --- | --- | | `%LMQ%child` | `%LMQ%child` | supplied parent topic | | `rmq_sys_wheel_timer` | `rmq_sys_wheel_timer` | supplied cluster name | | `Orders` | `Orders` | `Orders` | Passing `null` as the route argument also matched the four-argument result in all three cases. This gives two compatibility checks for the fix: ordinary topics keep their own route even when `-c` is supplied, and omitting `-c` preserves the existing lookup. This check covers route selection only. Verified with assistance from OpenAI Codex. -- 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]
