pgsql race condition on databasechangeloglock table creation
Description
When running Liquibase on multiple nodes simultaneously, we hit a race condition on creating the databasechangeloglock table that isn't covered by the fix for CORE-2596. The error returned from the database is:
When running Liquibase on multiple nodes simultaneously, we hit a race condition on creating the databasechangeloglock table that isn't covered by the fix for CORE-2596. The error returned from the database is:
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "pg_type_typname_nsp_index"
Detail: Key (typname, typnamespace)=(databasechangeloglock, 16387) already exists.