easy5 pts · first answer countssqlconcurrency
Duplicate emails despite a check
Signup code runs SELECT to check whether the email exists and then INSERTs the user. Duplicate accounts still appear under heavy traffic. What is the right fix?
Signup code runs SELECT to check whether the email exists and then INSERTs the user. Duplicate accounts still appear under heavy traffic. What is the right fix?