While reviewing transactions isolation, two updates lock rows in opposite order. Which action best addresses the problem?
Answer options
- A. Use consistent lock ordering and retry
- B. Wrap both changes in one transaction
- C. Expect a newer value on the reread
- D. Use serializable transactions with retry