suneet-s commented on a change in pull request #11540:
URL: https://github.com/apache/druid/pull/11540#discussion_r682723640



##########
File path: 
server/src/main/java/org/apache/druid/server/coordinator/CoordinatorDynamicConfig.java
##########
@@ -732,7 +737,9 @@ public CoordinatorDynamicConfig build()
           : decommissioningMaxPercentOfMaxSegmentsToMove,
           pauseCoordination == null ? DEFAULT_PAUSE_COORDINATION : 
pauseCoordination,
           replicateAfterLoadTimeout == null ? 
DEFAULT_REPLICATE_AFTER_LOAD_TIMEOUT : replicateAfterLoadTimeout,
-          maxNonPrimaryReplicantsToLoad == null ? 
DEFAULT_MAX_NON_PRIMARY_REPLICANTS_TO_LOAD : maxNonPrimaryReplicantsToLoad
+          maxNonPrimaryReplicantsToLoad == null
+          ? DEFAULT_MAX_NON_PRIMARY_REPLICANTS_TO_LOAD

Review comment:
       I thought so too, but I used intelliJ's auto-format and this is what it 
came up with 🤷 

##########
File path: 
server/src/main/java/org/apache/druid/server/coordinator/CoordinatorDynamicConfig.java
##########
@@ -134,7 +136,7 @@ public CoordinatorDynamicConfig(
       // Keeping the legacy 'killPendingSegmentsSkipList' property name for 
backward compatibility. When the project is
       // updated to Jackson 2.9 it could be changed, see 
https://github.com/apache/druid/issues/7152
       @JsonProperty("killPendingSegmentsSkipList") Object 
dataSourcesToNotKillStalePendingSegmentsIn,
-      @JsonProperty("maxSegmentsInNodeLoadingQueue") int 
maxSegmentsInNodeLoadingQueue,
+      @JsonProperty(value = "maxSegmentsInNodeLoadingQueue") @Nullable Integer 
maxSegmentsInNodeLoadingQueue,

Review comment:
       oops will remove




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

Reply via email to