Skip to content

Commit

Permalink
fix typo on crud page
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaoust committed Jan 16, 2024
1 parent 6b264e7 commit 608d81b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/concepts/6_crud_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This prevents clashes between attempts to delete identical entries written by di

### Resolving conflicts in a conflict-free database

You may be thinking, if an entry can accumulate multiple update and delete actions, which is the _right_ entry? The answer is that it's up to your application to decide. You may want to preserve all revisions and show them as a tree, allowing people to follow whichever path they prefer. You may want to write a simple conflict-resolution mechanism into your getter functions, such as "the earliest one wins" or "deletes always override updates". Or you may want to incorporate automatic merge functions that apply all updates to the thing being updated, such as a [conflict-free replicated data type (CRDT_](https://crdt.tech/).
You may be thinking, if an entry can accumulate multiple update and delete actions, which is the _right_ entry? The answer is that it's up to your application to decide. You may want to preserve all revisions and show them as a tree, allowing people to follow whichever path they prefer. You may want to write a simple conflict-resolution mechanism into your getter functions, such as "the earliest one wins" or "deletes always override updates". Or you may want to incorporate automatic merge functions that apply all updates to the thing being updated, such as a [conflict-free replicated data type (CRDT)](https://crdt.tech/).

You'll also want to decide whether the primary units of data in your DHT are _entries_ or _actions_ (that is, entry plus author plus timestamp). There are appropriate places to use each, but that's beyond the reach of this introduction.

Expand Down Expand Up @@ -90,4 +90,4 @@ Finally, data that's invalid (we'll learn about that in the [next section](../7_

### Next Up

[Explore validation →](../7_validation/){.btn-purple}
[Explore validation →](../7_validation/){.btn-purple}

0 comments on commit 608d81b

Please sign in to comment.