-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
area/storageIndicates an issue that touches storage (change in data layout or data manipulation)Indicates an issue that touches storage (change in data layout or data manipulation)kind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugrelease/25.0.3release/25.0.4release/26.0.0team/sre
Description
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
storage
Describe the bug
This PR: #17525 introduced a new client session note clientId. This means all client sessions created in KC 22 or newer have this note. However, the sessions created by an older version do not have this note.
The persistent user sessions migration is relying on that note to be present and if it is not there, the migration fails with:
..."java.lang.NullPointerException","message":"Cannot invoke \"String.startsWith(String)\" because \"id\" is null"...
as reported here:
#28271 (comment)
Version
25.0.2
Regression
- The issue is a regression
Expected behavior
The migration works even if client sessions were created by an older KC version
Actual behavior
The migration fails
How to Reproduce?
- Run KC 21 and create some sessions
- Run KC 25 with enabled
persistent-user-sessionsfeature - Migration fails
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area/storageIndicates an issue that touches storage (change in data layout or data manipulation)Indicates an issue that touches storage (change in data layout or data manipulation)kind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugrelease/25.0.3release/25.0.4release/26.0.0team/sre