Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ABCI in standalone mode is started and immediately close #4879

Closed
4 tasks
tochka opened this issue Aug 9, 2019 · 0 comments · Fixed by #4884
Closed
4 tasks

ABCI in standalone mode is started and immediately close #4879

tochka opened this issue Aug 9, 2019 · 0 comments · Fixed by #4884
Assignees

Comments

@tochka
Copy link

tochka commented Aug 9, 2019

Summary of Bug

When we run ABCI in standalone mode (--with-tendermint=false) the program immediate exit

Missing infinite loop
https://github.com/cosmos/cosmos-sdk/blob/master/server/start.go#L100

// run forever (the node will not be returned)
select {}

Version

github.com/cosmos/cosmos-sdk v0.36.0-rc3

Steps to Reproduce

run service demon without tendermin node (flag --with-tendermint=false)


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
alessio pushed a commit that referenced this issue Aug 10, 2019
Add infinite loop at the end of startStandAlone() to prevent
the server process from exiting immediately after bootstrap.

Closes: #4879
@alessio alessio mentioned this issue Aug 10, 2019
5 tasks
@alessio alessio self-assigned this Aug 10, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants