Commit Graph

18 Commits

Author SHA1 Message Date
mazchew
671b61ba19 add time querying to io trait 2024-08-25 22:55:15 +08:00
mazchew
156005694a added rng to io trait for simulation 2024-08-22 23:24:02 +08:00
Pekka Enberg
6a62e03a7d simulator: Silence unused variable warning 2024-08-01 09:12:53 +03:00
Pere Diaz Bou
2b221d2b3c fix conflicts
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
2024-07-31 17:38:33 +02:00
Pekka Enberg
351242561d Kill anyhow usage
Switch anyhow to explicit `LimboError` type using thiserror crate, which
lets us make error handling more structured.
2024-07-25 17:15:08 +03:00
jussisaurio
588ab1af06 Run formatting and enforce formatting in CI 2024-07-23 23:14:36 +03:00
Pekka Enberg
330c6fde45 Improve simulator a bit
Still not very useful, but at least faults are getting injected.
2024-07-23 15:27:23 +03:00
Joan Martinez
4bcae54aa9 fix: use Arc to handle IO 2024-07-21 19:01:58 +02:00
gandeevanr
c391b7b9a6 implemented the drop trait for all the limbo_core::File implementations 2024-07-17 11:34:47 -07:00
gandeevanr
9ef212edd3 Added support to disallow multiple processes from opening the same database file in linux and darwin 2024-07-17 11:34:47 -07:00
Pekka Enberg
a0c92f6d80 Switch to workspace versioning 2024-07-17 08:39:36 +03:00
Pekka Enberg
cf85baf6fc simulator: Disable package publishing
The simulator is for testing purposes only. Disable publishing to avoid
`cargo dist` from picking it up.
2024-07-17 08:31:29 +03:00
Raminder Singh
e4a9c5ce6e fix clippy warnings 2024-07-14 16:50:54 +05:30
Pekka Enberg
addfb3cbc0 Remove unused lifetime parameter 2024-07-03 11:40:08 +03:00
Pekka Enberg
307fed0848 Format source code with cargo fmt 2024-07-03 11:38:12 +03:00
Pekka Enberg
cc101b1b00 Use larger and more realistic database for testing 2024-06-29 10:03:11 +03:00
Pekka Enberg
dc26db4f0d Remove duplicate default-run 2024-06-28 08:39:36 +03:00
Pekka Enberg
2684341bac Initial pass on deterministic simulator
The simulator does not do much, but does discover failures on Linux with
io_uring, though, so it's a start.
2024-06-27 18:32:04 +03:00