egor-ryashin commented on a change in pull request #6349: maintenance mode for
Historical
URL: https://github.com/apache/incubator-druid/pull/6349#discussion_r222828384
##########
File path:
server/src/test/java/org/apache/druid/server/coordinator/DruidCoordinatorBalancerTest.java
##########
@@ -656,11 +659,19 @@ private DruidCoordinatorRuntimeParams
setupParamsForMaintenancePriority(int prio
)
.withDynamicConfigs(
CoordinatorDynamicConfig.builder()
- .withMaxSegmentsToMove(
- 1
-
).withMaintenanceModeSegmentsPriority(priority).build()
+ .withMaxSegmentsToMove(1)
+
.withMaintenanceModeSegmentsPriority(priority)
+ .build()
)
.withBalancerStrategy(strategy)
.build();
}
+
+ private static ImmutableMap<String, DataSegment>
segmentsToMap(DataSegment... segments)
+ {
+ return ImmutableMap.copyOf(
Review comment:
✅
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]