NUAAwqy opened a new pull request, #7415:
URL: https://github.com/apache/rocketmq-dashboard/pull/7415

   ### Which Issue(s) This PR Fixes
   
   - Fixes #7414
   
   ### Brief Description
   
   - `ProxyVO.connections` becomes a nullable `Integer`; 
`RocketMQClusterProvider.discoverProxies` no longer fabricates `0` for 
heartbeat-syncer-discovered proxies and leaves the field unset, which the 
console already renders as "unavailable" (`Proxy.tsx renderNumberMetric`). 
Metrics collectors that do measure connections keep setting the value.
   - `RealClusterProvider.toClusterVOs` keeps a registered cluster whose 
BrokerData rows are missing, listed with an empty broker set, so the platform 
views match what the NameServer reported and agree with 
`RocketMQClusterProvider`'s handling of the same topology.
   
   3 new JUnit tests were added; the two behaviour tests fail on the pre-fix 
code (2 failures) and the full cluster suites pass afterwards (104/104 green 
across RocketMQClusterProviderTest, RealClusterProviderTest, 
ClusterRepositoryImplTest, ClusterServiceTest, ProxyListToolHandlerTest).
   


-- 
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]

Reply via email to