### Prerequisites - [x] I have searched existing test issues ### Test Scope Module: static-topic queue mapping table File: `rocketmq-namesrv/src/route/tables/topic_queue_mapping_table.rs` Coverage: extend table tests around replace, remove, and cleanup semantics. ### Test Cases - [ ] Re-registering the same topic and broker returns the previous mapping and stores the new mapping. - [ ] `remove_broker` returns `None` for an unknown topic and for an unknown broker. - [ ] Removing the last broker leaves an empty topic until `cleanup_empty_topics` removes it. - [ ] `remove_topic` returns all previous broker mappings for that topic. - [ ] Validate with `cargo test -p rocketmq-namesrv topic_queue_mapping_table`. ### Willing to contribute? - [ ] I can submit a PR for this
Prerequisites
Test Scope
Module: static-topic queue mapping table
File:
rocketmq-namesrv/src/route/tables/topic_queue_mapping_table.rsCoverage: extend table tests around replace, remove, and cleanup semantics.
Test Cases
remove_brokerreturnsNonefor an unknown topic and for an unknown broker.cleanup_empty_topicsremoves it.remove_topicreturns all previous broker mappings for that topic.cargo test -p rocketmq-namesrv topic_queue_mapping_table.Willing to contribute?