Keycloakx upgrade from v.2.2.1 to v2.2.2 failed with postgres BDR issues
ranjitburgute opened this issue · comments
I got the below exception in keycloak container while upgrading from v.2.2.1 to v2.2.2 failed with Postgres BDR enabled.
-
ERROR: Failed to update database
-
ERROR: liquibase.exception.MigrationFailedException: Migration failed for changeset META-INF/jpa-changelog-21.1.0.xml::21.1.0-19404::keycloak:
Reason: liquibase.exception.DatabaseException: ERROR: ALTER TABLE ... ALTER COLUMN TYPE which cannot be automatically cast to new type may not affect replicated tables on a BDR node
Where: "xact rep": true, "ddl rep": true, "ddl locking": dml
in pglogical plugin bdr in the preprocess_ddl callback [Failed SQL: (0) ALTER TABLE keycloak.RESOURCE_SERVER_POLICY ALTER COLUMN DECISION_STRATEGY TYPE SMALLINT USING (DECISION_STRATEGY::SMALLINT)] -
ERROR: ERROR: ALTER TABLE ... ALTER COLUMN TYPE which cannot be automatically cast to new type may not affect replicated tables on a BDR node
Where: "xact rep": true, "ddl rep": true, "ddl locking": dml
in pglogical plugin bdr in the preprocess_ddl callback
This issue has been marked as stale because it has been open for 30 days with no activity. It will be automatically closed in 10 days if no further activity occurs.