Doesn’t the code have a race condition if the user is inserted by some other process between the initial find and the insert?
3 Likes
Doesn’t the code have a race condition if the user is inserted by some other process between the initial find and the insert?