Hi David 

Thanks for your answers. I have few questions too ,

*What will happen if datanode1 restarted while sending segments to 
datanode2*  

1. On datanode1 start-up, which will be become primary shard ?  Shard in 
 datanode1 or shard in datanode2 ?

2. If datanode1 becomes primary then how would it knows , how many amount 
of segments are transferred to datanode2 before restart happen? 

3. if datanode2 becomes primary , what will happen to already written 
segments (very earlier - pending segments to be copied)  ?


Ananth


-- 
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/c79d4e4c-00df-48a0-92fd-0d5b3e48f7fc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to