Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lack of coordination in database creation in 26.3.0 causes deployment failures (Reopen) #41801

@mvk37

Description

@mvk37

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

core

Describe the bug

It is a replacement for 41048 . I don't have permissions to reopen issues. So creating a new one.

Problem in 41048 was not addressed. If you install several Keycloaks in parallel one of them start and others crashing as was shown in the original issue. Root cause of this is disappearing in 26.3 coordination between Keycloak instances when they are creating database schema.

Only difference from original issue, in 26.3.2 error it is

2025-08-12 01:01:03,875 WARN [org.mariadb.jdbc.message.server.ErrorPacket] (main) Error: 1062-23000: Duplicate entry '26.3.2' for key 'UK_MIGRATION_VERSION'

When 26.3.0 it was Multiple primary key defined on table DATABASECHANGELOG.

Version

26.3.2

Regression

  • The issue is a regression

Expected behavior

Several Keycloaks instances can be deployed simultaniously, as it was before 26.3.0

Actual behavior

See description

How to Reproduce?

See 41048

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions