Skip to content

Mini-Epic: Stop tokio tasks running for a long time and blocking other tasks #4747

Closed
@teor2345

Description

Motivation

At the moment, Zebra can't sync all the way to the tip, because some tokio tasks run for a long time, and block other tasks.
(It's also possible there are some deadlocks, livelocks, or missed task exits.)

We should discover the specific bugs using tokio-console, and then open a ticket for each one.

Tasks

Issues that need investigation

CPU usage analysis

Deserialization (in zebra-network or zebra-state):

Verification (in zebra-consensus):

Note commitment tree updates (in zebra-state, either finalized or non-finalized):

Fixed Issues

Fixed by #4750:

Fixed by #4752 and #4726:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bugC-securityCategory: Security issuesC-tracking-issueCategory: This is a tracking issue for other tasksEpicZenhub Label. Denotes a theme of work under which related issues will be groupedI-consensusZebra breaks a Zcash consensus ruleI-hangA Zebra component stops responding to requestsI-integration-failContinuous integration fails, including build and test failures

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions