a2l007 commented on a change in pull request #11135:
URL: https://github.com/apache/druid/pull/11135#discussion_r620474349
##########
File path:
server/src/main/java/org/apache/druid/server/coordinator/CoordinatorDynamicConfig.java
##########
@@ -176,6 +184,22 @@ public CoordinatorDynamicConfig(
}
this.pauseCoordination = pauseCoordination;
this.replicateAfterLoadTimeout = replicateAfterLoadTimeout;
+
+ if (maxNonPrimaryReplicantsToLoad == null) {
Review comment:
Should we consider using 0 as an non-configured value and change the
check here? That would avoid the primitive type change.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]