I've seen this as well Ivan, and have also had a few people on IRC comment
on the same thing - shards that are local are not simply being initialised,
but being reallocated elsewhere.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com


On 31 July 2014 03:54, Ivan Brusic <i...@brusic.com> wrote:

> The idea is that the cluster should be delayed when a cluster rebalance
> occurs, but even with these settings, I often find that shards are moved
> immediately.
>
> Are you using the default stores throttling settings? I found them to be
> quite low.
>
> Cheers,
>
> Ivan
>
>
> On Wed, Jul 30, 2014 at 6:02 AM, Andrew Davidoff <david...@qedmf.net>
> wrote:
>
>>
>>
>> On Tuesday, July 29, 2014 3:27:13 PM UTC-4, Ivan Brusic wrote:
>>>
>>> Have you changed your gateway settings? http://www.
>>> elasticsearch.org/guide/en/elasticsearch/reference/
>>> current/modules-gateway.html#recover-after
>>>
>>> It still remains a bit of black magic to me. Sometimes it works,
>>> sometimes it does not.
>>>
>>
>> Ivan,
>>
>> I have read over that documentation several times and I don't understand
>> how it would help me. By which I mean I honestly don't understand how it
>> would help me - not that I am unwilling to try it. Those settings read like
>> they control when recovery would begin, but my problem isn't that recovery
>> is starting when I don't want it to, it's that when I start it (by setting
>> shard allocation about to "all") shards that I'd think would just stick
>> with the node they were previously on, get assigned to other nodes, then
>> ultimately get rebalanced back to the original node.
>>
>> At this point I am finding that for quick restarts, just doing them with
>> no additional prep work allows me to recover in ~30m, vs ~24h. So for now
>> I'm just going to do that. Whatever I am doing wrong here just isn't at all
>> clear to me.
>>
>> Thanks for your advice. If I have misunderstood the settings you pointed
>> me at and you think you can help me understand, I'd be grateful for more
>> information.
>>
>> Andy
>>
>>
>>
>>> Cheers,
>>>
>>> Ivan
>>>
>>>
>>> On Mon, Jul 28, 2014 at 1:52 PM, Andrew Davidoff <davi...@qedmf.net>
>>> wrote:
>>>
>>>>  I guess I'll ask about this once more for now. This happened again
>>>> today. I set allocation to new_primaries, restarted a node, set allocation
>>>> back to all, and the cluster is assigning across all nodes the shards that
>>>> were on the restarted node, and when it's done, which will probably take a
>>>> day, it'll likely rebalance by moving them back to the original node. I
>>>> have to assume I'm doing something wrong here. Am I?
>>>>
>>>> Thanks for any advice.
>>>> Andy
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "elasticsearch" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to elasticsearc...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/elasticsearch/fc6ffe88-1a01-452e-b971-2b8fc222cba3%
>>>> 40googlegroups.com
>>>> <https://groups.google.com/d/msgid/elasticsearch/fc6ffe88-1a01-452e-b971-2b8fc222cba3%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  --
>> You received this message because you are subscribed to the Google Groups
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elasticsearch+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/b8cf076f-2494-4b0e-b6c3-5a21d1c9f9a1%40googlegroups.com
>> <https://groups.google.com/d/msgid/elasticsearch/b8cf076f-2494-4b0e-b6c3-5a21d1c9f9a1%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBnsTUiXYZVyUgnuU6k7nN8NJiwh2UK_JPTOhEVa8BCRA%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBnsTUiXYZVyUgnuU6k7nN8NJiwh2UK_JPTOhEVa8BCRA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624ZRRCJNbVBcaaJ_0dsSGou_xhx5g8wDGvdeZKV6XQ3qsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to