summaryrefslogtreecommitdiff
path: root/core/src/main/java/org/elasticsearch/search/aggregations/bucket/range/ip/IpRangeAggregationBuilder.java
diff options
context:
space:
mode:
authorAli Beyad <ali@elastic.co>2016-12-07 22:21:09 -0500
committerAli Beyad <ali@elastic.co>2016-12-07 22:21:09 -0500
commit30bcb06606e19d91ddc5785d39d8879ab27dc769 (patch)
tree2a3b66e2c28ff43953419ef2acead148d21ff6d6 /core/src/main/java/org/elasticsearch/search/aggregations/bucket/range/ip/IpRangeAggregationBuilder.java
parent317866894ead4793057e44c797f94d3010061f8c (diff)
When shard data is still being fetched from nodes in the cluster,
the ReplicaShardAllocator, when in explain mode, would get the node decisions for all nodes in the cluster. The PrimaryShardAllocator neglected to do this and tried to use the shard fetch data in explain mode, which had not yet been fully fetched. This commit fixes this by ensuring the PrimaryShardAllocator gets node decisions in the same way the ReplicaShardAllocator does in explain mode, if shard data is still being fetched.
Diffstat (limited to 'core/src/main/java/org/elasticsearch/search/aggregations/bucket/range/ip/IpRangeAggregationBuilder.java')
0 files changed, 0 insertions, 0 deletions