reifydb-transaction 0.9.3

Transaction management and concurrency control for ReifyDB
Documentation
# Copyright (c) reifydb.com 2026
# This file is licensed under the Apache-2.0, see license.md file

# This file includes and modifies code from the toydb project (https://github.com/erikgrinaker/toydb),
# originally licensed under the Apache License, Version 2.0.
# Original copyright:
#   Copyright (c) 2024 Erik Grinaker
#
# The original Apache License can be found at:
#   http://www.apache.org/licenses/LICENSE-2.0

# A dirty write is when t2 overwrites an uncommitted value written by t1.

t1: begin
t1: set key=1
---
ok

t2: begin
t2: remove key
---
ok

t1: commit
t2: !commit
---
t2: Error TXN_001
t2:   Transaction conflict detected - another transaction modified the same data
t2: 
t2: HELP
t2:   Retry the transaction
t2: