We had a transaction that updates 2000000 rows in a postgresql 10 database using flyway (v6). It failed with Unable to acquire Flyway advisory lock .
2000000 records is not that big and it is 1 logical transaction.
I was able to reproduce the problem only once, since then I can't reproduce the problem. This is a micro-sercice, and the target table is alone in it's schema.
Any clue ?