clockworklabs / SpacetimeDB

Multiplayer at the speed of light
https://spacetimedb.com
Other
4.41k stars 110 forks source link

commitlog: Fix transactions iterator #1884

Closed kim closed 1 month ago

kim commented 1 month ago

Fix iterating over transactions to yield transaction decode errors.

Due to Itertools::flatten_ok relying on IntoIterator::into_iter for flattening, we would just drop those errors.

Note that this is used for tooling only, database replaying uses folding.