I want to understand the write operation in detail for SolrCloud and had a few questions on the architecture:
Does Zookeeper send document write request to all leaders?
solrwiki:Each shard can exist in multiple copies; these copies of the same shard are called replicas. One of the replicas within a shard is the leader, designated by a leader-election process.
Cloud has leaders and replicas so do all leaders run the hashing process described below before indexing a document or is a particular leader responsible for it?
Solr Wiki: document ID is used to calculate the hash Solr uses to determine the shard a document is sent to for indexing.
if document indexing fails due to some reason(leader goes down) then does slave node try to reindex that document or what is failover mechanism?
The write operation is considered as completed only when all replicas within a shard are successfully indexed the document. true or false?