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

Fix : Segmentation fault when running several witness nodes on the same machine #1286

Merged
merged 2 commits into from Aug 29, 2018

Conversation

Projects
3 participants
@OpenLedgerDev

OpenLedgerDev commented Aug 24, 2018

#377
There is a case when a value of undo_db.size() is greater then head_block_num(), and as result we get a wrong value for last_non_undoable_block_num. To resolve it we should take into account a number of active_sessions in calculations of last_non_undoable_block_num (active sessions are related to a new block which is under generation).

@abitmore

Thanks. Looks good to me.

@abitmore abitmore merged commit 801412b into bitshares:develop Aug 29, 2018

2 checks passed

ci/dockercloud Your tests passed in Docker Cloud
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@abitmore abitmore added this to In progress in Feature release (201810) via automation Aug 29, 2018

@abitmore abitmore moved this from In progress to Done in Feature release (201810) Aug 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment