IntersectMBO / IntersectMBO/ouroboros-network

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

Open
#4,692 0 comments 0 reactions 0 assignees View on GitHub
local-state-query
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

As mentioned in [this issue](https://github.com/input-output-hk/ouroboros-consensus/issues/439) 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.