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:
Benny Halevy
2023-08-22 09:52:15 +03:00
parent 2c27297dbd
commit d666fbfe8f

View File

@@ -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();