-
Notifications
You must be signed in to change notification settings - Fork 138
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 constraint preventing continued scanning of multichain #24
Comments
Thanks. Can you say anything about what happened in the transaction which triggered this? Or what sorts of things you were doing in general on the chain? |
We were running load tests and adding 3000+ Assets. The problem is not with multichain, but with the explorer db construction. We have a "fix" for it that allows it to continue. It is essentially just handling the Integrity exception so it doesn't get stuck. I added two lines in Mce/SqlAbstraction.py.
|
Thanks. Do you have any more information about the integrity exception that was thrown? Foreign key? Unique key? And what SQL statement was executing at the time? |
@TronBlack Can you print the entire exception object? |
When scanning the multichain chain, a triplet of ids is added to a table triggering an database Integrity exception. ABE continues to retry getting the same exception.
Symptom: Data stops updating in the explorer. The multichain chain continues just fine.
The text was updated successfully, but these errors were encountered: