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

Plutip server fixes #154

Merged
merged 7 commits into from
Dec 8, 2022
Merged

Plutip server fixes #154

merged 7 commits into from
Dec 8, 2022

Conversation

zmrocze
Copy link
Contributor

@zmrocze zmrocze commented Nov 23, 2022

  • Fixes Chain-index continues to run after stopCluster. #152 and Time of check to time of use bug in plutip-server. #153.
  • Fixes waiting for wallets to get funded <- ports a fix that exists in more recent commits, only here using cardano-node queries and only applied in plutip-server. EDIT: In this pr we ignore timeout error: returning from startCluster handler doesn't guarantee that wallets are funded. Waiting properly for the funds takes strangely long time. Im leaving fixing this out of this pr, but this is no worse than before when we waited for 2 seconds.
  • Retries cluster 5 times if startup fails (with the aim to dodge rare bug in finding available ports for cardano-nodes)

I reproduced the cluster startup failure using forked cluster which always chose unavailable ports. This hits " resource busy (Address already in use)" when cardano-node picks used up port due to a race condition. Retrying aims to make this case very rare.

@zmrocze
Copy link
Contributor Author

zmrocze commented Nov 27, 2022

This is meant to be used in ctl. Pr with these changes targeting master is at #155

@klntsky klntsky merged commit 8fbc37c into for-ctl Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants