-
Notifications
You must be signed in to change notification settings - Fork 119
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
Fix proof storage clobber error for postgres backend #954
Conversation
Also fixes #961 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix! Have it running on my machine for multiple minutes as well now and so far no problem.
9391534
to
0e292f3
Compare
0e292f3
to
651af43
Compare
651af43
to
1083cf1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
was this originally detected via a flake? just asking whether we added coverage for it or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix! Currently confirming this fully fixes the itest with #965 on top, but so far looks good.
Just nits left.
`UpsertAssetProof` gave issues with a postgresql backend. See: #951 By separating the subquery from the upsert, we can error out if we see more than one asset ID (primary key from table assets) being returned from the database. This should return a more meaningful error than the original postgresql error. Database deadlock errors are now retried similar to database serialization errors.
1083cf1
to
84c739d
Compare
Fixes #951.
An (intermitent) failure popped up when running itest on the postgres backend.
This draft PR tries to solve this error, initially by unifying the behavior of both backends.
Currenlty the status is that this leads to an error later in the process (only for postgres), where the given number of events rhat exist with the given status is of by one.