A lost write occurs when one concurrent update is overwritten by another and does not remain in the resulting data. section 6.1.2
ScyllaDB assigns each update a timestamp and converges on the value with the latest timestamp. If Edith and Emily concurrently edit an author bio, Emily’s later write wins and Edith’s update is lost. section 6.1.2
Ways to inspect or reduce the risk include:
- Inspect cell write times with WRITETIME in a SELECT query. section 6.1.2
- Use conditional updates or client-side coordination such as distributed locking when timestamp resolution is insufficient. section 6.1.2
- Avoid manually specifying timestamps except for the stated data-migration case; an older timestamp cannot replace the current cell value. section 6.1.2
