From a1060c3315761e2f5071c9ce2e1eebc3eb659c62 Mon Sep 17 00:00:00 2001 From: WeijieSun Date: Tue, 17 Jul 2018 18:02:34 +0800 Subject: [PATCH] replication: rename clientlib to common (#137) --- src/dist/replication/CMakeLists.txt | 2 +- .../replication/client_lib/replication_ds.h | 39 ------------------- .../{client_lib => common}/CMakeLists.txt | 2 +- .../block_service_manager.cpp | 0 .../block_service_manager.h | 0 .../{client_lib => common}/fs_manager.cpp | 0 .../{client_lib => common}/fs_manager.h | 2 +- .../replication_common.cpp | 0 .../replication_common.h | 1 - .../replication_types.cpp | 0 src/dist/replication/lib/CMakeLists.txt | 2 +- src/dist/replication/lib/mutation.h | 2 +- src/dist/replication/lib/mutation_cache.h | 2 +- src/dist/replication/lib/mutation_log.h | 2 +- src/dist/replication/lib/replica.h | 2 +- src/dist/replication/lib/replica_backup.cpp | 2 +- src/dist/replication/lib/replica_context.cpp | 2 +- src/dist/replication/lib/replica_restore.cpp | 2 +- src/dist/replication/lib/replica_stub.h | 6 +-- .../lib/replication_service_app.cpp | 2 +- .../replication/meta_server/CMakeLists.txt | 2 +- .../distributed_lock_service_simple.cpp | 2 +- .../meta_server/meta_backup_service.cpp | 2 +- .../meta_server_failure_detector.h | 2 +- .../replication/meta_server/meta_service.h | 4 +- .../meta_server/meta_state_service_simple.h | 2 +- .../replication/meta_server/server_state.h | 2 +- .../meta_server/server_state_restore.cpp | 4 +- .../balancer_simulator/CMakeLists.txt | 2 +- .../replication/test/meta_test/misc/misc.cpp | 2 +- .../replication/test/meta_test/misc/misc.h | 2 +- .../test/meta_test/unit_test/CMakeLists.txt | 2 +- .../replica_test/unit_test/CMakeLists.txt | 2 +- .../replication/test/simple_kv/CMakeLists.txt | 2 +- .../replication/test/simple_kv/checker.cpp | 29 +++++++------- src/dist/replication/test/simple_kv/common.h | 2 +- src/tests/dsn/CMakeLists.txt | 2 +- src/tools/repli/CMakeLists.txt | 2 +- 38 files changed, 48 insertions(+), 89 deletions(-) delete mode 100644 src/dist/replication/client_lib/replication_ds.h rename src/dist/replication/{client_lib => common}/CMakeLists.txt (92%) rename src/dist/replication/{client_lib => common}/block_service_manager.cpp (100%) rename src/dist/replication/{client_lib => common}/block_service_manager.h (100%) rename src/dist/replication/{client_lib => common}/fs_manager.cpp (100%) rename src/dist/replication/{client_lib => common}/fs_manager.h (98%) rename src/dist/replication/{client_lib => common}/replication_common.cpp (100%) rename src/dist/replication/{client_lib => common}/replication_common.h (99%) rename src/dist/replication/{client_lib => common}/replication_types.cpp (100%) diff --git a/src/dist/replication/CMakeLists.txt b/src/dist/replication/CMakeLists.txt index 9aeb557d23..85c0e29a25 100644 --- a/src/dist/replication/CMakeLists.txt +++ b/src/dist/replication/CMakeLists.txt @@ -1,4 +1,4 @@ -add_subdirectory(client_lib) +add_subdirectory(common) add_subdirectory(ddl_lib) add_subdirectory(tool_lib) add_subdirectory(meta_server) diff --git a/src/dist/replication/client_lib/replication_ds.h b/src/dist/replication/client_lib/replication_ds.h deleted file mode 100644 index 6854beb220..0000000000 --- a/src/dist/replication/client_lib/replication_ds.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2015 Microsoft Corporation - * - * -=- Robust Distributed System Nucleus (rDSN) -=- - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -/* - * Description: - * What is this file about? - * - * Revision history: - * xxxx-xx-xx, author, first version - * xxxx-xx-xx, author, fix bug about xxx - */ - -#pragma once - -#include -#include diff --git a/src/dist/replication/client_lib/CMakeLists.txt b/src/dist/replication/common/CMakeLists.txt similarity index 92% rename from src/dist/replication/client_lib/CMakeLists.txt rename to src/dist/replication/common/CMakeLists.txt index c99d085c04..d60e8724c7 100644 --- a/src/dist/replication/client_lib/CMakeLists.txt +++ b/src/dist/replication/common/CMakeLists.txt @@ -1,4 +1,4 @@ -set(MY_PROJ_NAME dsn.replication.clientlib) +set(MY_PROJ_NAME dsn_replication_common) # Source files under CURRENT project directory will be automatically included. # You can manually set MY_PROJ_SRC to include source files under other directories. diff --git a/src/dist/replication/client_lib/block_service_manager.cpp b/src/dist/replication/common/block_service_manager.cpp similarity index 100% rename from src/dist/replication/client_lib/block_service_manager.cpp rename to src/dist/replication/common/block_service_manager.cpp diff --git a/src/dist/replication/client_lib/block_service_manager.h b/src/dist/replication/common/block_service_manager.h similarity index 100% rename from src/dist/replication/client_lib/block_service_manager.h rename to src/dist/replication/common/block_service_manager.h diff --git a/src/dist/replication/client_lib/fs_manager.cpp b/src/dist/replication/common/fs_manager.cpp similarity index 100% rename from src/dist/replication/client_lib/fs_manager.cpp rename to src/dist/replication/common/fs_manager.cpp diff --git a/src/dist/replication/client_lib/fs_manager.h b/src/dist/replication/common/fs_manager.h similarity index 98% rename from src/dist/replication/client_lib/fs_manager.h rename to src/dist/replication/common/fs_manager.h index bf4f4e63aa..449a3533e5 100644 --- a/src/dist/replication/client_lib/fs_manager.h +++ b/src/dist/replication/common/fs_manager.h @@ -38,7 +38,7 @@ #include #include #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" namespace dsn { namespace replication { diff --git a/src/dist/replication/client_lib/replication_common.cpp b/src/dist/replication/common/replication_common.cpp similarity index 100% rename from src/dist/replication/client_lib/replication_common.cpp rename to src/dist/replication/common/replication_common.cpp diff --git a/src/dist/replication/client_lib/replication_common.h b/src/dist/replication/common/replication_common.h similarity index 99% rename from src/dist/replication/client_lib/replication_common.h rename to src/dist/replication/common/replication_common.h index cdba0dbd09..30df4681db 100644 --- a/src/dist/replication/client_lib/replication_common.h +++ b/src/dist/replication/common/replication_common.h @@ -37,7 +37,6 @@ #include #include -#include "dist/replication/client_lib/replication_ds.h" using namespace ::dsn::service; diff --git a/src/dist/replication/client_lib/replication_types.cpp b/src/dist/replication/common/replication_types.cpp similarity index 100% rename from src/dist/replication/client_lib/replication_types.cpp rename to src/dist/replication/common/replication_types.cpp diff --git a/src/dist/replication/lib/CMakeLists.txt b/src/dist/replication/lib/CMakeLists.txt index fb23e3c405..a1a2e9e457 100644 --- a/src/dist/replication/lib/CMakeLists.txt +++ b/src/dist/replication/lib/CMakeLists.txt @@ -12,7 +12,7 @@ set(MY_SRC_SEARCH_MODE "GLOB") set(MY_PROJ_INC_PATH "") set(MY_PROJ_LIBS - dsn.replication.clientlib + dsn_replication_common dsn.failure_detector dsn.failure_detector.multimaster ) diff --git a/src/dist/replication/lib/mutation.h b/src/dist/replication/lib/mutation.h index 3ff1117d4c..25e9b2d378 100644 --- a/src/dist/replication/lib/mutation.h +++ b/src/dist/replication/lib/mutation.h @@ -35,7 +35,7 @@ #pragma once -#include "../client_lib/replication_common.h" +#include "../common/replication_common.h" #include #include #include diff --git a/src/dist/replication/lib/mutation_cache.h b/src/dist/replication/lib/mutation_cache.h index 8501c1fa9e..10fb2cae94 100644 --- a/src/dist/replication/lib/mutation_cache.h +++ b/src/dist/replication/lib/mutation_cache.h @@ -35,7 +35,7 @@ #pragma once -#include "../client_lib/replication_common.h" +#include "../common/replication_common.h" #include "mutation.h" #include #include diff --git a/src/dist/replication/lib/mutation_log.h b/src/dist/replication/lib/mutation_log.h index 904c0f3675..bcc5db530f 100644 --- a/src/dist/replication/lib/mutation_log.h +++ b/src/dist/replication/lib/mutation_log.h @@ -35,7 +35,7 @@ #pragma once -#include "../client_lib/replication_common.h" +#include "../common/replication_common.h" #include "mutation.h" #include diff --git a/src/dist/replication/lib/replica.h b/src/dist/replication/lib/replica.h index 3fe6b9461e..a57d331303 100644 --- a/src/dist/replication/lib/replica.h +++ b/src/dist/replication/lib/replica.h @@ -49,7 +49,7 @@ #include #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include "mutation.h" #include "mutation_log.h" #include "prepare_list.h" diff --git a/src/dist/replication/lib/replica_backup.cpp b/src/dist/replication/lib/replica_backup.cpp index 6ffdad8d5b..4171580ace 100644 --- a/src/dist/replication/lib/replica_backup.cpp +++ b/src/dist/replication/lib/replica_backup.cpp @@ -3,7 +3,7 @@ #include #include -#include "dist/replication/client_lib/block_service_manager.h" +#include "dist/replication/common/block_service_manager.h" #include "replica.h" #include "mutation.h" diff --git a/src/dist/replication/lib/replica_context.cpp b/src/dist/replication/lib/replica_context.cpp index b7fc6d4803..6ca8ffdc51 100644 --- a/src/dist/replication/lib/replica_context.cpp +++ b/src/dist/replication/lib/replica_context.cpp @@ -41,7 +41,7 @@ #include "replica_stub.h" #include "mutation.h" #include "mutation_log.h" -#include "../client_lib/block_service_manager.h" +#include "../common/block_service_manager.h" namespace dsn { namespace replication { diff --git a/src/dist/replication/lib/replica_restore.cpp b/src/dist/replication/lib/replica_restore.cpp index e03d13fefc..c0b8342df5 100644 --- a/src/dist/replication/lib/replica_restore.cpp +++ b/src/dist/replication/lib/replica_restore.cpp @@ -11,7 +11,7 @@ #include "replica.h" #include "mutation_log.h" #include "replica_stub.h" -#include "../client_lib/block_service_manager.h" +#include "../common/block_service_manager.h" using namespace dsn::dist::block_service; diff --git a/src/dist/replication/lib/replica_stub.h b/src/dist/replication/lib/replica_stub.h index a8c8cbb5d8..f93c37823d 100644 --- a/src/dist/replication/lib/replica_stub.h +++ b/src/dist/replication/lib/replica_stub.h @@ -32,9 +32,9 @@ // replica_stub(singleton) --> replica --> replication_app // -#include "../client_lib/replication_common.h" -#include "../client_lib/fs_manager.h" -#include "../client_lib/block_service_manager.h" +#include "../common/replication_common.h" +#include "../common/fs_manager.h" +#include "../common/block_service_manager.h" #include "replica.h" #include #include diff --git a/src/dist/replication/lib/replication_service_app.cpp b/src/dist/replication/lib/replication_service_app.cpp index 6fdb56d313..504c1cfd34 100644 --- a/src/dist/replication/lib/replication_service_app.cpp +++ b/src/dist/replication/lib/replication_service_app.cpp @@ -34,7 +34,7 @@ */ #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include "replica_stub.h" namespace dsn { diff --git a/src/dist/replication/meta_server/CMakeLists.txt b/src/dist/replication/meta_server/CMakeLists.txt index df946a1173..9c992e27d0 100644 --- a/src/dist/replication/meta_server/CMakeLists.txt +++ b/src/dist/replication/meta_server/CMakeLists.txt @@ -12,7 +12,7 @@ set(MY_SRC_SEARCH_MODE "GLOB_RECURSE") set(MY_PROJ_INC_PATH) set(MY_PROJ_LIBS - dsn.replication.clientlib + dsn_replication_common dsn.block_service.local dsn.block_service.fds dsn.failure_detector diff --git a/src/dist/replication/meta_server/distributed_lock_service_simple.cpp b/src/dist/replication/meta_server/distributed_lock_service_simple.cpp index 9700e81532..02acf9735e 100644 --- a/src/dist/replication/meta_server/distributed_lock_service_simple.cpp +++ b/src/dist/replication/meta_server/distributed_lock_service_simple.cpp @@ -35,7 +35,7 @@ #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include "distributed_lock_service_simple.h" namespace dsn { diff --git a/src/dist/replication/meta_server/meta_backup_service.cpp b/src/dist/replication/meta_server/meta_backup_service.cpp index 9448fb3bfa..6796a46d00 100644 --- a/src/dist/replication/meta_server/meta_backup_service.cpp +++ b/src/dist/replication/meta_server/meta_backup_service.cpp @@ -3,7 +3,7 @@ #include "meta_backup_service.h" #include "dist/replication/meta_server/meta_service.h" #include "dist/replication/meta_server/server_state.h" -#include "dist/replication/client_lib/block_service_manager.h" +#include "dist/replication/common/block_service_manager.h" namespace dsn { namespace replication { diff --git a/src/dist/replication/meta_server/meta_server_failure_detector.h b/src/dist/replication/meta_server/meta_server_failure_detector.h index df01e78833..0025f71232 100644 --- a/src/dist/replication/meta_server/meta_server_failure_detector.h +++ b/src/dist/replication/meta_server/meta_server_failure_detector.h @@ -38,7 +38,7 @@ #include #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include "dist/replication/meta_server/meta_options.h" namespace dsn { diff --git a/src/dist/replication/meta_server/meta_service.h b/src/dist/replication/meta_server/meta_service.h index b15b8acc54..8aa8a67de8 100644 --- a/src/dist/replication/meta_server/meta_service.h +++ b/src/dist/replication/meta_server/meta_service.h @@ -41,11 +41,11 @@ #include #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include "dist/replication/meta_server/meta_options.h" #include "dist/replication/meta_server/meta_backup_service.h" #include "dist/replication/meta_server/meta_state_service_utils.h" -#include "dist/replication/client_lib/block_service_manager.h" +#include "dist/replication/common/block_service_manager.h" class meta_service_test_app; namespace dsn { diff --git a/src/dist/replication/meta_server/meta_state_service_simple.h b/src/dist/replication/meta_server/meta_state_service_simple.h index bf86564b6f..1e920dc347 100644 --- a/src/dist/replication/meta_server/meta_state_service_simple.h +++ b/src/dist/replication/meta_server/meta_state_service_simple.h @@ -34,7 +34,7 @@ */ #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include diff --git a/src/dist/replication/meta_server/server_state.h b/src/dist/replication/meta_server/server_state.h index dad465e174..6a2d8eed4f 100644 --- a/src/dist/replication/meta_server/server_state.h +++ b/src/dist/replication/meta_server/server_state.h @@ -43,7 +43,7 @@ #include #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include "dist/replication/meta_server/meta_data.h" #include "meta_service.h" diff --git a/src/dist/replication/meta_server/server_state_restore.cpp b/src/dist/replication/meta_server/server_state_restore.cpp index e48cbe536d..f133afb4b8 100644 --- a/src/dist/replication/meta_server/server_state_restore.cpp +++ b/src/dist/replication/meta_server/server_state_restore.cpp @@ -28,8 +28,8 @@ #include #include -#include "dist/replication/client_lib/block_service_manager.h" -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/block_service_manager.h" +#include "dist/replication/common/replication_common.h" #include "dist/replication/meta_server/meta_service.h" #include "dist/replication/meta_server/server_state.h" diff --git a/src/dist/replication/test/meta_test/balancer_simulator/CMakeLists.txt b/src/dist/replication/test/meta_test/balancer_simulator/CMakeLists.txt index 2b155c6a54..69aef9300e 100644 --- a/src/dist/replication/test/meta_test/balancer_simulator/CMakeLists.txt +++ b/src/dist/replication/test/meta_test/balancer_simulator/CMakeLists.txt @@ -12,7 +12,7 @@ set(MY_SRC_SEARCH_MODE "GLOB") set(MY_PROJ_INC_PATH) set(MY_PROJ_LIBS dsn_meta_server - dsn.replication.clientlib + dsn_replication_common dsn.block_service.local dsn.block_service.fds fmt diff --git a/src/dist/replication/test/meta_test/misc/misc.cpp b/src/dist/replication/test/meta_test/misc/misc.cpp index fa6b496ef1..8cc45355b1 100644 --- a/src/dist/replication/test/meta_test/misc/misc.cpp +++ b/src/dist/replication/test/meta_test/misc/misc.cpp @@ -3,7 +3,7 @@ #include #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" #include "misc.h" using namespace dsn::replication; diff --git a/src/dist/replication/test/meta_test/misc/misc.h b/src/dist/replication/test/meta_test/misc/misc.h index b6899529f7..4019072516 100644 --- a/src/dist/replication/test/meta_test/misc/misc.h +++ b/src/dist/replication/test/meta_test/misc/misc.h @@ -6,7 +6,7 @@ #include #include #include "dist/replication/meta_server/meta_data.h" -#include "dist/replication/client_lib/fs_manager.h" +#include "dist/replication/common/fs_manager.h" typedef std::map> nodes_fs_manager; diff --git a/src/dist/replication/test/meta_test/unit_test/CMakeLists.txt b/src/dist/replication/test/meta_test/unit_test/CMakeLists.txt index 3263c81369..095d073b71 100644 --- a/src/dist/replication/test/meta_test/unit_test/CMakeLists.txt +++ b/src/dist/replication/test/meta_test/unit_test/CMakeLists.txt @@ -14,7 +14,7 @@ ms_find_source_files("CXX" "${CMAKE_CURRENT_SOURCE_DIR}/../../../meta_server" "G set(MY_PROJ_INC_PATH "") set(MY_PROJ_LIBS dsn.replication.zookeeper_provider - dsn.replication.clientlib + dsn_replication_common dsn.block_service.local dsn.block_service.fds dsn.failure_detector diff --git a/src/dist/replication/test/replica_test/unit_test/CMakeLists.txt b/src/dist/replication/test/replica_test/unit_test/CMakeLists.txt index 8cbcc6a386..e9194caee2 100644 --- a/src/dist/replication/test/replica_test/unit_test/CMakeLists.txt +++ b/src/dist/replication/test/replica_test/unit_test/CMakeLists.txt @@ -14,7 +14,7 @@ set(MY_PROJ_INC_PATH "") set(MY_PROJ_LIBS dsn_meta_server dsn_replica_server dsn.replication.zookeeper_provider - dsn.replication.clientlib + dsn_replication_common dsn.block_service.local dsn.block_service.fds dsn.failure_detector diff --git a/src/dist/replication/test/simple_kv/CMakeLists.txt b/src/dist/replication/test/simple_kv/CMakeLists.txt index b21d0e610d..0cd4994c26 100644 --- a/src/dist/replication/test/simple_kv/CMakeLists.txt +++ b/src/dist/replication/test/simple_kv/CMakeLists.txt @@ -15,7 +15,7 @@ set(MY_PROJ_LIBS gtest dsn_runtime dsn_replica_server dsn_meta_server - dsn.replication.clientlib + dsn_replication_common dsn.block_service.local dsn.block_service.fds dsn.failure_detector.multimaster diff --git a/src/dist/replication/test/simple_kv/checker.cpp b/src/dist/replication/test/simple_kv/checker.cpp index a08e0e718a..8bb672545a 100644 --- a/src/dist/replication/test/simple_kv/checker.cpp +++ b/src/dist/replication/test/simple_kv/checker.cpp @@ -33,25 +33,24 @@ * xxxx-xx-xx, author, fix bug about xxx */ +#include +#include +#include +#include + #include "checker.h" #include "case.h" -#include "dsn/utility/factory_store.h" - -#include "../../lib/replica.h" -#include "../../lib/replica_stub.h" -#include "../../lib/mutation_log.h" -#include "../../meta_server/meta_service.h" -#include "../../meta_server/meta_server_failure_detector.h" -#include "../../meta_server/server_state.h" -#include "../../meta_server/server_load_balancer.h" -#include "../../client_lib/replication_ds.h" -#include "../../../../core/core/service_engine.h" -#include "../../../../core/core/rpc_engine.h" -#include -#include +#include "dist/replication/lib/replica.h" +#include "dist/replication/lib/replica_stub.h" +#include "dist/replication/lib/mutation_log.h" +#include "dist/replication/meta_server/meta_service.h" +#include "dist/replication/meta_server/meta_server_failure_detector.h" +#include "dist/replication/meta_server/server_state.h" +#include "dist/replication/meta_server/server_load_balancer.h" -#include +#include "core/core/service_engine.h" +#include "core/core/rpc_engine.h" namespace dsn { namespace replication { diff --git a/src/dist/replication/test/simple_kv/common.h b/src/dist/replication/test/simple_kv/common.h index 0ffe10c690..588b0c5498 100644 --- a/src/dist/replication/test/simple_kv/common.h +++ b/src/dist/replication/test/simple_kv/common.h @@ -36,7 +36,7 @@ #pragma once #include -#include "dist/replication/client_lib/replication_common.h" +#include "dist/replication/common/replication_common.h" namespace dsn { namespace replication { diff --git a/src/tests/dsn/CMakeLists.txt b/src/tests/dsn/CMakeLists.txt index eb83194fd6..22f1ae6582 100644 --- a/src/tests/dsn/CMakeLists.txt +++ b/src/tests/dsn/CMakeLists.txt @@ -18,7 +18,7 @@ endif() set(MY_PROJ_LIBS dsn_meta_server dsn_replica_server - dsn.replication.clientlib + dsn_replication_common dsn.block_service.local dsn.block_service.fds dsn.failure_detector.multimaster diff --git a/src/tools/repli/CMakeLists.txt b/src/tools/repli/CMakeLists.txt index 4c33677ee2..5a3d055107 100644 --- a/src/tools/repli/CMakeLists.txt +++ b/src/tools/repli/CMakeLists.txt @@ -15,7 +15,7 @@ set(MY_BOOST_PACKAGES system filesystem) set(MY_PROJ_LIB_PATH "") set(MY_PROJ_LIBS dsn_replica_server - dsn.replication.clientlib + dsn_replication_common dsn.block_service.local dsn.block_service.fds dsn.failure_detector