Skip to content

Add section to verify a graceful shutdown to the docs#49989

Merged
ahus1 merged 1 commit into
keycloak:mainfrom
ahus1:is-49988-verify-graceful-shutdown
Jun 19, 2026
Merged

Add section to verify a graceful shutdown to the docs#49989
ahus1 merged 1 commit into
keycloak:mainfrom
ahus1:is-49988-verify-graceful-shutdown

Conversation

@ahus1

@ahus1 ahus1 commented Jun 13, 2026

Copy link
Copy Markdown
Member

Closes #49988

Closes keycloak#49988

Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
@ahus1
ahus1 force-pushed the is-49988-verify-graceful-shutdown branch from 356f356 to f148cad Compare June 13, 2026 11:16
@ahus1
ahus1 requested a review from pruivo June 13, 2026 11:16
@ahus1

ahus1 commented Jun 13, 2026

Copy link
Copy Markdown
Member Author

@pruivo - can you please review this PR when you have the time?

Gemini AI also gave the following hint to look at the remaining nodes to see if they show messages like "Lost connection to node" or "Cluster view timeout" from an Infinispan logger.

I'd say looking in the leaving node's log is sufficient. Still I wonder: Could a remaining Keycloak node log a more specific warning like "Keycloak node did not leave gracefully, check XXX in the docs on how to resolve that"?

Thanks!

@pruivo

pruivo commented Jun 15, 2026

Copy link
Copy Markdown
Member

@ahus1 Infinispan only logs crashes if they cause data loss; a single node crashing will not generate any logs.

@ahus1
ahus1 marked this pull request as ready for review June 15, 2026 21:19
@ahus1
ahus1 requested review from a team as code owners June 15, 2026 21:19
@ahus1

ahus1 commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

@pruivo - alright, then let's leave the docs as is. Please review/approve when you have the time. Thanks!

@ahus1
ahus1 enabled auto-merge (squash) June 17, 2026 20:12
@ahus1
ahus1 merged commit 836671d into keycloak:main Jun 19, 2026
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs should describe on how to detect if a graceful shutdown was successful

3 participants