mirror of https://github.com/apache/druid.git
address cr
This commit is contained in:
parent
10d45ab9cf
commit
f518c53008
|
@ -90,7 +90,7 @@ public class DruidCoordinatorRuleRunner implements DruidCoordinatorHelper
|
||||||
DateTime now = new DateTime();
|
DateTime now = new DateTime();
|
||||||
MetadataRuleManager databaseRuleManager = paramsWithReplicationManager.getDatabaseRuleManager();
|
MetadataRuleManager databaseRuleManager = paramsWithReplicationManager.getDatabaseRuleManager();
|
||||||
|
|
||||||
final List<String> segmentsWithMissingRules = Lists.newArrayListWithCapacity(10);
|
final List<String> segmentsWithMissingRules = Lists.newArrayListWithCapacity(MAX_MISSING_RULES);
|
||||||
int missingRules = 0;
|
int missingRules = 0;
|
||||||
for (DataSegment segment : paramsWithReplicationManager.getAvailableSegments()) {
|
for (DataSegment segment : paramsWithReplicationManager.getAvailableSegments()) {
|
||||||
List<Rule> rules = databaseRuleManager.getRulesWithDefault(segment.getDataSource());
|
List<Rule> rules = databaseRuleManager.getRulesWithDefault(segment.getDataSource());
|
||||||
|
|
Loading…
Reference in New Issue