wirybeaver commented on code in PR #15203:
URL: https://github.com/apache/pinot/pull/15203#discussion_r2083226378
##########
pinot-broker/src/main/java/org/apache/pinot/broker/routing/instanceselector/BaseInstanceSelector.java:
##########
@@ -458,6 +471,19 @@ public Set<String> getServingInstances() {
return _segmentStates.getServingInstances();
}
+ @VisibleForTesting
+ int getGroup(String instanceID) {
+ int group = DEFAULT_SERVER_REPLICA_GROUP_OF_BROKER_VIEW;
+ ServerInstance server = _enabledServerStore.get(instanceID);
+ if (server == null) {
+ LOGGER.warn("Failed to find server {} in the enabledServerManager when
update segmentsMap for table {}",
Review Comment:
I cannot provide exact root cause at the moment. I did see this log during
my test where a big upsert table have Error segments. It seems that the server
was overloaded.
--
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]