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

database close unexpected exception #385

Closed
guanqun opened this issue Aug 31, 2017 · 6 comments
Closed

database close unexpected exception #385

guanqun opened this issue Aug 31, 2017 · 6 comments

Comments

@guanqun
Copy link

guanqun commented Aug 31, 2017

I send Ctrl+C to the witness_node, after a few minutes, it complains:

2655022ms th_a       db_management.cpp:170         close                ] Database close unexpected exception: {"code":3070001,"name":"pop_empty_chain","message":"there are no blocks to pop","stack":[{"context":{"level":"error","file":"db_block.cpp","line":423,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2017-08-31T15:44:15"},"format":"there are no blocks to pop","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":431,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2017-08-31T15:44:15"},"format":"","data":{}}]}

Is this an expected exception?

@pmconrad
Copy link
Contributor

Yes, this can be ignored. Duplicate of #303 , fixed in develop branch.

@guanqun
Copy link
Author

guanqun commented Aug 31, 2017

Thank you @pmconrad for the quick response.

BTW: Which branch should I follow in general? And what's the development model for bitshares? (e.g. when develop branch would be merged back into master) I'm not sure if this is a good place to ask these questions, feel free to just ignore these...

@pmconrad
Copy link
Contributor

BTW: Which branch should I follow in general?

That depends. On a production node you should generally use the latest release listed on https://github.com/bitshares/bitshares-core/releases .
If you're adventurous and/or need some of the latest API changes etc. you can use the develop branch, at your own risk of course.

The development model is not set in stone right now. We have one full-time developer (@oxarbitrage), who is managing PRs. You can always propose changes that are not related to blockchain consensus in the form of a PR, it will then be reviewed, discussed and perhaps merged into develop.
Changes that are related to consensus (i.e. require a hardfork) should first be proposed in the form of a bsip ( https://github.com/bitshares/bsips ). If they receive shareholder approval they can be implemented and submitted as a PR.

@oxarbitrage
Copy link
Member

by the way, what do you think @pmconrad on a next release by merging the develop into master ? do think it will be with the hardfork changes included or we can make a release without it ? i am thinking that we might be on time for a release with all the stuff it has been added to the develop. not sure either if this is the best channel, maybe open a new issue to discuss it, forum thread, telegram chat ?

i am including some others that may help on deciding the next steps @abitmore , @xeroc

@pmconrad
Copy link
Contributor

The consensus in https://bitsharestalk.org/index.php/topic,24877.0.html seems to be that for simple bugfixes requiring a hardfork witness approval is sufficient.
I was about to suggest that we announce the plan to merge PRs #340 #348 #369 #386 in the witness telegram channel, and if nobody puts in a veto within the next 2 days or so we merge them into develop (with hardfork dates in the far future). Then I'll prepare a testnet release with a hardfork time about 1 week in the future and announce it in the witness channel. Once the testnet hardfork has passed and the witnesses are happy with their test results we can produce a master release.

@guanqun
Copy link
Author

guanqun commented Aug 31, 2017

Great info! Thank you all. 👍

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

No branches or pull requests

3 participants