adonisjs/lucid

V6: Migration process not finish when using postgres with replicas

Closed this issue · 2 comments

Package version

21.1.0

Describe the bug

I have a project using AdonisV6 with PostgreSQL, configured with replicas. When I run the migrations, all migrations execute correctly, but the process never finishes.

I recently migrated my project from V5 to V6, and I didn't encounter this issue in V5.

To reproduce the problem, follow the steps in the project's README.

Reproduction repo

https://github.com/GustavoSabel/issue-adonisjs6-migration-freezing-replicas

Thanks for sharing a reproduction. I have fixed the issue and will cut a release now