mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 12:06:44 +00:00
gossiper: run: no need to replicate live_endpoints
As asias@scylladb.com noticed, after the previous patch that calls replicate_live_endpoints_on_change in mutate_live_and_unreachable_endpoints, _live_endpoints are always updated on all shards when they change, so there's no need anymore to replicate them here. Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
@@ -1064,12 +1064,6 @@ void gossiper::run() {
|
||||
|
||||
do_status_check().get();
|
||||
}
|
||||
|
||||
{
|
||||
auto lock = lock_endpoint_update_semaphore().get();
|
||||
replicate_live_endpoints_on_change().get();
|
||||
}
|
||||
|
||||
}).then_wrapped([this] (auto&& f) {
|
||||
try {
|
||||
f.get();
|
||||
|
||||
Reference in New Issue
Block a user