Skip to content
Commitwise
Menu

Tombstone

A marker that records a deletion, so other devices or replicas learn that the item was deleted.

Definition

In sync and replication, simply removing a row leaves nothing for other copies to receive, so they keep the item and may even restore it. A tombstone is a soft-deleted row or a delete event in the change feed that is kept for a retention period. Devices that have been offline longer than that period must do a full resync.

In practice

Deleting a note sets isDeleted = true; every device sees the change on its next sync and removes the note from its local database.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.