Pekka Enberg
c3fb867173
core: Switch RwLock<Arc<Pager>> to ArcSwap<Pager>
...
We don't actually need the RwLock locking capabilities, just the ability
to swap the instance.
2025-10-24 14:10:08 +03:00
Jussi Saurio
fe871188bf
fix tests again
2025-09-30 22:54:48 +03:00
Jussi Saurio
fd84fd0683
fix test compilation errors
2025-09-30 22:27:28 +03:00
Pekka Enberg
aa454a6637
core: Wrap Connection::pager in RwLock
2025-09-22 17:02:08 +03:00
Jussi Saurio
d493a72cc0
dont unwrap begin_tx
2025-09-15 14:48:26 +03:00
Jussi Saurio
db3428a7a9
remove unused pager parameter
2025-09-14 23:44:24 +03:00
Pere Diaz Bou
83a658d3d6
core/mvcc: add option to test with a random file and restart it
2025-08-04 12:31:17 +02:00
Pere Diaz Bou
764523a8bb
core/mvcc: fix tests with state machines
2025-08-01 15:48:09 +02:00
Pere Diaz Bou
0f70e7101f
core/state_machine: move state_machine to its own file
2025-08-01 12:49:32 +02:00
Pere Diaz Bou
0cefb01395
mvcc_benchmark: clippy
2025-08-01 11:01:29 +02:00
Pere Diaz Bou
c807b035c5
core/mvcc: fix tests again
...
had to create connections for every different txn
2025-08-01 10:44:19 +02:00
Pere Diaz Bou
c4318cac36
core/mvcc: fix tests
2025-08-01 10:38:41 +02:00
Pere Diaz Bou
da4190a23e
Convert u64 rowid to i64
...
Rowids can be negative, therefore let's swap to i64
2025-05-30 13:07:31 +02:00
Pekka Enberg
461be0dc87
core: Add multi-version store to Database
2025-03-06 10:16:42 +02:00
Pekka Enberg
81b79bc833
core/mvcc: Eliminate row generic types
...
The logging code that writes out transactions to disk needs to write out
the byte array that we actually use. The code is less hairly without the
generics so drop them.
2025-03-05 19:17:16 +02:00
Pekka Enberg
7809df913a
core/mvcc: Rename Database to MvStore
2025-02-07 07:40:33 +02:00
Pekka Enberg
f772fc83e1
core/mvcc: Disable test_overlapping_concurrent_inserts_read_your_writes test
...
...it fails sporadically
2025-02-05 14:18:56 +02:00
Pekka Enberg
acb98f56d5
core/mvcc: Thanks Clippy...
2025-02-05 13:44:55 +02:00
Pekka Enberg
36b487d281
core/mvcc: Make Clippy happy
2025-02-05 13:41:20 +02:00
Pekka Enberg
fad479ac59
core/mvcc: Move source code to module
2025-02-05 13:25:16 +02:00