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

Enhancement proposal for replacing nodes using their HostIDs #1313

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

zimnx
Copy link
Collaborator

@zimnx zimnx commented Aug 8, 2023

Currently, the Scylla Operator uses IP addresses of a node to identify which node should be replaced. The issue is that depending on the ScyllaCluster configuration, IP addresses might be ephemeral so it’s error prone to use it as an identifier as they may change during when the procedure is executed. Because there is a better stable alternative, IP address approach became deprecated, hence we need to shift to it.

Details can be found in actual enhancement.

Fixes #1314

@zimnx zimnx added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. kind/design Categorizes issue or PR as related to design. labels Aug 8, 2023
@zimnx zimnx added this to the v1.10 milestone Aug 8, 2023
@scylla-operator-bot scylla-operator-bot bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 8, 2023
@zimnx zimnx force-pushed the mz/replace-node-uuid-proposal branch from 8da0f88 to 011c5cf Compare August 8, 2023 14:06
Copy link
Member

@rzetelskik rzetelskik left a comment

Choose a reason for hiding this comment

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

A few suggestions and comments, lgtm otherwise

@tnozicka tnozicka force-pushed the mz/replace-node-uuid-proposal branch from 011c5cf to 460206a Compare August 9, 2023 13:41
@zimnx zimnx force-pushed the mz/replace-node-uuid-proposal branch 2 times, most recently from 93fbe68 to 3baab9a Compare August 10, 2023 10:35
Currently, the Scylla Operator uses IP addresses of a node to identify
which node should be replaced. The issue is that depending on the
ScyllaCluster configuration, IP addresses might be ephemeral so it’s
error prone to use it as an identifier as they may change during when
the procedure is executed. Because there is a better stable alternative,
IP address approach became deprecated, hence we need to shift to it.

Details can be found in actual enhancement.
@tnozicka tnozicka force-pushed the mz/replace-node-uuid-proposal branch from 3baab9a to 27fac54 Compare August 14, 2023 10:50
Copy link
Member

@tnozicka tnozicka left a comment

Choose a reason for hiding this comment

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

/lgtm

thanks

@scylla-operator-bot scylla-operator-bot bot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2023
@scylla-operator-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tnozicka, zimnx

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zimnx zimnx enabled auto-merge August 14, 2023 11:09
@zimnx zimnx disabled auto-merge August 14, 2023 15:17
@zimnx zimnx merged commit 6cf3493 into scylladb:master Aug 14, 2023
20 of 21 checks passed
@zimnx zimnx deleted the mz/replace-node-uuid-proposal branch August 14, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/design Categorizes issue or PR as related to design. lgtm Indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create proposal for Node replacement using node HostID
3 participants