mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 13:37:04 +00:00
The `add_server` function now takes an optional `ReplaceConfig` struct (implemented using `NamedTuple`), which specifies the ID of the replaced server and whether to reuse the IP address. If we want to reuse the IP address, we don't allocate one using the host registry. This required certain refactors: moving the code responsible for allocation of IPs outside `ScyllaServer`, into `ScyllaCluster`. Add two tests, but they are now skipped: one of them is failing (unability for new node to join group 0) and both suffer from a hardcoded 60-second sleep in Scylla. Closes #12032 * github.com:scylladb/scylladb: test/topology: simple node replace tests (currently disabled) test/pylib: scylla_cluster: support node replace operation test/pylib: scylla_cluster: move members initialization to constructor test/pylib: scylla_cluster: (re)lease IP addr outside ScyllaServer test/pylib: scylla_cluster: refactor create_server parameters to a struct test.py: stop/uninstall clusters instead of servers when cleaning up test/pylib: artifact_registry: replace `Awaitable` type with `Coroutine` test.py: prepare for adding extra config from test when creating servers test/pylib: manager_client: convert `add_server` to use `put_json` test/pylib: rest_client: allow returning JSON data from `put_json` test/pylib: scylla_cluster: don't import from manager_client