-
Notifications
You must be signed in to change notification settings - Fork 27
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
Duplicate Key Error in BlockchainWriter onCreateBatchSuccess #813
Comments
Reassigning to @krobi64. |
So here’s what I believe is happening… there is a race condition between multiple node instances picking up the same event and attempting to do an insert. If we modify the hard insert, then I think that error message will go away I’ll try to create a test that does that locally |
yes, this is probably a subset of the issue in #328 |
Discussed this with Kris on the side, leaving a comment here for reference. This is most likely not an issue related to #328, since the QA node instances don't share the same db, and there's only one instance of the node for each (one mainnet, one testnet). |
OK, so even with a freshly reset DB (regtest DB in QA), this error pops up for the very first work being written into the DB:
|
@WesleyCharlesBlake Are we seeing this error in production or only QA? I tried looking for it in Logz, but the only error messages I see are Access Denied. I have yet to figure out how to replicate it locally. |
@WesleyCharlesBlake ^^^^^^^^^^^^^^^^ |
@krobi64 We're getting them in prod as well as QA. |
Also, found this other variant on an IPFS directory:
|
yep getting it in both QA and PROD |
I'm finding this a lot in the QA environment logs.
I think there is one for each POST request.
The text was updated successfully, but these errors were encountered: