Hacker News new | ask | show | jobs
by dstola 1817 days ago
> rewriting a repository to use a ORM, jOOQ in this particular case with Java8

> spend two weeks on this, write extremely meticulous tests, I am a junior/mid level engineer at this point in my career and this is a game changing ticket

> day of the switch approaches, sweating bullets

> switch happens, so far so good

> This was for a food delivery company so the volume of orders changes throughout the day (lunch, dinner, evening etc)

> at lunch time orders suddenly start disappearing, but eventually over time things go back to normal

> goes on like this for hours, at least a few

> tech team is confused ... why are these orders disappearing into nowhere

> senior engineer is suspicious and reviews my PR from the night before

> I forgot to remove `LIMIT 100` on the GET /order query when I was testing

Still makes me chuckle to this day