Answer the question
In order to leave comments, you need to log in
How to set "strict sequence" in mysql? Can set the transaction queue as a thread?
This is such an unfortunate situation. Applications fall into the database, but before adding a new application, it is checked whether there is the same one with the same number for the last hour. The script that makes requests to the database works asynchronously. And sometimes the database gives in both almost simultaneous requests the result that there is no application with this number and the script inserts data in both cases.
I would like all applications to reach, be checked for duplicates and not get lost...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question