mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 00:15:47 +00:00
Previously we treated attribute filtering for _tier-prefixed attributes a pass-through, meaning that they were essentially always treated as matching in DiscoveryNodeFilters.match, however, for exclude settings, this meant that the node was considered to match the node if a _tier* filter was specified. This commit prunes these attributes from the DiscoveryNodeFilters when considering the filters for FilterAllocationDecider so that they are only considered in DataTierAllocationDecider. Resolves #66679