Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2778

--spi-connections-liquibase-default-index-creation-threshold does not work [GHI#36669]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • RHBK-2757 - Release Red Hat Build of KeyCloak

      Before reporting an issue

      [x] 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

      core

      Describe the bug

      --spi-connections-liquibase-default-index-creation-threshold does not work

      $ ./bin/kc.sh start-dev --log-level=org.keycloak.connections.jpa:TRACE --spi-connections-liquibase-default-index-creation-threshold=2
      2025-01-22 13:02:43,340 DEBUG [org.keycloak.connections.jpa.updater.liquibase.conn.DefaultLiquibaseConnectionProvider] (main) indexCreationThreshold is 300000

      $ ./bin/kc.sh start-dev --log-level=org.keycloak.connections.jpa:TRACE --spi-connections-liquibase-default-index-creation-threshold=300001
      2025-01-22 13:05:45,315 DEBUG [org.keycloak.connections.jpa.updater.liquibase.conn.DefaultLiquibaseConnectionProvider] (main) indexCreationThreshold is 300000

      $ ./bin/kc.sh start-dev --log-level=org.keycloak.connections.jpa:TRACE --spi-connections-liquibase-default-index-creation-threshold=299999
      2025-01-22 13:05:55,815 DEBUG [org.keycloak.connections.jpa.updater.liquibase.conn.DefaultLiquibaseConnectionProvider] (main) indexCreationThreshold is 300000

      Version

      26.0.7

      Regression

      [ ] The issue is a regression

      Expected behavior

      indexCreationThreshold is set.

      Actual behavior

      indexCreationThreshold is not set but remains default (300000).

      How to Reproduce?

      run:

      $ ./bin/kc.sh start-dev --log-level=org.keycloak.connections.jpa:TRACE --spi-connections-liquibase-default-index-creation-threshold=2

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Core IAM
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: