While reviewing transactions isolation, two updates lock rows in opposite order. Which action fixes it, and which check proves it worked?
Answer options
- A. Verify deadlock victims retry safely
- B. Wrap both changes in one transaction
- C. Expect a newer value on the reread
- D. Use consistent lock ordering and retry