elasticsearch/elasticsearch — pull request #4238 by imotov (2013-11-23 22:05:56+00:00)
Title: Local primaries should be preferred to relocating primaries

To reproduce the bug use -Dtests.seed=5AB62524C9AB0489
Fixes #4237