mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 13:06:57 +00:00
We want to always be able to distinguish between the replacing node and the replacee by using different, unique, host identifiers. This will allow us to use the host_id authoritatively to identify the node (rather then its endpoint ip address) for token mapping and node operations. Also, it will be used in the following patch to never allow the replaced node to rejoin the cluster, as its host_id should never be reused. This change does not affect #5523, the replaced node may still steal back its tokens if restarted. Refs #9839 Refs #12040 Closes #12250 * github.com:scylladb/scylladb: docs: replace-dead-node: update host_id of replacing node docs: replace-dead-node: fix alignment db: system_keyspace: change set_local_host_id to private set_local_random_host_id storage_service: do not inherit the host_id of a replaced a node