Add version columns for the ride request and drivers. This resolves the race conditions when assigning two different drivers to the same ride request or when assigning the same driver to two different ride requests. There are "other" race conditions but the effect is not as large as the above two scenarios.
Add version columns for the ride request and drivers. This resolves the race conditions when assigning two different drivers to the same ride request or when assigning the same driver to two different ride requests. There are "other" race conditions but the effect is not as large as the above two scenarios.