Skip to content

If finality is ahead of consensus don't fail the indexer.#103

Merged
dangershony merged 2 commits intoblock-core:masterfrom
dangershony:fix-rewinddataindex-bug
Apr 24, 2020
Merged

If finality is ahead of consensus don't fail the indexer.#103
dangershony merged 2 commits intoblock-core:masterfrom
dangershony:fix-rewinddataindex-bug

Conversation

@dangershony
Copy link
Copy Markdown
Member

Finality is ahead of consensus if the node crashed.
In this case we just load the rewind data as usual with data going back from current consensus and ignore finality (it will become overriden on next block)

@sondreb
Copy link
Copy Markdown
Member

sondreb commented Apr 24, 2020

Test and verified to be working well. Need to communicate that "Blockcore" data folder should be wiped and restarted.

@sondreb sondreb self-requested a review April 24, 2020 01:23
Copy link
Copy Markdown
Member

@sondreb sondreb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change, tested and verified that there shouldn't be any issues.

@dangershony
Copy link
Copy Markdown
Member Author

Need to communicate that "Blockcore" data folder should be wiped and restarted.

This is noted on the release

@dangershony dangershony merged commit a5d688f into block-core:master Apr 24, 2020
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