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

Depend on a tokio commit with the time wheel panic fix #1511

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

teor2345
Copy link
Collaborator

@teor2345 teor2345 commented Dec 14, 2020

Motivation

Tokio 0.3.4 and 0.3.5 have a bug tokio-rs/tokio#2789 that causes time wheel panics.

Solution

Updates the tokio dependency to the commit that merged tokio-rs/tokio#3229, which should fix the time wheel panic.

Testing:

  • The changes pass Zebra's existing tests, but the panic only happens occasionally
  • I'm running a long-term test on my machine, we should know if it's better than tokio 0.3.4 after a few days

Review

@dconnolly likes dependencies, but anyone can review.

Related Issues

Closes #1452.

Follow Up Work

Remove git dependencies in #1086.

Updates the tokio dependency to the commit that merged
tokio-rs/tokio#3229, which should fix the time wheel panic in ZcashFoundation#1452.
@teor2345 teor2345 added C-bug Category: This is a bug A-dependencies Area: Dependency file updates labels Dec 14, 2020
@teor2345 teor2345 added this to the v1.0.0-alpha.1 milestone Dec 14, 2020
@teor2345 teor2345 self-assigned this Dec 14, 2020
@dconnolly dconnolly merged commit b8646fa into ZcashFoundation:main Dec 14, 2020
@teor2345 teor2345 mentioned this pull request Dec 14, 2020
@teor2345
Copy link
Collaborator Author

I've been running zebrad for about a week, and I haven't seen any of these panics. So it looks like they're fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Area: Dependency file updates C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic in tokio time wheel
2 participants