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

[Bug]: Cardano chain follower fails to set read pointer #180

Closed
2 tasks done
FelipeRosa opened this issue Mar 12, 2024 · 1 comment · Fixed by #182
Closed
2 tasks done

[Bug]: Cardano chain follower fails to set read pointer #180

FelipeRosa opened this issue Mar 12, 2024 · 1 comment · Fixed by #182
Assignees
Labels
bug Something isn't working

Comments

@FelipeRosa
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Follower fails if a set read pointer request is received when it's waiting for a response from the node.

NOTE: seems that pallas client can't be used concurrently.

Expected Behavior

Follower should cancel the current request (or wait for it to be complete) and handle the set pointer request correctly.

Project

Backend

What operating system are you seeing the problem on?

Linux

What browsers are you seeing the problem on?

Not Applicable

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@FelipeRosa
Copy link
Contributor Author

Confirmed that the problem is related to the way the PeerClient (from pallas) is being used.

The chain follower tries to execute a intersect point request while the client is in the middle of receiving a chain update from the node. This causes the set_read_pointer to fail.

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
Status: ✅ Done
1 participant