3 ms·
If there is a partition and you want to execute a write on both sides of the partition, both sides can wait, but eventually one side wins and the other side get
by ses1984 6y ago
If there is a partition and you want to execute a write on both sides of the partition, both sides can wait, but eventually one side wins and the other side gets back a failure, so the db turned out not to be available on that side. At least that's my interpretation.
- Autowired 6y agoWell, for a system to be consistent (in the meaning of CAP) AND available, the problem with the concurrent writes would have to be solved anyway (i.e. via distributed locking), so I don't think this would be an issue after a partition event.
- ses1984 6y agoThat assumes a particular locking system, what if you're using optimistic locking?