v0.0.58
Changes
- [release-fix] Change Publish Order by @patrick-ogrady in #1345
- [runtime/utils/buffer] fix out of range bug due to shortened read buffer by @roberto-bayardo in #1354
- fix typo by @anim001k in #1359
- [runtime] Implement shutdown tracking with signal reference counting by @andresilva in #1357
- [minimmit] Update spec to use a subquorum size of
2f+1instead ofn-3fby @BrendanChou in #1332 - [examples/sync] Fix Flaky Test by @patrick-ogrady in #1360
- [storage] Introduce
storeby @clabby in #1327 - Remove usage of
buf.get_u*by @BrendanChou in #1364 - [runtime/storage] Remove
Blob::closeby @andresilva in #1351 - [runtime] Fix
SignalTest Flake by @patrick-ogrady in #1368 - Update quint spec by @dnkolegov-ar in #1333
- [storage/index] Implement
SendforCursor+miriCI by @patrick-ogrady in #1369 - [docs] Use Inconsolata by @patrick-ogrady in #1372
- Revert Inconsolata by @patrick-ogrady in #1373
- [storage/adb] introduce adb::any::Variable by @roberto-bayardo in #1347
- [storage/adb/any] Any db cleanup by @roberto-bayardo in #1379
- [cleanup] change all buffer capacities from usize to NonZeroUsize by @roberto-bayardo in #1358
- [fix] correct element reference in MMR example by @MignonLi0 in #1386
- [storage] migrate the 'per-blob' config fields from u64 to NonZeroU64 by @roberto-bayardo in #1382
- [storage/adb/any] create a new benchmark for the variable anydb by @roberto-bayardo in #1388
- Add fuzz target for ordinal store by @dnkolegov-ar in #1208
- [consensus::marshal] Fix: Responses from
broadcast::bufferedare not immediately processed by @BrendanChou in #1381 - [storage/journal/variable] use Append wrapper by @andresilva in #1384
- [runtime/utils/buffer/append] Avoid re-writing flushed data by @andresilva in #1385
- [storage/adb/current] add benchmark for adb::current startup by @fahimahmedx in #1390
- [storage/rmap + ordinal] Missing Item Helper by @patrick-ogrady in #1393
- [release] v0.0.58 by @patrick-ogrady in #1394
New Contributors
- @anim001k made their first contribution in #1359
- @andresilva made their first contribution in #1357
- @MignonLi0 made their first contribution in #1386
- @fahimahmedx made their first contribution in #1390
Full Changelog: v0.0.57...v0.0.58
Stats
.github/workflows/fast.yml | 33 +-
.github/workflows/publish.yml | 10 +-
.github/workflows/slow.yml | 13 +-
.gitignore | 1 +
Cargo.lock | 54 +-
Cargo.toml | 28 +-
broadcast/Cargo.toml | 2 +-
broadcast/src/buffered/mod.rs | 2 +-
codec/Cargo.toml | 2 +-
codec/fuzz/Cargo.toml | 2 +-
codec/src/varint.rs | 7 +-
coding/Cargo.toml | 2 +-
coding/fuzz/Cargo.toml | 2 +-
collector/Cargo.toml | 2 +-
collector/src/p2p/mocks/types.rs | 10 +-
consensus/Cargo.toml | 2 +-
consensus/src/aggregation/config.rs | 4 +
consensus/src/aggregation/engine.rs | 13 +-
consensus/src/aggregation/mod.rs | 17 +-
consensus/src/marshal/actor.rs | 104 +-
consensus/src/marshal/config.rs | 14 +-
consensus/src/marshal/mod.rs | 587 +++--
consensus/src/ordered_broadcast/config.rs | 10 +-
consensus/src/ordered_broadcast/engine.rs | 11 +-
consensus/src/ordered_broadcast/mod.rs | 22 +-
consensus/src/simplex/actors/voter/actor.rs | 16 +-
consensus/src/simplex/actors/voter/mod.rs | 23 +-
consensus/src/simplex/config.rs | 10 +-
consensus/src/simplex/engine.rs | 1 +
consensus/src/simplex/mocks/application.rs | 21 +-
consensus/src/simplex/mod.rs | 73 +-
.../src/threshold_simplex/actors/voter/actor.rs | 9 +-
.../src/threshold_simplex/actors/voter/mod.rs | 23 +-
consensus/src/threshold_simplex/config.rs | 10 +-
consensus/src/threshold_simplex/engine.rs | 1 +
.../src/threshold_simplex/mocks/application.rs | 13 +-
consensus/src/threshold_simplex/mod.rs | 88 +-
cryptography/Cargo.toml | 2 +-
cryptography/fuzz/Cargo.toml | 2 +-
deployer/Cargo.toml | 2 +-
examples/bridge/Cargo.toml | 2 +-
examples/bridge/src/bin/validator.rs | 9 +-
examples/chat/Cargo.toml | 2 +-
examples/estimator/Cargo.toml | 2 +-
examples/flood/Cargo.toml | 2 +-
examples/log/Cargo.toml | 2 +-
examples/log/src/main.rs | 9 +-
examples/sync/Cargo.toml | 2 +-
examples/sync/src/bin/server.rs | 18 +-
examples/sync/src/lib.rs | 28 +-
examples/sync/src/protocol.rs | 78 +-
examples/sync/src/resolver.rs | 31 +-
examples/vrf/Cargo.toml | 2 +-
macros/Cargo.toml | 2 +-
p2p/Cargo.toml | 2 +-
pipeline/minimmit/minimmit.md | 10 +-
pipeline/minimmit/quint/README.md | 2 +-
pipeline/minimmit/quint/main_n6f0.qnt | 3 +-
pipeline/minimmit/quint/main_n6f1.qnt | 3 +-
pipeline/minimmit/quint/main_n6f2.qnt | 3 +-
pipeline/minimmit/quint/main_n7f1.qnt | 3 +-
pipeline/minimmit/quint/makefile | 6 +-
pipeline/minimmit/quint/replica.qnt | 80 +-
pipeline/minimmit/quint/scripts/invariant.sh | 217 ++
pipeline/minimmit/quint/tests/tests_n6f0.qnt | 12 +-
pipeline/minimmit/quint/tests/tests_n6f1.qnt | 9 +-
pipeline/minimmit/quint/tests/tests_n7f1.qnt | 176 ++
resolver/Cargo.toml | 2 +-
resolver/src/p2p/wire.rs | 4 +-
runtime/Cargo.toml | 2 +-
runtime/src/deterministic.rs | 44 +-
runtime/src/lib.rs | 290 ++-
runtime/src/storage/audited.rs | 17 +-
runtime/src/storage/iouring.rs | 5 -
runtime/src/storage/memory.rs | 5 -
runtime/src/storage/metered.rs | 137 +-
runtime/src/storage/mod.rs | 3 +-
runtime/src/storage/tokio/fallback.rs | 10 -
runtime/src/storage/tokio/unix.rs | 6 -
runtime/src/tokio/runtime.rs | 38 +-
runtime/src/utils/buffer/append.rs | 146 +-
runtime/src/utils/buffer/mod.rs | 181 +-
runtime/src/utils/buffer/pool.rs | 12 +-
runtime/src/utils/buffer/read.rs | 52 +-
runtime/src/utils/buffer/tip.rs | 13 +-
runtime/src/utils/buffer/write.rs | 16 +-
runtime/src/utils/mod.rs | 97 +-
runtime/src/utils/signal.rs | 228 ++
storage/Cargo.toml | 7 +-
storage/fuzz/Cargo.toml | 9 +-
.../fuzz/fuzz_targets/adb_current_operations.rs | 31 +-
storage/fuzz/fuzz_targets/adb_operations.rs | 35 +-
storage/fuzz/fuzz_targets/adb_sync.rs | 14 +-
storage/fuzz/fuzz_targets/archive_operations.rs | 17 +-
storage/fuzz/fuzz_targets/freezer_operations.rs | 14 +-
storage/fuzz/fuzz_targets/journal_operations.rs | 15 +-
storage/fuzz/fuzz_targets/ordinal_operations.rs | 262 +++
storage/fuzz/fuzz_targets/rmap_operations.rs | 4 +-
storage/src/adb/any/fixed.rs | 2360 +++++++++++++++++++
storage/src/adb/any/mod.rs | 2422 +-------------------
storage/src/adb/any/sync/client.rs | 118 +-
storage/src/adb/any/sync/mod.rs | 2 +-
storage/src/adb/any/sync/resolver.rs | 6 +-
storage/src/adb/any/variable.rs | 1236 ++++++++++
storage/src/adb/benches/bench.rs | 10 +-
storage/src/adb/benches/current_init.rs | 189 ++
.../src/adb/benches/{any_init.rs => fixed_init.rs} | 19 +-
storage/src/adb/benches/variable_init.rs | 158 ++
storage/src/adb/current.rs | 70 +-
storage/src/adb/immutable.rs | 93 +-
storage/src/adb/mod.rs | 7 +-
storage/src/archive/benches/utils.rs | 25 +-
storage/src/archive/immutable/mod.rs | 34 +-
storage/src/archive/immutable/storage.rs | 7 +-
storage/src/archive/mod.rs | 22 +-
storage/src/archive/prunable/mod.rs | 90 +-
storage/src/archive/prunable/storage.rs | 3 +-
storage/src/freezer/benches/utils.rs | 16 +-
storage/src/freezer/mod.rs | 93 +-
storage/src/freezer/storage.rs | 11 +-
storage/src/index/mod.rs | 56 +-
storage/src/index/storage.rs | 43 +-
storage/src/journal/benches/bench.rs | 11 +-
storage/src/journal/benches/fixed_append.rs | 8 +-
storage/src/journal/benches/fixed_read_random.rs | 9 +-
.../src/journal/benches/fixed_read_sequential.rs | 9 +-
storage/src/journal/benches/fixed_replay.rs | 11 +-
storage/src/journal/fixed.rs | 164 +-
storage/src/journal/variable.rs | 242 +-
storage/src/lib.rs | 1 +
storage/src/metadata/mod.rs | 10 +-
storage/src/metadata/storage.rs | 8 +-
storage/src/mmr/bitmap.rs | 16 +-
storage/src/mmr/journaled.rs | 45 +-
storage/src/mmr/mod.rs | 2 +-
storage/src/mmr/verification.rs | 2 +-
storage/src/ordinal/benches/utils.rs | 8 +-
storage/src/ordinal/mod.rs | 292 ++-
storage/src/ordinal/storage.rs | 36 +-
storage/src/rmap/mod.rs | 238 +-
storage/src/store/benches/bench.rs | 5 +
storage/src/store/benches/restart.rs | 133 ++
storage/src/store/mod.rs | 1110 +++++++++
storage/src/{adb => store}/operation.rs | 117 +-
stream/Cargo.toml | 2 +-
stream/fuzz/Cargo.toml | 2 +-
utils/Cargo.toml | 2 +-
utils/fuzz/Cargo.toml | 2 +-
utils/fuzz/fuzz_targets/array.rs | 12 +-
utils/src/futures.rs | 167 +-
utils/src/lib.rs | 2 +-
utils/src/sequence/prefixed_u64.rs | 14 +-
utils/src/sequence/u32.rs | 22 +-
utils/src/sequence/u64.rs | 22 +-
154 files changed, 9311 insertions(+), 4182 deletions(-)