If error message is matched, raw DB error will be transformed to nova DBDeadlock.
there is only mysql regex string, no postgresql.
_DEADLOCK_RE_DB = { "mysql": re.compile(r"^.*\(1213, 'Deadlock.*") }
look like a bug.
If error message is matched, raw DB error will be transformed to nova DBDeadlock.
there is only mysql regex string, no postgresql.
_DEADLOCK_RE_DB = { r"^.*\( 1213, 'Deadlock.*")
"mysql": re.compile(
}
look like a bug.