Both Writes Succeeded
Two clients update the same key in a system that dual-writes to a primary database and a search index. Nothing crashes. Every call returns success.
| time | client | write to database | write to search index |
|---|---|---|---|
| t1 | teal | X = A ok |
|
| t2 | red | X = B ok |
|
| t3 | red | X = B ok |
|
| t4 | teal | X = A ok |
What is the state afterwards, and what fixes it?
Sign in to answer questions and track your progress
Sign In