storage_service: Kill unimplemented in decommission

This commit is contained in:
Asias He
2015-10-22 10:29:08 +08:00
parent ce6dd0f8f8
commit 4785798904

View File

@@ -1435,7 +1435,6 @@ bool storage_service::is_native_transport_running() {
}
future<> storage_service::decommission() {
fail(unimplemented::cause::STORAGE_SERVICE);
return seastar::async([this] {
if (!_token_metadata.is_member(get_broadcast_address())) {
throw std::runtime_error("local node is not a member of the token ring yet");