Repository navigation
Conversation
Contributor
|
@ahus1 Let me know if I can help with this. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Relates to keycloak#54844 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Relates to keycloak#54844 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
…schema quoting Relates to keycloak#54844 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
CockroachDB resolves a quoted name as a database first, so the test created a database named keycloak-t but no schema, and Liquibase could not see the existing objects. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
ahus1
force-pushed
the
is-54844-cockroachdb
branch
from
November 12, 2026 09:24
aaa306e to
fbcc219
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #54844
Spike to evaluate Keycloak on CockroachDB, used as a plain PostgreSQL database (
--db=postgres, no dedicated Keycloak database vendor).Test wiring
test-framework/db-cockroachdb, selected withKC_TEST_DATABASE=cockroachdb. It starts a single-node insecure container and creates akeycloakrole that defaults to READ COMMITTED, which Keycloak requires.Changes needed for CockroachDB
cockroachdb) instead of PostgreSQL.KeycloakCockroachDatabasereports DDL as supported in transactions, as Liquibase would otherwise switch to auto-commit, which Keycloak's custom tasks can't use.authz-3.4.0.CR1changeSet avoids dropping an index that CockroachDB won't drop.modifySqlblocks anddbmspreconditions now also apply tocockroachdb, so the partial and expression indexes match PostgreSQL. EDB-only migration changeSets are untouched.DbTestpasses. A migration on a fresh database takes about 12 minutes.