Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At one of my previous jobs, there was a function `createEntityWithRandomUUID` which would basically do the same thing as a light wrapper around database inserts. If a conflict occurred, it would generate a new ID and try again, up to 5 times I think. No logging to indicate whether any conflict actually ever happened.


No that kind of critical data would be sent to pendo so it could be reported on or shown in a dashboard!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: