Race condition allows 2 customer accounts with the same email to created. #566
Replies: 1 comment
-
Yes, it is possible that more than one customer account with the same email could be created at the same time, as we don't have unique constraint at the database level. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We create Customer Accounts via events.
When 2 events with the same email are processed at the same time, 2 Customer Accounts get created with the same email instead of 1 request failing due to the unique email constraint.
This happens intermittently, and I've been able to reproduced it a couple of times.
Beta Was this translation helpful? Give feedback.
All reactions