|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| main.go | ||
README.md
https://trychroma.com/engineering/wal3
(generally with S3 but this is fine)
- GET (current_node, cksum) FROM head_pointer
- INSERT node (previous_node) VALUES (head_pointer) RETURNING node.id
- UPDATE head_pointer (current_node, cksum) VALUES (node.id, blockchain) IF head_pointer.cksum=cksum