Skip to content
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

fix: Fail if too long lease name, #910 #1194

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

patriknw
Copy link
Member

  • for backwards compatibility it's possible to allow old behavior with config, e.g. to support rolling update

Refs #910

Requires a way to define custom lease names, which is added in akka/akka#32122

* for backwards compatibility it's possible to allow old behavior
  with config, e.g. to support rolling update
if (allowLeaseNameTruncation)
trim(truncateTo63Characters(normalized), List('-'))
else {
if (normalized.length > 63)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the same as we have for rolling update:

@johanandren johanandren merged commit 97c04b1 into main Sep 21, 2023
12 checks passed
@johanandren johanandren deleted the wip-910-lease-name-patriknw branch September 21, 2023 10:35
@johanandren johanandren added this to the 1.5.0-M1 milestone Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants