-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Generate right-length nodeIdentifier/ XID" #141
Conversation
For MariaDB I can confirm that the shorten transactionManagerId (xa node name) is causing an issue in command @geoand: Maybe hashing approach has drawback also for Quarkus. Should be verified! |
49a7c20
to
b4e0c5f
Compare
So if I understand correctly, you are changing the default behavior to not shorten the ID? Why this change of default (which is a breaking change)? |
This feature was introduced in the last version 3.1.0 as a back port from Quarkus where it is disabled by default. So I do just add what should be there already. But it seems that this feature has drawbacks anyway in Spring boot and Quarkus which should be evaluated. 😉 |
Understood, thanks |
Well, It seems the patch at Quarkus is wrong. SHA-224 creates a 28 sized byte array but after creating a UTF-8 String from it the corresponding byte array is somewhere around size 40-60 much bigger than 28 :-/ |
Thanks for investigating. Please open a relevant issue in the Quarkus repo |
In the meantime I would suggest to revert this feature for a 3.1.1 patch release until a better fix is found. @geoand : okay for you? |
Sounds good to me |
@geoand : Revert #136 as discussed and opened quarkusio/quarkus#40256 for Quarkus. |
I'll release 3.1.1. |
Relased |
Looks good to me, but could really test it tomorrow, okay for you? |
Sure, no problem. Thanks. |
@jacobdotcosta: build and tested successfully. Ready to release! ;-) |
3.1.1 released |
@jacobdotcosta thx, but don't miss the scm tag 😉 |
fixed :( |
Resolves #140
Update to #132/#136/quarkusio/quarkus#30491