elasticsearch/elasticsearch — pull request #1434 by imotov (2011-11-01 02:25:20+00:00)
Title: Aliases should be processed when index routing changes

Found a bug in filtering aliases code. During initial recovery or shard relocations, IndicesClusterStateService doesn't process filtering aliases during cluster state update if metadata didn't change, even when an index with such aliases is allocated on the node. It manifests itself through InvalidAliasNameException when an unprocessed filtering alias is used in search queries.