Allocation filtering seems to only take the into account the first filter. (DiscoveryNodeFilters.java)


(Michel Conrad) #1

When using something like:

index.routing.allocation.include.group = test
index.routing.allocation.include.group2 = test2

only one filter seems to get applied.

DiscoveryNodeFilters.java in the match function, we are iterating over the
filters, but only
the first filter gets applied, the loop over the filters seems to always
return
on the first iteration, ignoring the filters after the firstone.

Is this a bug, or am I missing the point. If a further recreation is
needed, I can
further look into the issue.

Michel

--


(system) #2