Primary shard failure with initializing replica shards can cause the replica shard to cause allocation failures
fixes #2592