Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6jDW7zqoKDMTRrCyq
9 lines
266 B
Plaintext
9 lines
266 B
Plaintext
# Retries and compare-and-swap appends
|
|
|
|
version before append: 0, after append: 1, after retrying the SAME event: 1
|
|
events in log: 1
|
|
|
|
appendEvents(expectedVersion = 0, which is stale): false
|
|
appendEvents(expectedVersion = 1, which is current): true
|
|
events in log: 2
|