From 7d656fe1275e728db0da65ba8f05f2eb507553c7 Mon Sep 17 00:00:00 2001 From: Asias He Date: Wed, 21 Oct 2015 14:51:00 +0800 Subject: [PATCH] storage_service: Enable add_leaving_endpoint in handle_state_leaving --- service/storage_service.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/service/storage_service.cc b/service/storage_service.cc index 8aac3fb48d..b57903f952 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -583,9 +583,7 @@ void storage_service::handle_state_leaving(inet_address endpoint) { // at this point the endpoint is certainly a member with this token, so let's proceed // normally -#if 0 - _token_metadata.addLeavingEndpoint(endpoint); -#endif + _token_metadata.add_leaving_endpoint(endpoint); get_local_pending_range_calculator_service().update().get(); }