I have a question about the deadlock from optimistic lock. I implemented an simple airline booking system. The database scheme like this:
In the book flight API,