Glossary: Spring Boot Beyond the Basics
Lost update
A race where two orders both read stock 40 and both write 10, so sixty bags are sold but thirty are taken. A transaction alone doesn't prevent it.
Glossary: Spring Boot Beyond the Basics
A race where two orders both read stock 40 and both write 10, so sixty bags are sold but thirty are taken. A transaction alone doesn't prevent it.