Prerequisites
Test Scope
Module: broker liveness table
File: rocketmq-namesrv/src/route/tables/live_table.rs
Coverage: extend existing BrokerLiveTable tests with timestamp boundary behavior and compatibility lookup helpers.
Test Cases
Willing to contribute?
Prerequisites
Test Scope
Module: broker liveness table
File:
rocketmq-namesrv/src/route/tables/live_table.rsCoverage: extend existing BrokerLiveTable tests with timestamp boundary behavior and compatibility lookup helpers.
Test Cases
BrokerLiveInfo::is_alivereturns true before the timeout and false at the exact timeout boundary.BrokerLiveInfo::is_aliveremains safe whencurrent_timeis earlier thanlast_update_timestamp.update_last_update_timestamp_by_addr_infopreserves timeout, data version, HA address, remote address, and channel id while updating only the timestamp.get_broker_by_addrandget_broker_info_by_addrreturnNonefor unknown broker addresses.cargo test -p rocketmq-namesrv live_table.Willing to contribute?