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

need better handling of empty chunks when using --txs #26

Open
sslivkoff opened this issue Aug 13, 2023 · 0 comments
Open

need better handling of empty chunks when using --txs #26

sslivkoff opened this issue Aug 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sslivkoff
Copy link
Member

gracefully handle empty chunks, currently panics due to empty mpsc buffer

thread 'thread 'tokio-runtime-workertokio-runtime-worker' panicked at '' panicked at 'mpsc bounded channel requires buffer > 0mpsc bounded channel requires buffer > 0', ', crates/freeze/src/datasets/state_diffs.rs:159:28
crates/freeze/src/datasets/state_diffs.rs:159note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
:28
thread 'tokio-runtime-worker' panicked at 'mpsc bounded channel requires buffer > 0', crates/freeze/src/datasets/state_diffs.rs:159:28
thread 'thread 'tokio-runtime-worker' panicked at 'mpsc bounded channel requires buffer > 0', crates/freeze/src/datasets/state_diffs.rs:159:tokio-runtime-worker' panicked at '28mpsc bounded channel requires buffer > 0
', crates/freeze/src/datasets/state_diffs.rs:159:28
thread 'tokio-runtime-worker' panicked at 'mpsc bounded channel requires buffer > 0', crates/freeze/src/datasets/state_diffs.rs:159:28
thread 'thread 'thread 'tokio-runtime-workertokio-runtime-worker' panicked at 'tokio-runtime-workermpsc bounded channel requires buffer > 0' panicked at '' panicked at 'mpsc bounded channel requires buffer > 0mpsc bounded channel requires buffer > 0', ', ', crates/freeze/src/datasets/state_diffs.rscrates/freeze/src/datasets/state_diffs.rscrates/freeze/src/datasets/state_diffs.rs::159:15928:
:159:28
28
thread 'tokio-runtime-worker' panicked at 'mpsc bounded channel requires buffer > 0', crates/freeze/src/datasets/state_diffs.rs:159:28
...done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant