lock ordering
Taking locks in one agreed order everywhere, so no cycle of waiting can form.
Every path that holds more than one lock acquires them in the same total order, such as ascending account id, which removes circular wait.
See also
Taking locks in one agreed order everywhere, so no cycle of waiting can form.
Every path that holds more than one lock acquires them in the same total order, such as ascending account id, which removes circular wait.
See also