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

Remove seed node label #722

Merged
merged 1 commit into from Jul 29, 2021
Merged

Conversation

rzetelskik
Copy link
Member

Description of your changes:

  • Remove seed node label

Which issue is resolved by this Pull Request:
Resolves #704

@rzetelskik
Copy link
Member Author

@tnozicka should we also get rid of Replacing a dead seed node section from the operator docs?

@rzetelskik rzetelskik added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jul 24, 2021
@rzetelskik rzetelskik added this to the v1.5 milestone Jul 24, 2021
@zimnx
Copy link
Collaborator

zimnx commented Jul 27, 2021

should we also get rid of Replacing a dead seed node section from the operator docs?

Yes, additional steps are no longer needed. Actually this could be a separate PR which should be backported to 1.4: #726

// as the label is still used by v1.3 sidecar before the new cluster version rolls out.
// If Member is seed, add the appropriate label
if strings.HasSuffix(name, "-0") || strings.HasSuffix(name, "-1") {
labels[naming.SeedLabel] = ""
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please also remove definition and other usages.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@rzetelskik
Copy link
Member Author

Opened #727

@rzetelskik rzetelskik requested a review from zimnx July 27, 2021 08:29
@rzetelskik rzetelskik force-pushed the remove-seed-node-label branch 2 times, most recently from a79ef90 to b8679d6 Compare July 28, 2021 13:21
zimnx
zimnx previously approved these changes Jul 29, 2021
Copy link
Collaborator

@zimnx zimnx left a comment

Choose a reason for hiding this comment

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

LGTM, please rebase

@zimnx zimnx enabled auto-merge July 29, 2021 10:07
@zimnx zimnx merged commit 689c0a0 into scylladb:master Jul 29, 2021
@rzetelskik rzetelskik deleted the remove-seed-node-label branch July 29, 2021 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove seed node labels in v1.5
2 participants