Hacker News new | ask | show | jobs
by glic3rinu 1893 days ago
OP is talking about concurrent execution of the task without serialization on the database (serializable isolation is almost never the default). Which results in 2 concurrent queries getting the same list of customers to charge.