Skip to content

Add "query failure" transition to Local state query mini protocol #4692

Open
@michele-nuzzi

Description

@michele-nuzzi

As mentioned in this issue there is currently no way for a client performing a query on a node to know if something went wrong with the query.

This implies that a client that waits for a result of a failing query will block forever, without a way to know that indeed something went wrong.

A solution for this is just to add a transition in the local state query state machine from the "Querying" state to the "Acquired" state that notifies the client of the query failure (with possibly some error code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    local-state-queryIssues / PRs related to local-state-query protocol

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions