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

tx index missing for first block after node restart #27

Closed
ackratos opened this issue Jan 21, 2019 · 1 comment
Closed

tx index missing for first block after node restart #27

ackratos opened this issue Jan 21, 2019 · 1 comment
Assignees

Comments

@ackratos
Copy link
Contributor

ackratos commented Jan 21, 2019

if endblocker panic on height 100 during consensus execution, we stop and restart node, we cannot query txs?tag=tx.height=100 after restart... (but previous and later txs are correctly indexed)

@ackratos ackratos added the bug label Jan 21, 2019
@ackratos ackratos self-assigned this Jan 21, 2019
@ackratos
Copy link
Contributor Author

ackratos commented Jan 22, 2019

a tendermint bug reported, I will fix on both our side and tendermint:
tendermint/tendermint#3186

Before fix it, we should be caution when we restart explorer node: if it is crashed during endblock (after block has been written to block store), we need reset one block to make sure txs on broken block are indexed.

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

2 participants