heesung-sn commented on code in PR #19945:
URL: https://github.com/apache/pulsar/pull/19945#discussion_r1153678589
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/channel/ServiceUnitStateChannelImpl.java:
##########
@@ -1097,31 +1123,45 @@ private void doCleanup(String broker) throws
ExecutionException, InterruptedExce
}
- private Optional<ServiceUnitStateData> getRollForwardStateData(
- Set<String> availableBrokers, LoadManagerContext context, long
nextVersionId) {
- Optional<String> selectedBroker =
brokerSelector.select(availableBrokers, null, context);
+ private Optional<String> selectBroker(String serviceUnit) {
+ var namespaceBundle = getNamespaceBundle(serviceUnit);
+ if (namespaceBundle.getNamespaceObject().equals(SYSTEM_NAMESPACE)) {
Review Comment:
Nice catch. We shouldn't. Updated.
--
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]