Deadlock when running SELECT x WHERE y FOR UPDATE I’m using MySQL version 8.3.0 from a Docker image, with the default configuration.