Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

server: Fix possible UNIQUE constraint integrity error on get_or_create #15

Open
ezdac opened this issue Oct 27, 2020 · 0 comments
Open
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@ezdac
Copy link
Contributor

ezdac commented Oct 27, 2020

There seemed to be an edge-case where the get_or_create query caused a "create" action
although the entry was already present. This was during testing with the production setup, using multiple threads.
See if the error can be reproduced.

https://github.com/raiden-network/paywall/blob/c84e5407f60e5316dd477ca4a9bbf89ad2749c00/server/src/raiden_paywall/flask_raiden.py#L58-L70

@ezdac ezdac added bug Something isn't working wontfix This will not be worked on labels Oct 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant