Pekka Enberg
|
44ba56c5a8
|
Update README
|
2023-04-13 10:09:13 +03:00 |
|
Pekka Enberg
|
824669d471
|
Move code into DatabaseInner
Let's move rest of the code into DatabaseInner like we did for
`rollback_tx` as a code cleanup.
|
2023-04-13 10:05:09 +03:00 |
|
Pekka Enberg
|
d7ecfc054c
|
Fix lost update anomaly
Fixes #5
|
2023-04-13 09:57:26 +03:00 |
|
Pekka Enberg
|
eb250e1e83
|
Wire up flamegraphs to cargo bench
|
2023-04-12 12:39:14 +03:00 |
|
Pekka Enberg
|
477da5b60a
|
Fix compile error
|
2023-04-12 12:17:34 +03:00 |
|
Pekka Enberg
|
a52bf9158b
|
Fix delete() TX ID parameter name
Align it with the rest of the code.
|
2023-04-12 12:12:37 +03:00 |
|
Pekka Enberg
|
77d639fc20
|
Fix concurrency test
It was accidentally using row ID as transaction ID...
|
2023-04-12 11:56:22 +03:00 |
|
Pekka Enberg
|
3cecf777cf
|
Assert that we're manipulating an active transaction
|
2023-04-12 11:55:34 +03:00 |
|
Pekka Enberg
|
22042612d5
|
Concurrency test
The test is disabled because it triggers an assertion in the MVCC
implementation.
|
2023-04-12 11:45:15 +03:00 |
|
Pekka Enberg
|
fc93642643
|
Simple microbenchmarks
|
2023-04-10 18:22:10 +03:00 |
|
Pekka Enberg
|
02f40c0568
|
Move MVCC to database.rs
Let's keep lib.rs small and tidy.
|
2023-04-09 08:55:06 +03:00 |
|
Pekka Enberg
|
8f30c20215
|
Replace unwrap() with NoSuchTransactionID error
|
2023-04-09 08:53:03 +03:00 |
|
Pekka Enberg
|
df0cadc02e
|
Clean up LocalClock default trait
|
2023-04-08 18:37:23 +03:00 |
|
Pekka Enberg
|
df5500e0df
|
Add test case for dirty read on delete
The test fails, btw.
|
2023-04-08 18:35:45 +03:00 |
|
Pekka Enberg
|
fb60ccd04d
|
Improve test suite
|
2023-04-08 18:03:49 +03:00 |
|
Pekka Enberg
|
957949a49d
|
Fix delete() on non-existent ID
|
2023-04-08 18:03:41 +03:00 |
|
Pekka Enberg
|
7a2085c02f
|
Improve lost update test case
Let's verify that first-writer wins. We still need to fix the second
writer commit() to fail.
|
2023-04-08 16:42:40 +03:00 |
|
Pekka Enberg
|
29fca23417
|
Add test case for lost updates
We currently never fail commit() operations so the test case is
incomplete. But let's add it as a place-holder.
|
2023-04-08 16:34:16 +03:00 |
|
Pekka Enberg
|
7a173a8ae2
|
Initial commit
|
2023-04-08 15:14:05 +03:00 |
|