gianm commented on code in PR #18200:
URL: https://github.com/apache/druid/pull/18200#discussion_r2188621114
##########
server/src/main/java/org/apache/druid/client/BrokerServerView.java:
##########
@@ -157,11 +157,24 @@ public CallbackAction
segmentSchemasAnnounced(SegmentSchemas segmentSchemas)
segmentFilter
);
- baseView.registerServerRemovedCallback(
+ baseView.registerServerCallback(
exec,
- server -> {
- removeServer(server);
- return CallbackAction.CONTINUE;
+ new ServerCallback() {
+ @Override
+ public CallbackAction serverAdded(DruidServer server)
+ {
+ if (!server.getType().equals(ServerType.BROKER)) {
Review Comment:
Added a comment `We don't track brokers in this view.`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]