What are 'best practices' for dealing with transient database errors in a highly concurrent Rails system?
问题 While researching a deadlock issue, I found the following post: https://rails.lighthouseapp.com/projects/8994/tickets/6596 The gist of it is as follows: the MySQL docs say: Deadlocks are a classic problem in transactional databases, but they are not dangerous unless they are so frequent that you cannot run certain transactions at all. Normally, you must write your applications so that they are always prepared to re-issue a transaction if it gets rolled back because of a deadlock . Therefore