Closed ascheibal closed 2 years ago
More than one entry with a hashed_guid can exist.
hashed_guid entries have to be unique.
only in havy load scenarios with multiple instances, threads accessing the database.
add a unique constraint to hashed_guid column
will produce a SQL UniqueConstraintViolation Exception that should be handled with an http state 400 response to the App.
Describe the bug
More than one entry with a hashed_guid can exist.
Expected behaviour
hashed_guid entries have to be unique.
Steps to reproduce the issue
only in havy load scenarios with multiple instances, threads accessing the database.
Technical details
Possible Fix
add a unique constraint to hashed_guid column
Additional context
will produce a SQL UniqueConstraintViolation Exception that should be handled with an http state 400 response to the App.