Thanks David for your response.

I don’t understand what you’re saying, or maybe you don’t understand what 
happened.  Before the restart, my nodes weren’t distributed at all.  All 5 
shards for each index were one one node, and replication was set to 0.  I 
restarted the instance, and all of that was still true, but half of the 
nodes got assigned back to the one and only node and the other half 
remained unassigned.  I’d like to understand why a reboot led to a 
different state, a state that left the system unusable.

I played with the reroute API a bit.  That doesn’t help because I lose the 
shard data if I force the unassigned shards back onto the one node…they end 
up empty if I do that.

Maybe you’re only telling me how to recover given that creating a second 
node on the same instance has gotten all my data back online.  If so, 
thanks for that.  I’ll give what you’re saying a try to see if that helps. 
 My bigger concern is why I have to go through this, mainly because I’m 
worried it will be required every time I restart this instance.  I need to 
understand the issue here.

I don’t know if this helps at all, but the latest index that got created 
for the new day, with me running two nodes now, all got assigned to one of 
the two nodes.

Steve

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/37e7d26b-d2da-4d3b-bef9-4f65a1a33fe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to