I have a 25GB elasticsearch index and I have to add an analyzer to some fields, so I'm reindexing the entire index.
I wrote a ruby script that ran fine, but, this time, it behaved
oddly: when I was reaching the last docs (a bit over 10 million docs)
and, suddenly, my new index showed only half-ish the documents (5747957
out of 10902974-ish - and 13.34GB out of 25GB-ish) and went red. Funny
thing is the behaviour I watched on kopf plugin:
There is always one primary shard deallocated (as you can see, both
3's are unassigned, but they keep shifting to other shards every second
or so). On top of that, I've noticed this:
So, that disk space might be the issue too... and that one shard just won't initilize, it keeps that "1 shard initializing", but I'm not sure what's going on.
Could anyone shed some light on this issue?
Thanks in advance.