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

Transaction index not properly working #75

Open
hclivess opened this issue Nov 19, 2023 · 1 comment
Open

Transaction index not properly working #75

hclivess opened this issue Nov 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hclivess
Copy link
Owner

hclivess commented Nov 19, 2023

There is a problem in block 502141, all transactions are in the block but they are not indexed - and not reflected, which is critical.

Block in question: http://167.86.120.22:9173/get_block?hash=c9a319e69506d30e29dcd56cb755147c4a9d98d66fd5eb60b8068e902f88e928
Transactions are present in the raw block data

https://explorer.nodeisok.com/get_block_number?entry=502141
Links to txs exist but return 404, which means they are not present in the transaciton index. Also they are not reflected in accounts (!)

Risk: Critical - reindexing can lead to respending of the transaction absent from tx index and not reflected in balances but present in the block (top authority), forking

Suspects:

  • Rollback mechanism, perhaps in combination with the recently introduced index partitioning
  • executemany - there have been issues in the past with Bismuth
@hclivess hclivess added the bug Something isn't working label Nov 19, 2023
@hclivess
Copy link
Owner Author

Added infinite retries on db operations so locks don't skip them
80ee305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant