0

This question already has an answer here:

Say we have three nodes(simple replica no sharding) i.e. N1,N2 and N3 with replication factor as 3.

  1. As read and write request can go to any node, Say Request two write request(to update the same record at same time) comes and both goes different nodes i.e. N1 and N2.
  2. How write conflict will be resolved here ?
  3. How can I ensure that write request to update the specific record goes to same node ? I believe this is possible through shard key ?

marked as duplicate by Philᵀᴹ, Marco, mustaccio, Vérace, hot2use Jun 20 '18 at 13:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.