Open InbarShirizly opened 4 years ago
The problem is: when we are working in the multi-processing mode, several processes queries the database for location. Because we don't insert the location immediately, there is a high chance that both of the queries will not find the location and create a location to add. The location table forced the country to be unique and then it fails over and over.
I have ideas about how to solve this:
a presentation that presents the problem in general: https://slideplayer.com/slide/4962647/
We can see in the pictures that users that should be entered regularly to the database were skipped