elasticsearch/elasticsearch — pull request #5499 by bleskes (2014-03-23 21:54:50+00:00)
Title: A master node operation can timeout in a rare race condition when a master has a connection which is quickly restored

If a master node operation comes on immediately after a connection problem to the master node, the operation will be rescheduled. If the connection is quickly restored and the same master is re-elected, a rare race condition can occur causing the operation to unjustly time out.