This question already has an answer here:
- Handling read conflict in cassandra? 2 answers
Say we have three nodes(simple replica no sharding) i.e. N1,N2 and N3 with replication factor as 3.
- 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.
- How write conflict will be resolved here ?
- How can I ensure that write request to update the specific record goes to same node ? I believe this is possible through shard key ?