mirror of https://github.com/apache/druid.git
fix defaults
This commit is contained in:
parent
627447c6f8
commit
b3eb4cc5da
|
@ -38,7 +38,7 @@ public class PriorityTieredBrokerSelectorStrategy implements TieredBrokerSelecto
|
||||||
@JsonProperty("maxPriority") Integer maxPriority
|
@JsonProperty("maxPriority") Integer maxPriority
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
this.minPriority = minPriority == null ? 0 : minPriority;
|
this.minPriority = minPriority == null ? 1 : minPriority;
|
||||||
this.maxPriority = maxPriority == null ? 1 : maxPriority;
|
this.maxPriority = maxPriority == null ? 1 : maxPriority;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class TieredBrokerConfig
|
||||||
@NotNull
|
@NotNull
|
||||||
private List<TieredBrokerSelectorStrategy> strategies = Arrays.asList(
|
private List<TieredBrokerSelectorStrategy> strategies = Arrays.asList(
|
||||||
new TimeBoundaryTieredBrokerSelectorStrategy(),
|
new TimeBoundaryTieredBrokerSelectorStrategy(),
|
||||||
new PriorityTieredBrokerSelectorStrategy(0, 0)
|
new PriorityTieredBrokerSelectorStrategy(1, 1)
|
||||||
);
|
);
|
||||||
|
|
||||||
// tier, <bard, numThreads>
|
// tier, <bard, numThreads>
|
||||||
|
|
Loading…
Reference in New Issue