Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# write permissions

- 2 phase commit
- whole row to write callback
- write callback can reject in which case we..
Well no data changed but we need to get the data back to the client.
We could
1. record the db version that failed and somehow get that back to the client
2. bump the db version of the record, causing all clients to re-pull it
3. Do nothing an allow client to be diverged.

Note: data validation rules / write permissions should only be enforced in a hub and spoke topology.

# back-to-cid

- cid from `pragma_table_info`
Expand Down