8000 Multiple QuarkusJpaUpdaterProvider calls during boot · Issue #40408 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Multiple QuarkusJpaUpdaterProvider calls during boot #40408
Closed
@lrozenblyum

Description

@lrozenblyum

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

dist/quarkus

Describe the bug

During boot of Keycloak 26.2.5 we see multiple calls to validate the database schema.

Version

26.2.5

Regression

  • The issue is a regression

Expected behavior

DB schema should be validated just once

Actual behavior

DB schema is validated 4 times

2025-06-11 11:17:14,729 DEBUG [org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider] (main) Validating if database is updated
2025-06-11 11:17:14,731 DEBUG [org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory] (main) Database is up-to-date
2025-06-11 11:17:14,735 DEBUG [org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory] (main) Database info: {databaseUrl=jdbc:postgresql://localhost/<redacted>,
databaseUser=<redacted>, databaseProduct=PostgreSQL 16.6, databaseDriver=PostgreSQL JDBC Driver 42.7.5}
2025-06-11 11:17:14,736 DEBUG [org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider] (main) Validating if database is updated
2025-06-11 11:17:14,736 DEBUG [org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory] (main) Database is up-to-date
2025-06-11 11:17:14,743 DEBUG [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
2025-06-11 11:17:14,748 DEBUG [org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory] (main) Database info: {databaseUrl=jdbc:postgresql://localhost/<redacted>,
databaseUser=<redacted>, databaseProduct=PostgreSQL 16.6, databaseDriver=PostgreSQL JDBC Driver 42.7.5}
2025-06-11 11:17:14,749 DEBUG [org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider] (main) Validating if database is updated
2025-06-11 11:17:14,750 DEBUG [org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory] (main) Database is up-to-date
2025-06-11 11:17:14,750 DEBUG [org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory] (main) Database info: {databaseUrl=jdbc:postgresql://localhost/<redacted>,
databaseUser=<redacted>, databaseProduct=PostgreSQL 16.6, databaseDriver=PostgreSQL JDBC Driver 42.7.5}
2025-06-11 11:17:14,751 DEBUG [org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider] (main) Validating if database is updated
2025-06-11 11:17:14,751 DEBUG [org.keycloak.quarkus.runtime.storage.database.jpa.QuarkusJpaConnectionProviderFactory] (main) Database is up-to-date

How to Reproduce?

Enable DEBUG logging.
Boot Keycloak

Anything else?

In 22.0.5 we saw that just once:

DEBUG [org.keycloak.quarkus.runtime.storage.legacy.liquibase.QuarkusJpaUpdaterProvider] (main) Validating if database is updated
DEBUG [org.keycloak.quarkus.runtime.storage.legacy.database.LegacyJpaConnectionProviderFactory] (main) Database is up-to-date

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0