Gleb Natapov
<gleb@scylladb.com>unread,Mar 31, 2025, 4:35:34 AMMar 31Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
to scylladb-dev@googlegroups.com
It does nothing but harm in raft topology mode.
---
gms/gossiper.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gms/gossiper.cc b/gms/gossiper.cc
index 2b49579b108..dfd1f2d78e9 100644
--- a/gms/gossiper.cc
+++ b/gms/gossiper.cc
@@ -1365,6 +1365,9 @@ future<> gossiper::advertise_token_removed(inet_address endpoint, locator::host_
}
future<> gossiper::assassinate_endpoint(sstring address) {
+ if (_topo_sm) {
+ throw std::runtime_error("Assassinating endpoint is not supported in topology over raft mode");
+ }
co_await container().invoke_on(0, [&] (auto&& gossiper) -> future<> {
inet_address endpoint(address);
auto permit = co_await gossiper.lock_endpoint(endpoint, null_permit_id);
--
2.47.1