-
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
Generate right-length nodeIdentifier/ XID #132
Conversation
Generate right-length nodeIdentifier if nodeIdentifier is longer than 28 bytes, the XID generated by narayana ist too long, and it breaks. This shortens it, while nodeIdentifier remains unique. Fix ported from quarkus quarkusio/quarkus#30491
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Imports look like they are not sorted. Can you fix that please? Thanks |
Hi,
yes of course.
But I am currently not in the office.
I hopefully can fix it by the end of this week.
Greetings Oliver
On 4. Mar 2024, at 07:27, Georgios Andrianakis ***@***.***> wrote:
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Imports look like they are not sorted.
Can you fix that please?
Thanks
—
Reply to this email directly, view it on GitHub<#132 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQF3ZPVS56UH4TC5DIZC76TYWQH63AVCNFSM6AAAAABC333IFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVHAZDEOJVG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks! |
Can you fix the checkstyle violation please ?
|
Fix accidentally removed line
@geoand: Could you review again? |
Mind squashing and rebasing the commits please? |
Generate right-length nodeIdentifier
if nodeIdentifier is longer than 28 bytes, the XID generated by narayana ist too long, and and error occurs. This shortens the nodeIdentifier if necessary, while keeping it unique.
Fix ported from quarkus
quarkusio/quarkus#30491
quarkusio/quarkus@07b3a4c