gossip: Kill one more unimplemented in shutdown

This commit is contained in:
Asias He
2015-07-30 15:42:14 +08:00
parent efbdf428fc
commit 5d08bd030c

View File

@@ -1256,9 +1256,7 @@ void gossiper::add_lccal_application_states(std::list<std::pair<application_stat
future<> gossiper::shutdown() {
return seastar::async([this] {
warn(unimplemented::cause::GOSSIP);
// if (scheduledGossipTask != null)
// scheduledGossipTask.cancel(false);
_scheduled_gossip_task.cancel();
logger.info("Announcing shutdown");
sleep(INTERVAL * 2).get();
for (inet_address addr : _live_endpoints) {