Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commitlog: Fix transactions iterator #1884

Merged
merged 1 commit into from
Oct 22, 2024
Merged

commitlog: Fix transactions iterator #1884

merged 1 commit into from
Oct 22, 2024

Conversation

kim
Copy link
Contributor

@kim kim commented Oct 22, 2024

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.

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.
@kim kim requested review from lcodes and Shubham8287 October 22, 2024 12:23
@kim kim added this pull request to the merge queue Oct 22, 2024
Merged via the queue into master with commit 98d408b Oct 22, 2024
9 checks passed
@kim kim deleted the kim/fix/commitlog/txiter branch October 22, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants