edgedb-cli
edgedb-cli copied to clipboard
`TransactionDeadlockError: deadlock detected` `edgedb error: error in one of the migrations`
- EdgeDB Version: 3.1
- EdgeDB CLI Version: 3.4.0+4d95a2c
- OS Version: macos 10.13
Steps to Reproduce:
- Migrating a remote instance via
edgedb migrate -I instance_name - Fails with the following CLI output,
edgedb error: TransactionDeadlockError: deadlock detected
edgedb error: error in one of the migrations
This was ultimately resolved by retrying. According to @elprans these should be automatically retried.
Noticed there was not a verbose option on edgedb migrate so no additional information to provide there.
Another report here, https://discord.com/channels/841451783728529451/849377751370432573/1162496692822745241
For anybody else looking at this, the issue was that some long running queries were deadlocking with the migration while trying to modify postgres views