From e52e8794dc0454b09fabeb92b44cdd858a514dfe Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Sun, 23 Oct 2022 03:20:34 +0800 Subject: [PATCH] refactor(rdsn): flatten source code directory by moving files from 'src/rdsn/src/*' to 'src/*' (#1190) --- .gitignore | 4 +- .licenserc.yaml | 1180 ++++++++--------- LICENSE | 46 +- cmake_modules/CompilerInfo.cmake | 2 +- scripts/compile_thrift.py | 4 +- src/CMakeLists.txt | 35 +- src/{rdsn/src => }/aio/CMakeLists.txt | 0 src/{rdsn/src => }/aio/aio_provider.cpp | 0 src/{rdsn/src => }/aio/aio_provider.h | 0 src/{rdsn/src => }/aio/aio_task.cpp | 0 src/{rdsn/src => }/aio/aio_task.h | 0 src/{rdsn/src => }/aio/disk_engine.cpp | 0 src/{rdsn/src => }/aio/disk_engine.h | 0 src/{rdsn/src => }/aio/file_io.cpp | 0 src/{rdsn/src => }/aio/file_io.h | 0 .../aio/native_linux_aio_provider.cpp | 0 .../src => }/aio/native_linux_aio_provider.h | 0 src/{rdsn/src => }/aio/test/CMakeLists.txt | 0 src/{rdsn/src => }/aio/test/aio.cpp | 0 src/{rdsn/src => }/aio/test/clear.sh | 0 src/{rdsn/src => }/aio/test/config.ini | 0 src/{rdsn/src => }/aio/test/copy_source.txt | 0 src/{rdsn/src => }/aio/test/main.cpp | 0 src/{rdsn/src => }/aio/test/run.sh | 0 .../src => }/block_service/CMakeLists.txt | 0 .../src => }/block_service/block_service.h | 0 .../block_service/block_service_manager.cpp | 0 .../block_service/block_service_manager.h | 0 .../block_service/directio_writable_file.cpp | 0 .../block_service/directio_writable_file.h | 0 .../src => }/block_service/fds/CMakeLists.txt | 0 .../block_service/fds/fds_service.cpp | 0 .../src => }/block_service/fds/fds_service.h | 0 .../block_service/hdfs/CMakeLists.txt | 0 .../block_service/hdfs/hdfs_service.cpp | 0 .../block_service/hdfs/hdfs_service.h | 0 .../block_service/local/CMakeLists.txt | 0 .../block_service/local/local_service.cpp | 0 .../block_service/local/local_service.h | 0 .../block_service/test/CMakeLists.txt | 0 .../test/block_service_manager_test.cpp | 0 .../block_service/test/block_service_mock.h | 0 .../src => }/block_service/test/clear.sh | 0 .../block_service/test/config-test.ini | 0 .../block_service/test/fds_service_test.cpp | 0 .../block_service/test/hdfs_service_test.cpp | 0 .../block_service/test/local_service_test.cpp | 0 .../src => }/block_service/test/main.cpp | 0 src/{rdsn/src => }/block_service/test/run.sh | 0 src/{rdsn/src => }/client/CMakeLists.txt | 0 .../src => }/client/partition_resolver.cpp | 0 .../src => }/client/partition_resolver.h | 0 .../client/partition_resolver_manager.cpp | 0 .../client/partition_resolver_manager.h | 0 .../client/partition_resolver_simple.cpp | 0 .../client/partition_resolver_simple.h | 0 .../client/replication_ddl_client.cpp | 0 .../src => }/client/replication_ddl_client.h | 0 src/{rdsn/src => }/common/CMakeLists.txt | 0 src/{rdsn/src => }/common/api_common.h | 0 src/{rdsn/src => }/common/backup.thrift | 4 +- src/{rdsn/src => }/common/backup_common.cpp | 0 src/{rdsn/src => }/common/backup_common.h | 0 src/{rdsn/src => }/common/bulk_load.thrift | 4 +- .../src => }/common/bulk_load_common.cpp | 0 src/{rdsn/src => }/common/bulk_load_common.h | 0 src/{rdsn/src => }/common/common.cpp | 0 src/{rdsn/src => }/common/common.h | 0 src/{rdsn/src => }/common/consensus.thrift | 4 +- src/{rdsn/src => }/common/duplication.thrift | 4 +- .../src => }/common/duplication_common.cpp | 0 .../src => }/common/duplication_common.h | 0 src/{rdsn/src => }/common/fs_manager.cpp | 0 src/{rdsn/src => }/common/fs_manager.h | 0 src/{rdsn/src => }/common/gpid.h | 0 src/{rdsn/src => }/common/json_helper.h | 0 src/{rdsn/src => }/common/manual_compact.h | 0 src/{rdsn/src => }/common/meta_admin.thrift | 4 +- src/{rdsn/src => }/common/metadata.thrift | 4 +- .../src => }/common/partition_split.thrift | 4 +- .../src => }/common/partition_split_common.h | 0 .../src => }/common/replica_admin.thrift | 4 +- src/{rdsn/src => }/common/replica_envs.h | 0 src/{rdsn/src => }/common/replication.codes.h | 0 .../src => }/common/replication_common.cpp | 0 .../src => }/common/replication_common.h | 0 src/{rdsn/src => }/common/replication_enums.h | 0 .../src => }/common/replication_other_types.h | 0 .../common/serialization_helper/dsn_types.h | 0 .../serialization_helper/thrift_helper.h | 0 src/{rdsn/src => }/common/storage_serverlet.h | 0 src/{rdsn/src => }/common/test/CMakeLists.txt | 0 .../src => }/common/test/common_test.cpp | 0 .../src => }/common/test/config-test.ini | 0 .../common/test/duplication_common_test.cpp | 0 .../src => }/common/test/fs_manager_test.cpp | 0 src/{rdsn/src => }/common/test/main.cpp | 0 .../common/test/replication_common_test.cpp | 0 src/{rdsn/src => }/common/test/run.sh | 0 .../src => }/failure_detector/CMakeLists.txt | 0 .../failure_detector/failure_detector.cpp | 0 .../failure_detector/failure_detector.h | 0 .../failure_detector_multimaster.cpp | 0 .../failure_detector_multimaster.h | 0 .../src => }/failure_detector/fd.client.h | 0 .../failure_detector/fd.code.definition.h | 0 .../src => }/failure_detector/fd.server.h | 0 src/{rdsn/src => }/failure_detector/fd.thrift | 2 +- .../failure_detector/test/CMakeLists.txt | 0 .../src => }/failure_detector/test/clear.sh | 0 .../failure_detector/test/config-test.ini | 0 .../test/config-whitelist-test-failed.ini | 0 .../test/config-whitelist-test.ini | 0 .../test/failure_detector.cpp | 0 .../failure_detector/test/gtest.filter | 0 .../src => }/failure_detector/test/main.cpp | 0 .../src => }/failure_detector/test/run.sh | 0 src/{rdsn/src => }/http/CMakeLists.txt | 0 .../src => }/http/builtin_http_calls.cpp | 0 src/{rdsn/src => }/http/builtin_http_calls.h | 0 .../src => }/http/config_http_service.cpp | 0 src/{rdsn/src => }/http/http_call_registry.h | 0 .../src => }/http/http_message_parser.cpp | 0 src/{rdsn/src => }/http/http_message_parser.h | 0 src/{rdsn/src => }/http/http_server.cpp | 0 src/{rdsn/src => }/http/http_server.h | 0 src/{rdsn/src => }/http/http_server_impl.h | 0 .../http/perf_counter_http_service.cpp | 0 .../src => }/http/pprof_http_service.cpp | 0 src/{rdsn/src => }/http/pprof_http_service.h | 0 src/{rdsn/src => }/http/service_version.cpp | 0 src/{rdsn/src => }/http/service_version.h | 0 src/{rdsn/src => }/http/test/CMakeLists.txt | 0 .../src => }/http/test/http_server_test.cpp | 0 .../test/perf_counter_http_service_test.cpp | 0 src/{rdsn/src => }/http/test/run.sh | 0 .../src => }/http/test/uri_decoder_test.cpp | 0 src/{rdsn/src => }/http/uri_decoder.cpp | 0 src/{rdsn/src => }/http/uri_decoder.h | 0 src/{rdsn/src => }/meta/CMakeLists.txt | 0 .../src => }/meta/app_balance_policy.cpp | 0 src/{rdsn/src => }/meta/app_balance_policy.h | 0 src/{rdsn/src => }/meta/app_env_validator.cpp | 0 src/{rdsn/src => }/meta/app_env_validator.h | 0 src/{rdsn/src => }/meta/backup_engine.cpp | 0 src/{rdsn/src => }/meta/backup_engine.h | 0 .../src => }/meta/cluster_balance_policy.cpp | 0 .../src => }/meta/cluster_balance_policy.h | 0 .../meta/distributed_lock_service_simple.cpp | 0 .../meta/distributed_lock_service_simple.h | 0 src/{rdsn/src => }/meta/dump_file.h | 0 .../meta/duplication/duplication_info.cpp | 0 .../meta/duplication/duplication_info.h | 0 .../duplication/meta_duplication_service.cpp | 0 .../duplication/meta_duplication_service.h | 0 .../src => }/meta/greedy_load_balancer.cpp | 0 .../src => }/meta/greedy_load_balancer.h | 0 .../src => }/meta/load_balance_policy.cpp | 0 src/{rdsn/src => }/meta/load_balance_policy.h | 0 .../src => }/meta/meta_backup_service.cpp | 0 src/{rdsn/src => }/meta/meta_backup_service.h | 0 .../meta/meta_bulk_load_ingestion_context.cpp | 0 .../meta/meta_bulk_load_ingestion_context.h | 0 .../src => }/meta/meta_bulk_load_service.cpp | 0 .../src => }/meta/meta_bulk_load_service.h | 0 src/{rdsn/src => }/meta/meta_data.cpp | 0 src/{rdsn/src => }/meta/meta_data.h | 0 src/{rdsn/src => }/meta/meta_http_service.cpp | 0 src/{rdsn/src => }/meta/meta_http_service.h | 0 src/{rdsn/src => }/meta/meta_options.cpp | 0 src/{rdsn/src => }/meta/meta_options.h | 0 src/{rdsn/src => }/meta/meta_rpc_types.h | 0 .../meta/meta_server_failure_detector.cpp | 0 .../meta/meta_server_failure_detector.h | 0 src/{rdsn/src => }/meta/meta_service.cpp | 0 src/{rdsn/src => }/meta/meta_service.h | 0 src/{rdsn/src => }/meta/meta_service_app.cpp | 0 src/{rdsn/src => }/meta/meta_service_app.h | 0 .../src => }/meta/meta_split_service.cpp | 0 src/{rdsn/src => }/meta/meta_split_service.h | 0 src/{rdsn/src => }/meta/meta_state_service.h | 0 .../meta/meta_state_service_simple.cpp | 0 .../src => }/meta/meta_state_service_simple.h | 0 .../meta/meta_state_service_utils.cpp | 0 .../src => }/meta/meta_state_service_utils.h | 0 .../meta/meta_state_service_utils_impl.h | 0 .../meta/meta_state_service_zookeeper.cpp | 0 .../meta/meta_state_service_zookeeper.h | 0 .../src => }/meta/partition_guardian.cpp | 0 src/{rdsn/src => }/meta/partition_guardian.h | 0 .../src => }/meta/server_load_balancer.cpp | 0 .../src => }/meta/server_load_balancer.h | 0 src/{rdsn/src => }/meta/server_state.cpp | 0 src/{rdsn/src => }/meta/server_state.h | 0 .../src => }/meta/server_state_restore.cpp | 0 src/{rdsn/src => }/meta/test/CMakeLists.txt | 0 src/{rdsn/src => }/meta/test/backup_test.cpp | 0 .../test/balancer_simulator/CMakeLists.txt | 0 .../balancer_simulator/balancer_simulator.cpp | 0 .../src => }/meta/test/balancer_validator.cpp | 0 src/{rdsn/src => }/meta/test/clear.sh | 0 .../meta/test/cluster_balance_policy_test.cpp | 0 src/{rdsn/src => }/meta/test/config-test.ini | 0 .../meta/test/copy_replica_operation_test.cpp | 0 src/{rdsn/src => }/meta/test/dummy_balancer.h | 0 src/{rdsn/src => }/meta/test/dump_file.cpp | 0 .../meta/test/duplication_info_test.cpp | 0 .../meta/test/ford_fulkerson_test.cpp | 0 .../src => }/meta/test/json_compacity.cpp | 0 src/{rdsn/src => }/meta/test/main.cpp | 0 .../src => }/meta/test/meta_app_envs_test.cpp | 0 .../meta/test/meta_app_operation_test.cpp | 0 .../src => }/meta/test/meta_backup_test.cpp | 0 .../test/meta_bulk_load_ingestion_test.cpp | 0 .../meta/test/meta_bulk_load_service_test.cpp | 0 src/{rdsn/src => }/meta/test/meta_data.cpp | 0 .../test/meta_duplication_service_test.cpp | 0 .../meta/test/meta_http_service_test.cpp | 0 .../meta/test/meta_mauanl_compaction_test.cpp | 0 .../test/meta_partition_guardian_test.cpp | 0 .../src => }/meta/test/meta_service_test.cpp | 0 .../meta/test/meta_service_test_app.h | 0 .../meta/test/meta_split_service_test.cpp | 0 .../meta/test/meta_state/CMakeLists.txt | 0 .../src => }/meta/test/meta_state/clear.sh | 0 .../meta/test/meta_state/config-test.ini | 0 .../meta/test/meta_state/gtest.filter | 0 .../src => }/meta/test/meta_state/main.cpp | 0 .../test/meta_state/meta_state_service.cpp | 0 .../src => }/meta/test/meta_state/run.sh | 0 .../test/meta_state_service_utils_test.cpp | 0 .../src => }/meta/test/meta_test_base.cpp | 0 src/{rdsn/src => }/meta/test/meta_test_base.h | 0 src/{rdsn/src => }/meta/test/misc/misc.cpp | 0 src/{rdsn/src => }/meta/test/misc/misc.h | 0 src/{rdsn/src => }/meta/test/run.sh | 0 .../meta/test/server_state_restore_test.cpp | 0 .../src => }/meta/test/server_state_test.cpp | 0 .../src => }/meta/test/state_sync_test.cpp | 0 src/{rdsn/src => }/meta/test/suite1 | 0 src/{rdsn/src => }/meta/test/suite2 | 0 .../meta/test/update_configuration_test.cpp | 0 src/{rdsn/src => }/nfs/CMakeLists.txt | 0 src/{rdsn/src => }/nfs/nfs.thrift | 2 +- src/{rdsn/src => }/nfs/nfs_client_impl.cpp | 0 src/{rdsn/src => }/nfs/nfs_client_impl.h | 0 src/{rdsn/src => }/nfs/nfs_code_definition.h | 0 src/{rdsn/src => }/nfs/nfs_node.cpp | 0 src/{rdsn/src => }/nfs/nfs_node.h | 0 src/{rdsn/src => }/nfs/nfs_node_impl.cpp | 0 src/{rdsn/src => }/nfs/nfs_node_simple.h | 0 src/{rdsn/src => }/nfs/nfs_server_impl.cpp | 0 src/{rdsn/src => }/nfs/nfs_server_impl.h | 0 src/{rdsn/src => }/nfs/test/CMakeLists.txt | 0 src/{rdsn/src => }/nfs/test/clear.sh | 0 src/{rdsn/src => }/nfs/test/config.ini | 0 src/{rdsn/src => }/nfs/test/main.cpp | 0 src/{rdsn/src => }/nfs/test/nfs_test_file1 | 0 src/{rdsn/src => }/nfs/test/nfs_test_file2 | 0 src/{rdsn/src => }/nfs/test/run.sh | 0 .../src => }/perf_counter/CMakeLists.txt | 0 .../perf_counter/builtin_counters.cpp | 0 .../src => }/perf_counter/builtin_counters.h | 0 .../src => }/perf_counter/perf_counter.cpp | 0 .../src => }/perf_counter/perf_counter.h | 0 .../perf_counter/perf_counter_atomic.h | 0 .../perf_counter/perf_counter_utils.h | 0 .../perf_counter/perf_counter_wrapper.h | 0 .../src => }/perf_counter/perf_counters.cpp | 0 .../src => }/perf_counter/perf_counters.h | 0 .../src => }/perf_counter/test/CMakeLists.txt | 0 src/{rdsn/src => }/perf_counter/test/clear.sh | 0 src/{rdsn/src => }/perf_counter/test/main.cpp | 0 .../perf_counter/test/perf_counter_test.cpp | 0 .../perf_counter/test/perf_counters_test.cpp | 0 src/{rdsn/src => }/perf_counter/test/run.sh | 0 src/rdsn/src/CMakeLists.txt | 43 - src/{rdsn/src => }/remote_cmd/CMakeLists.txt | 0 src/{rdsn/src => }/remote_cmd/command.thrift | 0 .../src => }/remote_cmd/remote_command.cpp | 0 .../src => }/remote_cmd/remote_command.h | 0 src/{rdsn/src => }/replica/CMakeLists.txt | 0 .../replica/backup/cold_backup_context.cpp | 0 .../replica/backup/cold_backup_context.h | 0 .../replica/backup/replica_backup_manager.cpp | 0 .../replica/backup/replica_backup_manager.h | 0 .../replica/backup/replica_backup_server.cpp | 0 .../replica/backup/replica_backup_server.h | 0 .../replica/backup/test/CMakeLists.txt | 0 .../replica/backup/test/config-test.ini | 0 .../src => }/replica/backup/test/main.cpp | 0 .../test/replica_backup_manager_test.cpp | 0 src/{rdsn/src => }/replica/backup/test/run.sh | 0 .../replica/bulk_load/replica_bulk_loader.cpp | 0 .../replica/bulk_load/replica_bulk_loader.h | 0 .../replica/bulk_load/test/CMakeLists.txt | 0 .../replica/bulk_load/test/config-test.ini | 0 .../src => }/replica/bulk_load/test/main.cpp | 0 .../test/replica_bulk_loader_test.cpp | 0 .../src => }/replica/bulk_load/test/run.sh | 0 src/{rdsn/src => }/replica/disk_cleaner.cpp | 0 src/{rdsn/src => }/replica/disk_cleaner.h | 0 .../duplication/duplication_pipeline.cpp | 0 .../duplication/duplication_pipeline.h | 0 .../duplication/duplication_sync_timer.cpp | 0 .../duplication/duplication_sync_timer.h | 0 .../duplication/load_from_private_log.cpp | 0 .../duplication/load_from_private_log.h | 0 .../replica/duplication/mutation_batch.cpp | 0 .../replica/duplication/mutation_batch.h | 0 .../replica/duplication/mutation_duplicator.h | 0 .../duplication/replica_duplicator.cpp | 0 .../replica/duplication/replica_duplicator.h | 0 .../replica_duplicator_manager.cpp | 0 .../duplication/replica_duplicator_manager.h | 0 .../replica/duplication/replica_follower.cpp | 0 .../replica/duplication/replica_follower.h | 0 .../replica/duplication/test/CMakeLists.txt | 0 .../replica/duplication/test/config-test.ini | 0 .../test/duplication_sync_timer_test.cpp | 0 .../duplication/test/duplication_test_base.h | 0 .../test/load_from_private_log_test.cpp | 0 .../test/log.1.0.all_loaded_are_write_empties | Bin .../test/log.1.0.handle_real_private_log | Bin .../test/log.1.0.handle_real_private_log2 | Bin .../replica/duplication/test/main.cpp | 0 .../duplication/test/mutation_batch_test.cpp | 0 .../test/replica_duplicator_manager_test.cpp | 0 .../test/replica_duplicator_test.cpp | 0 .../test/replica_follower_test.cpp | 0 .../test/replica_http_service_test.cpp | 0 .../src => }/replica/duplication/test/run.sh | 0 .../duplication/test/ship_mutation_test.cpp | 0 src/{rdsn/src => }/replica/log_block.cpp | 0 src/{rdsn/src => }/replica/log_block.h | 0 src/{rdsn/src => }/replica/log_file.cpp | 0 src/{rdsn/src => }/replica/log_file.h | 0 src/{rdsn/src => }/replica/log_file_stream.h | 0 src/{rdsn/src => }/replica/mutation.cpp | 0 src/{rdsn/src => }/replica/mutation.h | 0 src/{rdsn/src => }/replica/mutation_cache.cpp | 0 src/{rdsn/src => }/replica/mutation_cache.h | 0 src/{rdsn/src => }/replica/mutation_log.cpp | 0 src/{rdsn/src => }/replica/mutation_log.h | 0 .../src => }/replica/mutation_log_replay.cpp | 0 .../src => }/replica/mutation_log_utils.cpp | 0 .../src => }/replica/mutation_log_utils.h | 0 src/{rdsn/src => }/replica/prepare_list.cpp | 0 src/{rdsn/src => }/replica/prepare_list.h | 0 src/{rdsn/src => }/replica/replica.cpp | 0 src/{rdsn/src => }/replica/replica.h | 0 src/{rdsn/src => }/replica/replica_2pc.cpp | 0 src/{rdsn/src => }/replica/replica_backup.cpp | 0 src/{rdsn/src => }/replica/replica_base.h | 0 src/{rdsn/src => }/replica/replica_check.cpp | 0 src/{rdsn/src => }/replica/replica_chkpt.cpp | 0 src/{rdsn/src => }/replica/replica_config.cpp | 0 .../src => }/replica/replica_context.cpp | 0 src/{rdsn/src => }/replica/replica_context.h | 0 .../replica/replica_disk_migrator.cpp | 0 .../src => }/replica/replica_disk_migrator.h | 0 .../src => }/replica/replica_failover.cpp | 0 .../src => }/replica/replica_http_service.cpp | 0 .../src => }/replica/replica_http_service.h | 0 src/{rdsn/src => }/replica/replica_init.cpp | 0 src/{rdsn/src => }/replica/replica_learn.cpp | 0 .../src => }/replica/replica_restore.cpp | 0 src/{rdsn/src => }/replica/replica_stub.cpp | 0 src/{rdsn/src => }/replica/replica_stub.h | 0 .../src => }/replica/replica_test_utils.cpp | 0 .../src => }/replica/replica_test_utils.h | 0 .../src => }/replica/replica_throttle.cpp | 0 .../src => }/replica/replication_app_base.cpp | 0 .../src => }/replica/replication_app_base.h | 0 .../replica/replication_service_app.cpp | 0 .../replica/replication_service_app.h | 0 .../replica/split/replica_split_manager.cpp | 0 .../replica/split/replica_split_manager.h | 0 .../replica/split/test/CMakeLists.txt | 0 .../replica/split/test/config-test.ini | 0 .../src => }/replica/split/test/main.cpp | 0 .../replica/split/test/replica_split_test.cpp | 0 src/{rdsn/src => }/replica/split/test/run.sh | 0 .../src => }/replica/storage/CMakeLists.txt | 0 .../replica/storage/simple_kv/CMakeLists.txt | 0 .../replica/storage/simple_kv/clear.sh | 0 .../replica/storage/simple_kv/config.ini | 0 .../src => }/replica/storage/simple_kv/run.sh | 0 .../storage/simple_kv/simple_kv.app.example.h | 0 .../storage/simple_kv/simple_kv.client.h | 0 .../simple_kv/simple_kv.code.definition.h | 0 .../storage/simple_kv/simple_kv.main.cpp | 0 .../storage/simple_kv/simple_kv.server.h | 0 .../simple_kv/simple_kv.server.impl.cpp | 0 .../storage/simple_kv/simple_kv.server.impl.h | 0 .../storage/simple_kv/simple_kv.thrift | 0 .../storage/simple_kv/test/CMakeLists.txt | 0 .../replica/storage/simple_kv/test/README.md | 0 .../replica/storage/simple_kv/test/addcase.sh | 0 .../storage/simple_kv/test/case-000.act | 0 .../storage/simple_kv/test/case-000.ini | 0 .../storage/simple_kv/test/case-001.act | 0 .../storage/simple_kv/test/case-001.ini | 0 .../storage/simple_kv/test/case-002.act | 0 .../storage/simple_kv/test/case-002.ini | 0 .../storage/simple_kv/test/case-003.act | 0 .../storage/simple_kv/test/case-003.ini | 0 .../storage/simple_kv/test/case-004.act | 0 .../storage/simple_kv/test/case-004.ini | 0 .../storage/simple_kv/test/case-005.act | 0 .../storage/simple_kv/test/case-005.ini | 0 .../storage/simple_kv/test/case-006.act | 0 .../storage/simple_kv/test/case-006.ini | 0 .../storage/simple_kv/test/case-100.act | 0 .../storage/simple_kv/test/case-100.ini | 0 .../storage/simple_kv/test/case-101.act | 0 .../storage/simple_kv/test/case-101.ini | 0 .../storage/simple_kv/test/case-102.act | 0 .../storage/simple_kv/test/case-102.ini | 0 .../storage/simple_kv/test/case-103.act | 0 .../storage/simple_kv/test/case-103.ini | 0 .../storage/simple_kv/test/case-104.act | 0 .../storage/simple_kv/test/case-104.ini | 0 .../storage/simple_kv/test/case-105.act | 0 .../storage/simple_kv/test/case-105.ini | 0 .../storage/simple_kv/test/case-106.act | 0 .../storage/simple_kv/test/case-106.ini | 0 .../storage/simple_kv/test/case-107.act | 0 .../storage/simple_kv/test/case-107.ini | 0 .../storage/simple_kv/test/case-108.act | 0 .../storage/simple_kv/test/case-108.ini | 0 .../storage/simple_kv/test/case-109.act | 0 .../storage/simple_kv/test/case-109.ini | 0 .../storage/simple_kv/test/case-200.act | 0 .../storage/simple_kv/test/case-200.ini | 0 .../storage/simple_kv/test/case-201.act | 0 .../storage/simple_kv/test/case-201.ini | 0 .../storage/simple_kv/test/case-202-0.act | 0 .../storage/simple_kv/test/case-202-0.ini | 0 .../storage/simple_kv/test/case-202-1.act | 0 .../storage/simple_kv/test/case-202-1.ini | 0 .../storage/simple_kv/test/case-203-0.act | 0 .../storage/simple_kv/test/case-203-0.ini | 0 .../storage/simple_kv/test/case-204.act | 0 .../storage/simple_kv/test/case-204.ini | 0 .../storage/simple_kv/test/case-205.act | 0 .../storage/simple_kv/test/case-205.ini | 0 .../storage/simple_kv/test/case-206.act | 0 .../storage/simple_kv/test/case-206.ini | 0 .../storage/simple_kv/test/case-207.act | 0 .../storage/simple_kv/test/case-207.ini | 0 .../storage/simple_kv/test/case-208.act | 0 .../storage/simple_kv/test/case-208.ini | 0 .../storage/simple_kv/test/case-209.act | 0 .../storage/simple_kv/test/case-209.ini | 0 .../storage/simple_kv/test/case-210.act | 0 .../storage/simple_kv/test/case-210.ini | 0 .../storage/simple_kv/test/case-211.act | 0 .../storage/simple_kv/test/case-211.ini | 0 .../storage/simple_kv/test/case-212.act | 0 .../storage/simple_kv/test/case-212.ini | 0 .../storage/simple_kv/test/case-213.act | 0 .../storage/simple_kv/test/case-213.ini | 0 .../storage/simple_kv/test/case-214.act | 0 .../storage/simple_kv/test/case-214.ini | 0 .../storage/simple_kv/test/case-215.act | 0 .../storage/simple_kv/test/case-215.ini | 0 .../storage/simple_kv/test/case-216.act | 0 .../storage/simple_kv/test/case-216.ini | 0 .../storage/simple_kv/test/case-300-0.act | 0 .../storage/simple_kv/test/case-300-0.ini | 0 .../storage/simple_kv/test/case-300-1.act | 0 .../storage/simple_kv/test/case-300-1.ini | 0 .../storage/simple_kv/test/case-300-2.act | 0 .../storage/simple_kv/test/case-300-2.ini | 0 .../storage/simple_kv/test/case-301.act | 0 .../storage/simple_kv/test/case-301.ini | 0 .../storage/simple_kv/test/case-302.act | 0 .../storage/simple_kv/test/case-302.ini | 0 .../storage/simple_kv/test/case-303.act | 0 .../storage/simple_kv/test/case-303.ini | 0 .../storage/simple_kv/test/case-304.act | 0 .../storage/simple_kv/test/case-304.ini | 0 .../storage/simple_kv/test/case-305.act | 0 .../storage/simple_kv/test/case-305.ini | 0 .../storage/simple_kv/test/case-306.act | 0 .../storage/simple_kv/test/case-306.ini | 0 .../storage/simple_kv/test/case-307.act | 0 .../storage/simple_kv/test/case-307.ini | 0 .../storage/simple_kv/test/case-400.act | 0 .../storage/simple_kv/test/case-400.ini | 0 .../storage/simple_kv/test/case-401.act | 0 .../storage/simple_kv/test/case-401.ini | 0 .../storage/simple_kv/test/case-402.act | 0 .../storage/simple_kv/test/case-402.ini | 0 .../storage/simple_kv/test/case-600.act | 0 .../storage/simple_kv/test/case-600.ini | 0 .../storage/simple_kv/test/case-601.act | 0 .../storage/simple_kv/test/case-601.ini | 0 .../storage/simple_kv/test/case-602.act | 0 .../storage/simple_kv/test/case-602.ini | 0 .../storage/simple_kv/test/case-603.act | 0 .../storage/simple_kv/test/case-603.ini | 0 .../replica/storage/simple_kv/test/case.cpp | 0 .../replica/storage/simple_kv/test/case.h | 0 .../storage/simple_kv/test/checker.cpp | 0 .../replica/storage/simple_kv/test/checker.h | 0 .../replica/storage/simple_kv/test/clear.sh | 0 .../replica/storage/simple_kv/test/client.cpp | 0 .../replica/storage/simple_kv/test/client.h | 0 .../replica/storage/simple_kv/test/common.cpp | 0 .../replica/storage/simple_kv/test/common.h | 0 .../replica/storage/simple_kv/test/config.ini | 0 .../storage/simple_kv/test/injector.cpp | 0 .../replica/storage/simple_kv/test/injector.h | 0 .../storage/simple_kv/test/rep_tests.pdf | Bin .../replica/storage/simple_kv/test/run.sh | 0 .../storage/simple_kv/test/simple_kv.main.cpp | 0 .../simple_kv/test/simple_kv.server.impl.cpp | 0 .../simple_kv/test/simple_kv.server.impl.h | 0 .../src => }/replica/test/CMakeLists.txt | 0 .../replica/test/backup_block_service_mock.h | 0 src/{rdsn/src => }/replica/test/clear.sh | 0 .../replica/test/cold_backup_context_test.cpp | 0 .../src => }/replica/test/config-test.ini | 0 .../src => }/replica/test/log_block_test.cpp | 0 .../src => }/replica/test/log_file_test.cpp | 0 src/{rdsn/src => }/replica/test/main.cpp | 0 src/{rdsn/src => }/replica/test/mock_utils.h | 0 .../replica/test/mutation_log_learn_test.cpp | 0 .../replica/test/mutation_log_test.cpp | 0 .../replica/test/open_replica_test.cpp | 0 .../test/replica_disk_migrate_test.cpp | 0 .../replica/test/replica_disk_test.cpp | 0 .../replica/test/replica_disk_test_base.h | 0 .../replica/test/replica_learn_test.cpp | 0 .../src => }/replica/test/replica_test.cpp | 0 .../src => }/replica/test/replica_test_base.h | 0 .../test/replication_service_test_app.h | 0 src/{rdsn/src => }/replica/test/run.sh | 0 .../test/throttling_controller_test.cpp | 0 src/{rdsn/src => }/runtime/CMakeLists.txt | 0 src/{rdsn/src => }/runtime/api_layer1.h | 0 src/{rdsn/src => }/runtime/api_task.h | 0 src/{rdsn/src => }/runtime/app_model.h | 0 src/{rdsn/src => }/runtime/build_config.h | 0 src/{rdsn/src => }/runtime/core_main.cpp | 0 src/{rdsn/src => }/runtime/env.sim.cpp | 0 src/{rdsn/src => }/runtime/env.sim.h | 0 src/{rdsn/src => }/runtime/env_provider.h | 0 src/{rdsn/src => }/runtime/fault_injector.cpp | 0 src/{rdsn/src => }/runtime/fault_injector.h | 0 src/{rdsn/src => }/runtime/global_config.cpp | 0 src/{rdsn/src => }/runtime/global_config.h | 0 src/{rdsn/src => }/runtime/message_utils.cpp | 0 src/{rdsn/src => }/runtime/message_utils.h | 0 src/{rdsn/src => }/runtime/nativerun.cpp | 0 src/{rdsn/src => }/runtime/nativerun.h | 0 src/{rdsn/src => }/runtime/node_scoper.h | 0 src/{rdsn/src => }/runtime/pipeline.h | 0 src/{rdsn/src => }/runtime/profiler.cpp | 0 src/{rdsn/src => }/runtime/profiler.h | 0 src/{rdsn/src => }/runtime/profiler_header.h | 0 .../src => }/runtime/providers.common.cpp | 0 src/{rdsn/src => }/runtime/providers.common.h | 0 src/{rdsn/src => }/runtime/rpc/CMakeLists.txt | 0 .../runtime/rpc/asio_net_provider.cpp | 0 .../src => }/runtime/rpc/asio_net_provider.h | 0 .../src => }/runtime/rpc/asio_rpc_session.cpp | 0 .../src => }/runtime/rpc/asio_rpc_session.h | 0 .../runtime/rpc/dsn_message_parser.cpp | 0 .../src => }/runtime/rpc/dsn_message_parser.h | 0 .../src => }/runtime/rpc/group_address.h | 0 .../src => }/runtime/rpc/message_parser.cpp | 0 .../src => }/runtime/rpc/message_parser.h | 0 .../runtime/rpc/message_parser_manager.h | 0 src/{rdsn/src => }/runtime/rpc/network.cpp | 0 src/{rdsn/src => }/runtime/rpc/network.h | 0 .../src => }/runtime/rpc/network.sim.cpp | 0 src/{rdsn/src => }/runtime/rpc/network.sim.h | 0 .../runtime/rpc/raw_message_parser.cpp | 0 .../src => }/runtime/rpc/raw_message_parser.h | 0 .../src => }/runtime/rpc/request_meta.thrift | 0 src/{rdsn/src => }/runtime/rpc/rpc_engine.cpp | 0 src/{rdsn/src => }/runtime/rpc/rpc_engine.h | 0 src/{rdsn/src => }/runtime/rpc/rpc_holder.h | 0 .../src => }/runtime/rpc/rpc_message.cpp | 0 src/{rdsn/src => }/runtime/rpc/rpc_message.h | 0 src/{rdsn/src => }/runtime/rpc/rpc_stream.h | 0 src/{rdsn/src => }/runtime/rpc/rpc_task.cpp | 0 .../src => }/runtime/rpc/serialization.h | 0 .../runtime/rpc/thrift_message_parser.cpp | 0 .../runtime/rpc/thrift_message_parser.h | 0 src/{rdsn/src => }/runtime/scheduler.cpp | 0 src/{rdsn/src => }/runtime/scheduler.h | 0 .../src => }/runtime/security/CMakeLists.txt | 0 .../runtime/security/access_controller.cpp | 0 .../runtime/security/access_controller.h | 0 .../runtime/security/client_negotiation.cpp | 0 .../runtime/security/client_negotiation.h | 0 src/{rdsn/src => }/runtime/security/init.cpp | 0 src/{rdsn/src => }/runtime/security/init.h | 0 .../runtime/security/kinit_context.cpp | 0 .../src => }/runtime/security/kinit_context.h | 0 .../security/meta_access_controller.cpp | 0 .../runtime/security/meta_access_controller.h | 0 .../src => }/runtime/security/negotiation.cpp | 0 .../src => }/runtime/security/negotiation.h | 0 .../runtime/security/negotiation_manager.cpp | 0 .../runtime/security/negotiation_manager.h | 0 .../runtime/security/negotiation_utils.h | 0 .../security/replica_access_controller.cpp | 0 .../security/replica_access_controller.h | 0 .../runtime/security/sasl_client_wrapper.cpp | 0 .../runtime/security/sasl_client_wrapper.h | 0 .../src => }/runtime/security/sasl_init.cpp | 0 .../src => }/runtime/security/sasl_init.h | 0 .../runtime/security/sasl_server_wrapper.cpp | 0 .../runtime/security/sasl_server_wrapper.h | 0 .../runtime/security/sasl_wrapper.cpp | 0 .../src => }/runtime/security/sasl_wrapper.h | 0 .../src => }/runtime/security/security.thrift | 2 +- .../runtime/security/server_negotiation.cpp | 0 .../runtime/security/server_negotiation.h | 0 src/{rdsn/src => }/runtime/serverlet.h | 0 src/{rdsn/src => }/runtime/service_api_c.cpp | 0 src/{rdsn/src => }/runtime/service_app.h | 0 src/{rdsn/src => }/runtime/service_engine.cpp | 0 src/{rdsn/src => }/runtime/service_engine.h | 0 src/{rdsn/src => }/runtime/sim_clock.h | 0 src/{rdsn/src => }/runtime/simulator.cpp | 0 src/{rdsn/src => }/runtime/simulator.h | 0 .../src => }/runtime/task/CMakeLists.txt | 0 src/{rdsn/src => }/runtime/task/async_calls.h | 0 .../src => }/runtime/task/future_types.h | 0 .../src => }/runtime/task/hpc_task_queue.cpp | 0 .../src => }/runtime/task/hpc_task_queue.h | 0 .../runtime/task/simple_task_queue.cpp | 0 .../src => }/runtime/task/simple_task_queue.h | 0 src/{rdsn/src => }/runtime/task/task.cpp | 0 src/{rdsn/src => }/runtime/task/task.h | 0 src/{rdsn/src => }/runtime/task/task_code.cpp | 0 src/{rdsn/src => }/runtime/task/task_code.h | 0 .../src => }/runtime/task/task_engine.cpp | 0 src/{rdsn/src => }/runtime/task/task_engine.h | 0 .../src => }/runtime/task/task_engine.sim.cpp | 0 .../src => }/runtime/task/task_engine.sim.h | 0 .../src => }/runtime/task/task_queue.cpp | 0 src/{rdsn/src => }/runtime/task/task_queue.h | 0 src/{rdsn/src => }/runtime/task/task_spec.cpp | 0 src/{rdsn/src => }/runtime/task/task_spec.h | 0 .../src => }/runtime/task/task_tracker.cpp | 0 .../src => }/runtime/task/task_tracker.h | 0 .../src => }/runtime/task/task_worker.cpp | 0 src/{rdsn/src => }/runtime/task/task_worker.h | 0 .../src => }/runtime/task/timer_service.h | 0 .../src => }/runtime/test/CMakeLists.txt | 0 .../src => }/runtime/test/async_call.cpp | 0 src/{rdsn/src => }/runtime/test/clear.sh | 0 .../runtime/test/client_negotiation_test.cpp | 0 src/{rdsn/src => }/runtime/test/command.txt | 0 .../test/config-test-corrupt-message.ini | 0 .../src => }/runtime/test/config-test-sim.ini | 0 .../src => }/runtime/test/config-test.ini | 0 .../src => }/runtime/test/corrupt_message.cpp | 0 src/{rdsn/src => }/runtime/test/gtest.filter | 0 src/{rdsn/src => }/runtime/test/lpc.cpp | 0 src/{rdsn/src => }/runtime/test/main.cpp | 0 .../runtime/test/message_reader_test.cpp | 0 .../runtime/test/message_utils_test.cpp | 0 .../test/meta_access_controller_test.cpp | 0 .../runtime/test/negotiation_manager_test.cpp | 0 .../src => }/runtime/test/netprovider.cpp | 0 .../src => }/runtime/test/pipeline_test.cpp | 0 .../test/replica_access_controller_test.cpp | 0 src/{rdsn/src => }/runtime/test/rpc.cpp | 0 .../src => }/runtime/test/rpc_holder_test.cpp | 0 .../src => }/runtime/test/rpc_message.cpp | 0 src/{rdsn/src => }/runtime/test/run.sh | 0 .../runtime/test/server_negotiation_test.cpp | 0 .../src => }/runtime/test/service_api_c.cpp | 0 src/{rdsn/src => }/runtime/test/sim_lock.cpp | 0 .../src => }/runtime/test/task_engine.cpp | 0 src/{rdsn/src => }/runtime/test/task_test.cpp | 0 src/{rdsn/src => }/runtime/test/test_utils.h | 0 .../test/thrift_message_parser_test.cpp | 0 .../src => }/runtime/threadpool_code.cpp | 0 src/{rdsn/src => }/runtime/tool_api.cpp | 0 src/{rdsn/src => }/runtime/tool_api.h | 0 src/{rdsn/src => }/runtime/tracer.cpp | 0 src/{rdsn/src => }/runtime/tracer.h | 0 src/{rdsn/src => }/runtime/zlocks.cpp | 0 src/{rdsn/src => }/tools/CMakeLists.txt | 0 .../src => }/tools/mutation_log_tool.cpp | 0 src/{rdsn/src => }/tools/mutation_log_tool.h | 0 src/{rdsn/src => }/utils/CMakeLists.txt | 0 src/{rdsn/src => }/utils/TokenBucket.h | 0 .../utils/absl/base/internal/invoke.h | 0 .../src => }/utils/absl/utility/utility.h | 0 src/{rdsn/src => }/utils/alloc.cpp | 0 src/{rdsn/src => }/utils/alloc.h | 0 src/{rdsn/src => }/utils/api_utilities.h | 0 src/{rdsn/src => }/utils/apply.h | 0 src/{rdsn/src => }/utils/autoref_ptr.h | 0 src/{rdsn/src => }/utils/binary_reader.cpp | 0 src/{rdsn/src => }/utils/binary_reader.h | 0 src/{rdsn/src => }/utils/binary_writer.cpp | 0 src/{rdsn/src => }/utils/binary_writer.h | 0 src/{rdsn/src => }/utils/blob.h | 0 src/{rdsn/src => }/utils/casts.h | 0 src/{rdsn/src => }/utils/chrono_literals.h | 0 src/{rdsn/src => }/utils/clock.cpp | 0 src/{rdsn/src => }/utils/clock.h | 0 src/{rdsn/src => }/utils/command_manager.cpp | 0 src/{rdsn/src => }/utils/command_manager.h | 0 src/{rdsn/src => }/utils/config_api.cpp | 0 src/{rdsn/src => }/utils/config_api.h | 0 src/{rdsn/src => }/utils/config_helper.h | 0 src/{rdsn/src => }/utils/configuration.cpp | 0 src/{rdsn/src => }/utils/configuration.h | 0 src/{rdsn/src => }/utils/coredump.h | 0 src/{rdsn/src => }/utils/coredump.posix.cpp | 0 src/{rdsn/src => }/utils/crc.cpp | 0 src/{rdsn/src => }/utils/crc.h | 0 src/{rdsn/src => }/utils/customizable_id.h | 0 src/{rdsn/src => }/utils/defer.h | 0 .../src => }/utils/distributed_lock_service.h | 0 src/{rdsn/src => }/utils/dlib.h | 0 src/{rdsn/src => }/utils/endians.h | 0 src/{rdsn/src => }/utils/enum_helper.h | 0 src/{rdsn/src => }/utils/error_code.cpp | 0 src/{rdsn/src => }/utils/error_code.h | 0 src/{rdsn/src => }/utils/errors.h | 0 src/{rdsn/src => }/utils/exp_delay.h | 0 src/{rdsn/src => }/utils/extensible_object.h | 0 src/{rdsn/src => }/utils/factory_store.h | 0 src/{rdsn/src => }/utils/fail_point.cpp | 0 src/{rdsn/src => }/utils/fail_point.h | 0 src/{rdsn/src => }/utils/fail_point_impl.h | 0 src/{rdsn/src => }/utils/filesystem.cpp | 0 src/{rdsn/src => }/utils/filesystem.h | 0 .../src => }/utils/fixed_size_buffer_pool.h | 0 src/{rdsn/src => }/utils/flags.cpp | 0 src/{rdsn/src => }/utils/flags.h | 0 src/{rdsn/src => }/utils/fmt_logging.h | 0 src/{rdsn/src => }/utils/function_traits.h | 0 src/{rdsn/src => }/utils/gpid.cpp | 0 .../src => }/utils/hpc_locks/autoresetevent.h | 0 .../utils/hpc_locks/autoreseteventcondvar.h | 0 .../src => }/utils/hpc_locks/benaphore.h | 0 src/{rdsn/src => }/utils/hpc_locks/bitfield.h | 0 src/{rdsn/src => }/utils/hpc_locks/readme.txt | 0 src/{rdsn/src => }/utils/hpc_locks/rwlock.h | 0 src/{rdsn/src => }/utils/hpc_locks/sema.h | 0 src/{rdsn/src => }/utils/je_ctl.cpp | 0 src/{rdsn/src => }/utils/je_ctl.h | 0 src/{rdsn/src => }/utils/join_point.h | 0 src/{rdsn/src => }/utils/latency_tracer.cpp | 0 src/{rdsn/src => }/utils/latency_tracer.h | 0 src/{rdsn/src => }/utils/link.h | 0 src/{rdsn/src => }/utils/lockp.std.h | 0 src/{rdsn/src => }/utils/logging.cpp | 0 src/{rdsn/src => }/utils/logging_provider.h | 0 src/{rdsn/src => }/utils/long_adder.cpp | 0 src/{rdsn/src => }/utils/long_adder.h | 0 .../utils/long_adder_bench/CMakeLists.txt | 0 .../long_adder_bench/long_adder_bench.cpp | 0 src/{rdsn/src => }/utils/math.cpp | 0 src/{rdsn/src => }/utils/math.h | 0 src/{rdsn/src => }/utils/memutil.h | 0 src/{rdsn/src => }/utils/metrics.cpp | 0 src/{rdsn/src => }/utils/metrics.h | 0 src/{rdsn/src => }/utils/nth_element.h | 0 src/{rdsn/src => }/utils/optional.h | 0 src/{rdsn/src => }/utils/output_utils.cpp | 0 src/{rdsn/src => }/utils/output_utils.h | 0 src/{rdsn/src => }/utils/ports.h | 0 src/{rdsn/src => }/utils/preloadable.h | 0 src/{rdsn/src => }/utils/priority_queue.h | 0 src/{rdsn/src => }/utils/process_utils.cpp | 0 src/{rdsn/src => }/utils/process_utils.h | 0 src/{rdsn/src => }/utils/rand.cpp | 0 src/{rdsn/src => }/utils/rand.h | 0 src/{rdsn/src => }/utils/rpc_address.cpp | 0 src/{rdsn/src => }/utils/rpc_address.h | 0 .../src => }/utils/safe_strerror_posix.cpp | 0 .../src => }/utils/safe_strerror_posix.h | 0 .../src => }/utils/shared_io_service.cpp | 0 src/{rdsn/src => }/utils/shared_io_service.h | 0 src/{rdsn/src => }/utils/simple_logger.cpp | 0 src/{rdsn/src => }/utils/simple_logger.h | 0 src/{rdsn/src => }/utils/singleton.h | 0 src/{rdsn/src => }/utils/singleton_store.h | 0 src/{rdsn/src => }/utils/smart_pointers.h | 0 src/{rdsn/src => }/utils/string_conv.h | 0 src/{rdsn/src => }/utils/string_splitter.h | 0 src/{rdsn/src => }/utils/string_view.cpp | 0 src/{rdsn/src => }/utils/string_view.h | 0 src/{rdsn/src => }/utils/strings.cpp | 0 src/{rdsn/src => }/utils/strings.h | 0 src/{rdsn/src => }/utils/synchronize.h | 0 src/{rdsn/src => }/utils/sys_exit_hook.h | 0 src/{rdsn/src => }/utils/test/CMakeLists.txt | 0 .../src => }/utils/test/TokenBucketTest.cpp | 0 .../src => }/utils/test/TokenBucketTest.h | 0 src/{rdsn/src => }/utils/test/address.cpp | 0 .../src => }/utils/test/autoref_ptr_test.cpp | 0 .../utils/test/binary_reader_test.cpp | 0 src/{rdsn/src => }/utils/test/clear.sh | 0 .../src => }/utils/test/command_manager.cpp | 0 .../utils/test/config-bad-section.ini | 0 .../src => }/utils/test/config-dup-key.ini | 0 .../utils/test/config-dup-section.ini | 0 .../src => }/utils/test/config-empty.ini | 0 .../src => }/utils/test/config-no-key.ini | 0 .../src => }/utils/test/config-no-section.ini | 0 .../utils/test/config-null-section.ini | 0 .../src => }/utils/test/config-sample.ini | 0 .../utils/test/config-unmatch-section.ini | 0 .../src => }/utils/test/configuration.cpp | 0 src/{rdsn/src => }/utils/test/endian_test.cpp | 0 src/{rdsn/src => }/utils/test/env.cpp | 0 .../src => }/utils/test/fail_point_test.cpp | 0 .../src => }/utils/test/file_system_test.cpp | 0 src/{rdsn/src => }/utils/test/file_utils.cpp | 0 src/{rdsn/src => }/utils/test/flag_test.cpp | 0 .../src => }/utils/test/fmt_logging_test.cpp | 0 .../src => }/utils/test/hostname_test.cpp | 0 src/{rdsn/src => }/utils/test/je_ctl_test.cpp | 0 .../src => }/utils/test/join_point_test.cpp | 0 .../src => }/utils/test/json_helper_test.cpp | 0 .../utils/test/latency_tracer_test.cpp | 0 src/{rdsn/src => }/utils/test/lock.std.cpp | 0 src/{rdsn/src => }/utils/test/logger.cpp | 0 src/{rdsn/src => }/utils/test/logging.cpp | 0 .../src => }/utils/test/long_adder_test.cpp | 0 src/{rdsn/src => }/utils/test/main.cpp | 0 .../src => }/utils/test/memutil_test.cpp | 0 .../src => }/utils/test/metrics_test.cpp | 0 .../test/nth_element_bench/CMakeLists.txt | 0 .../nth_element_bench/nth_element_bench.cpp | 0 .../src => }/utils/test/nth_element_test.cpp | 0 .../src => }/utils/test/nth_element_utils.h | 0 .../src => }/utils/test/output_utils_test.cpp | 0 .../src => }/utils/test/percentile_utils.h | 0 .../src => }/utils/test/priority_queue.cpp | 0 src/{rdsn/src => }/utils/test/rand_test.cpp | 0 src/{rdsn/src => }/utils/test/run.sh | 0 src/{rdsn/src => }/utils/test/sema.cpp | 0 .../utils/test/smart_pointers_test.cpp | 0 .../src => }/utils/test/string_conv_test.cpp | 0 .../src => }/utils/test/string_view_test.cpp | 0 .../src => }/utils/test/time_utils_test.cpp | 0 ...oken_bucket_throttling_controller_test.cpp | 0 .../utils/test/token_buckets_test.cpp | 0 src/{rdsn/src => }/utils/test/utils.cpp | 0 .../src => }/utils/thread_access_checker.cpp | 0 .../src => }/utils/thread_access_checker.h | 0 src/{rdsn/src => }/utils/threadpool_code.h | 0 src/{rdsn/src => }/utils/threadpool_spec.h | 0 .../src => }/utils/throttling_controller.cpp | 0 .../src => }/utils/throttling_controller.h | 0 src/{rdsn/src => }/utils/time_utils.cpp | 0 src/{rdsn/src => }/utils/time_utils.h | 0 src/{rdsn/src => }/utils/timer.h | 0 .../token_bucket_throttling_controller.cpp | 0 .../token_bucket_throttling_controller.h | 0 src/{rdsn/src => }/utils/token_buckets.cpp | 0 src/{rdsn/src => }/utils/token_buckets.h | 0 src/{rdsn/src => }/utils/uniq_timestamp_us.h | 0 src/{rdsn/src => }/utils/utils.cpp | 0 src/{rdsn/src => }/utils/utils.h | 0 src/{rdsn/src => }/utils/work_queue.h | 0 src/{rdsn/src => }/utils/zlock_provider.h | 0 src/{rdsn/src => }/utils/zlocks.h | 0 src/{rdsn/src => }/zookeeper/CMakeLists.txt | 0 .../distributed_lock_service_zookeeper.cpp | 0 .../distributed_lock_service_zookeeper.h | 0 src/{rdsn/src => }/zookeeper/lock_struct.cpp | 0 src/{rdsn/src => }/zookeeper/lock_struct.h | 0 src/{rdsn/src => }/zookeeper/lock_types.h | 0 .../src => }/zookeeper/test/CMakeLists.txt | 0 src/{rdsn/src => }/zookeeper/test/clear.sh | 0 .../src => }/zookeeper/test/config-test.ini | 0 .../test/distributed_lock_zookeeper.cpp | 0 src/{rdsn/src => }/zookeeper/test/main.cpp | 0 src/{rdsn/src => }/zookeeper/test/run.sh | 0 .../src => }/zookeeper/zookeeper_error.cpp | 0 .../src => }/zookeeper/zookeeper_error.h | 0 .../src => }/zookeeper/zookeeper_session.cpp | 0 .../src => }/zookeeper/zookeeper_session.h | 0 .../zookeeper/zookeeper_session_mgr.cpp | 0 .../zookeeper/zookeeper_session_mgr.h | 0 893 files changed, 664 insertions(+), 688 deletions(-) rename src/{rdsn/src => }/aio/CMakeLists.txt (100%) rename src/{rdsn/src => }/aio/aio_provider.cpp (100%) rename src/{rdsn/src => }/aio/aio_provider.h (100%) rename src/{rdsn/src => }/aio/aio_task.cpp (100%) rename src/{rdsn/src => }/aio/aio_task.h (100%) rename src/{rdsn/src => }/aio/disk_engine.cpp (100%) rename src/{rdsn/src => }/aio/disk_engine.h (100%) rename src/{rdsn/src => }/aio/file_io.cpp (100%) rename src/{rdsn/src => }/aio/file_io.h (100%) rename src/{rdsn/src => }/aio/native_linux_aio_provider.cpp (100%) rename src/{rdsn/src => }/aio/native_linux_aio_provider.h (100%) rename src/{rdsn/src => }/aio/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/aio/test/aio.cpp (100%) rename src/{rdsn/src => }/aio/test/clear.sh (100%) rename src/{rdsn/src => }/aio/test/config.ini (100%) rename src/{rdsn/src => }/aio/test/copy_source.txt (100%) rename src/{rdsn/src => }/aio/test/main.cpp (100%) rename src/{rdsn/src => }/aio/test/run.sh (100%) rename src/{rdsn/src => }/block_service/CMakeLists.txt (100%) rename src/{rdsn/src => }/block_service/block_service.h (100%) rename src/{rdsn/src => }/block_service/block_service_manager.cpp (100%) rename src/{rdsn/src => }/block_service/block_service_manager.h (100%) rename src/{rdsn/src => }/block_service/directio_writable_file.cpp (100%) rename src/{rdsn/src => }/block_service/directio_writable_file.h (100%) rename src/{rdsn/src => }/block_service/fds/CMakeLists.txt (100%) rename src/{rdsn/src => }/block_service/fds/fds_service.cpp (100%) rename src/{rdsn/src => }/block_service/fds/fds_service.h (100%) rename src/{rdsn/src => }/block_service/hdfs/CMakeLists.txt (100%) rename src/{rdsn/src => }/block_service/hdfs/hdfs_service.cpp (100%) rename src/{rdsn/src => }/block_service/hdfs/hdfs_service.h (100%) rename src/{rdsn/src => }/block_service/local/CMakeLists.txt (100%) rename src/{rdsn/src => }/block_service/local/local_service.cpp (100%) rename src/{rdsn/src => }/block_service/local/local_service.h (100%) rename src/{rdsn/src => }/block_service/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/block_service/test/block_service_manager_test.cpp (100%) rename src/{rdsn/src => }/block_service/test/block_service_mock.h (100%) rename src/{rdsn/src => }/block_service/test/clear.sh (100%) rename src/{rdsn/src => }/block_service/test/config-test.ini (100%) rename src/{rdsn/src => }/block_service/test/fds_service_test.cpp (100%) rename src/{rdsn/src => }/block_service/test/hdfs_service_test.cpp (100%) rename src/{rdsn/src => }/block_service/test/local_service_test.cpp (100%) rename src/{rdsn/src => }/block_service/test/main.cpp (100%) rename src/{rdsn/src => }/block_service/test/run.sh (100%) rename src/{rdsn/src => }/client/CMakeLists.txt (100%) rename src/{rdsn/src => }/client/partition_resolver.cpp (100%) rename src/{rdsn/src => }/client/partition_resolver.h (100%) rename src/{rdsn/src => }/client/partition_resolver_manager.cpp (100%) rename src/{rdsn/src => }/client/partition_resolver_manager.h (100%) rename src/{rdsn/src => }/client/partition_resolver_simple.cpp (100%) rename src/{rdsn/src => }/client/partition_resolver_simple.h (100%) rename src/{rdsn/src => }/client/replication_ddl_client.cpp (100%) rename src/{rdsn/src => }/client/replication_ddl_client.h (100%) rename src/{rdsn/src => }/common/CMakeLists.txt (100%) rename src/{rdsn/src => }/common/api_common.h (100%) rename src/{rdsn/src => }/common/backup.thrift (98%) rename src/{rdsn/src => }/common/backup_common.cpp (100%) rename src/{rdsn/src => }/common/backup_common.h (100%) rename src/{rdsn/src => }/common/bulk_load.thrift (98%) rename src/{rdsn/src => }/common/bulk_load_common.cpp (100%) rename src/{rdsn/src => }/common/bulk_load_common.h (100%) rename src/{rdsn/src => }/common/common.cpp (100%) rename src/{rdsn/src => }/common/common.h (100%) rename src/{rdsn/src => }/common/consensus.thrift (98%) rename src/{rdsn/src => }/common/duplication.thrift (98%) rename src/{rdsn/src => }/common/duplication_common.cpp (100%) rename src/{rdsn/src => }/common/duplication_common.h (100%) rename src/{rdsn/src => }/common/fs_manager.cpp (100%) rename src/{rdsn/src => }/common/fs_manager.h (100%) rename src/{rdsn/src => }/common/gpid.h (100%) rename src/{rdsn/src => }/common/json_helper.h (100%) rename src/{rdsn/src => }/common/manual_compact.h (100%) rename src/{rdsn/src => }/common/meta_admin.thrift (99%) rename src/{rdsn/src => }/common/metadata.thrift (97%) rename src/{rdsn/src => }/common/partition_split.thrift (98%) rename src/{rdsn/src => }/common/partition_split_common.h (100%) rename src/{rdsn/src => }/common/replica_admin.thrift (98%) rename src/{rdsn/src => }/common/replica_envs.h (100%) rename src/{rdsn/src => }/common/replication.codes.h (100%) rename src/{rdsn/src => }/common/replication_common.cpp (100%) rename src/{rdsn/src => }/common/replication_common.h (100%) rename src/{rdsn/src => }/common/replication_enums.h (100%) rename src/{rdsn/src => }/common/replication_other_types.h (100%) rename src/{rdsn/src => }/common/serialization_helper/dsn_types.h (100%) rename src/{rdsn/src => }/common/serialization_helper/thrift_helper.h (100%) rename src/{rdsn/src => }/common/storage_serverlet.h (100%) rename src/{rdsn/src => }/common/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/common/test/common_test.cpp (100%) rename src/{rdsn/src => }/common/test/config-test.ini (100%) rename src/{rdsn/src => }/common/test/duplication_common_test.cpp (100%) rename src/{rdsn/src => }/common/test/fs_manager_test.cpp (100%) rename src/{rdsn/src => }/common/test/main.cpp (100%) rename src/{rdsn/src => }/common/test/replication_common_test.cpp (100%) rename src/{rdsn/src => }/common/test/run.sh (100%) rename src/{rdsn/src => }/failure_detector/CMakeLists.txt (100%) rename src/{rdsn/src => }/failure_detector/failure_detector.cpp (100%) rename src/{rdsn/src => }/failure_detector/failure_detector.h (100%) rename src/{rdsn/src => }/failure_detector/failure_detector_multimaster.cpp (100%) rename src/{rdsn/src => }/failure_detector/failure_detector_multimaster.h (100%) rename src/{rdsn/src => }/failure_detector/fd.client.h (100%) rename src/{rdsn/src => }/failure_detector/fd.code.definition.h (100%) rename src/{rdsn/src => }/failure_detector/fd.server.h (100%) rename src/{rdsn/src => }/failure_detector/fd.thrift (97%) rename src/{rdsn/src => }/failure_detector/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/failure_detector/test/clear.sh (100%) rename src/{rdsn/src => }/failure_detector/test/config-test.ini (100%) rename src/{rdsn/src => }/failure_detector/test/config-whitelist-test-failed.ini (100%) rename src/{rdsn/src => }/failure_detector/test/config-whitelist-test.ini (100%) rename src/{rdsn/src => }/failure_detector/test/failure_detector.cpp (100%) rename src/{rdsn/src => }/failure_detector/test/gtest.filter (100%) rename src/{rdsn/src => }/failure_detector/test/main.cpp (100%) rename src/{rdsn/src => }/failure_detector/test/run.sh (100%) rename src/{rdsn/src => }/http/CMakeLists.txt (100%) rename src/{rdsn/src => }/http/builtin_http_calls.cpp (100%) rename src/{rdsn/src => }/http/builtin_http_calls.h (100%) rename src/{rdsn/src => }/http/config_http_service.cpp (100%) rename src/{rdsn/src => }/http/http_call_registry.h (100%) rename src/{rdsn/src => }/http/http_message_parser.cpp (100%) rename src/{rdsn/src => }/http/http_message_parser.h (100%) rename src/{rdsn/src => }/http/http_server.cpp (100%) rename src/{rdsn/src => }/http/http_server.h (100%) rename src/{rdsn/src => }/http/http_server_impl.h (100%) rename src/{rdsn/src => }/http/perf_counter_http_service.cpp (100%) rename src/{rdsn/src => }/http/pprof_http_service.cpp (100%) rename src/{rdsn/src => }/http/pprof_http_service.h (100%) rename src/{rdsn/src => }/http/service_version.cpp (100%) rename src/{rdsn/src => }/http/service_version.h (100%) rename src/{rdsn/src => }/http/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/http/test/http_server_test.cpp (100%) rename src/{rdsn/src => }/http/test/perf_counter_http_service_test.cpp (100%) rename src/{rdsn/src => }/http/test/run.sh (100%) rename src/{rdsn/src => }/http/test/uri_decoder_test.cpp (100%) rename src/{rdsn/src => }/http/uri_decoder.cpp (100%) rename src/{rdsn/src => }/http/uri_decoder.h (100%) rename src/{rdsn/src => }/meta/CMakeLists.txt (100%) rename src/{rdsn/src => }/meta/app_balance_policy.cpp (100%) rename src/{rdsn/src => }/meta/app_balance_policy.h (100%) rename src/{rdsn/src => }/meta/app_env_validator.cpp (100%) rename src/{rdsn/src => }/meta/app_env_validator.h (100%) rename src/{rdsn/src => }/meta/backup_engine.cpp (100%) rename src/{rdsn/src => }/meta/backup_engine.h (100%) rename src/{rdsn/src => }/meta/cluster_balance_policy.cpp (100%) rename src/{rdsn/src => }/meta/cluster_balance_policy.h (100%) rename src/{rdsn/src => }/meta/distributed_lock_service_simple.cpp (100%) rename src/{rdsn/src => }/meta/distributed_lock_service_simple.h (100%) rename src/{rdsn/src => }/meta/dump_file.h (100%) rename src/{rdsn/src => }/meta/duplication/duplication_info.cpp (100%) rename src/{rdsn/src => }/meta/duplication/duplication_info.h (100%) rename src/{rdsn/src => }/meta/duplication/meta_duplication_service.cpp (100%) rename src/{rdsn/src => }/meta/duplication/meta_duplication_service.h (100%) rename src/{rdsn/src => }/meta/greedy_load_balancer.cpp (100%) rename src/{rdsn/src => }/meta/greedy_load_balancer.h (100%) rename src/{rdsn/src => }/meta/load_balance_policy.cpp (100%) rename src/{rdsn/src => }/meta/load_balance_policy.h (100%) rename src/{rdsn/src => }/meta/meta_backup_service.cpp (100%) rename src/{rdsn/src => }/meta/meta_backup_service.h (100%) rename src/{rdsn/src => }/meta/meta_bulk_load_ingestion_context.cpp (100%) rename src/{rdsn/src => }/meta/meta_bulk_load_ingestion_context.h (100%) rename src/{rdsn/src => }/meta/meta_bulk_load_service.cpp (100%) rename src/{rdsn/src => }/meta/meta_bulk_load_service.h (100%) rename src/{rdsn/src => }/meta/meta_data.cpp (100%) rename src/{rdsn/src => }/meta/meta_data.h (100%) rename src/{rdsn/src => }/meta/meta_http_service.cpp (100%) rename src/{rdsn/src => }/meta/meta_http_service.h (100%) rename src/{rdsn/src => }/meta/meta_options.cpp (100%) rename src/{rdsn/src => }/meta/meta_options.h (100%) rename src/{rdsn/src => }/meta/meta_rpc_types.h (100%) rename src/{rdsn/src => }/meta/meta_server_failure_detector.cpp (100%) rename src/{rdsn/src => }/meta/meta_server_failure_detector.h (100%) rename src/{rdsn/src => }/meta/meta_service.cpp (100%) rename src/{rdsn/src => }/meta/meta_service.h (100%) rename src/{rdsn/src => }/meta/meta_service_app.cpp (100%) rename src/{rdsn/src => }/meta/meta_service_app.h (100%) rename src/{rdsn/src => }/meta/meta_split_service.cpp (100%) rename src/{rdsn/src => }/meta/meta_split_service.h (100%) rename src/{rdsn/src => }/meta/meta_state_service.h (100%) rename src/{rdsn/src => }/meta/meta_state_service_simple.cpp (100%) rename src/{rdsn/src => }/meta/meta_state_service_simple.h (100%) rename src/{rdsn/src => }/meta/meta_state_service_utils.cpp (100%) rename src/{rdsn/src => }/meta/meta_state_service_utils.h (100%) rename src/{rdsn/src => }/meta/meta_state_service_utils_impl.h (100%) rename src/{rdsn/src => }/meta/meta_state_service_zookeeper.cpp (100%) rename src/{rdsn/src => }/meta/meta_state_service_zookeeper.h (100%) rename src/{rdsn/src => }/meta/partition_guardian.cpp (100%) rename src/{rdsn/src => }/meta/partition_guardian.h (100%) rename src/{rdsn/src => }/meta/server_load_balancer.cpp (100%) rename src/{rdsn/src => }/meta/server_load_balancer.h (100%) rename src/{rdsn/src => }/meta/server_state.cpp (100%) rename src/{rdsn/src => }/meta/server_state.h (100%) rename src/{rdsn/src => }/meta/server_state_restore.cpp (100%) rename src/{rdsn/src => }/meta/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/meta/test/backup_test.cpp (100%) rename src/{rdsn/src => }/meta/test/balancer_simulator/CMakeLists.txt (100%) rename src/{rdsn/src => }/meta/test/balancer_simulator/balancer_simulator.cpp (100%) rename src/{rdsn/src => }/meta/test/balancer_validator.cpp (100%) rename src/{rdsn/src => }/meta/test/clear.sh (100%) rename src/{rdsn/src => }/meta/test/cluster_balance_policy_test.cpp (100%) rename src/{rdsn/src => }/meta/test/config-test.ini (100%) rename src/{rdsn/src => }/meta/test/copy_replica_operation_test.cpp (100%) rename src/{rdsn/src => }/meta/test/dummy_balancer.h (100%) rename src/{rdsn/src => }/meta/test/dump_file.cpp (100%) rename src/{rdsn/src => }/meta/test/duplication_info_test.cpp (100%) rename src/{rdsn/src => }/meta/test/ford_fulkerson_test.cpp (100%) rename src/{rdsn/src => }/meta/test/json_compacity.cpp (100%) rename src/{rdsn/src => }/meta/test/main.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_app_envs_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_app_operation_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_backup_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_bulk_load_ingestion_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_bulk_load_service_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_data.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_duplication_service_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_http_service_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_mauanl_compaction_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_partition_guardian_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_service_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_service_test_app.h (100%) rename src/{rdsn/src => }/meta/test/meta_split_service_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_state/CMakeLists.txt (100%) rename src/{rdsn/src => }/meta/test/meta_state/clear.sh (100%) rename src/{rdsn/src => }/meta/test/meta_state/config-test.ini (100%) rename src/{rdsn/src => }/meta/test/meta_state/gtest.filter (100%) rename src/{rdsn/src => }/meta/test/meta_state/main.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_state/meta_state_service.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_state/run.sh (100%) rename src/{rdsn/src => }/meta/test/meta_state_service_utils_test.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_test_base.cpp (100%) rename src/{rdsn/src => }/meta/test/meta_test_base.h (100%) rename src/{rdsn/src => }/meta/test/misc/misc.cpp (100%) rename src/{rdsn/src => }/meta/test/misc/misc.h (100%) rename src/{rdsn/src => }/meta/test/run.sh (100%) rename src/{rdsn/src => }/meta/test/server_state_restore_test.cpp (100%) rename src/{rdsn/src => }/meta/test/server_state_test.cpp (100%) rename src/{rdsn/src => }/meta/test/state_sync_test.cpp (100%) rename src/{rdsn/src => }/meta/test/suite1 (100%) rename src/{rdsn/src => }/meta/test/suite2 (100%) rename src/{rdsn/src => }/meta/test/update_configuration_test.cpp (100%) rename src/{rdsn/src => }/nfs/CMakeLists.txt (100%) rename src/{rdsn/src => }/nfs/nfs.thrift (98%) rename src/{rdsn/src => }/nfs/nfs_client_impl.cpp (100%) rename src/{rdsn/src => }/nfs/nfs_client_impl.h (100%) rename src/{rdsn/src => }/nfs/nfs_code_definition.h (100%) rename src/{rdsn/src => }/nfs/nfs_node.cpp (100%) rename src/{rdsn/src => }/nfs/nfs_node.h (100%) rename src/{rdsn/src => }/nfs/nfs_node_impl.cpp (100%) rename src/{rdsn/src => }/nfs/nfs_node_simple.h (100%) rename src/{rdsn/src => }/nfs/nfs_server_impl.cpp (100%) rename src/{rdsn/src => }/nfs/nfs_server_impl.h (100%) rename src/{rdsn/src => }/nfs/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/nfs/test/clear.sh (100%) rename src/{rdsn/src => }/nfs/test/config.ini (100%) rename src/{rdsn/src => }/nfs/test/main.cpp (100%) rename src/{rdsn/src => }/nfs/test/nfs_test_file1 (100%) rename src/{rdsn/src => }/nfs/test/nfs_test_file2 (100%) rename src/{rdsn/src => }/nfs/test/run.sh (100%) rename src/{rdsn/src => }/perf_counter/CMakeLists.txt (100%) rename src/{rdsn/src => }/perf_counter/builtin_counters.cpp (100%) rename src/{rdsn/src => }/perf_counter/builtin_counters.h (100%) rename src/{rdsn/src => }/perf_counter/perf_counter.cpp (100%) rename src/{rdsn/src => }/perf_counter/perf_counter.h (100%) rename src/{rdsn/src => }/perf_counter/perf_counter_atomic.h (100%) rename src/{rdsn/src => }/perf_counter/perf_counter_utils.h (100%) rename src/{rdsn/src => }/perf_counter/perf_counter_wrapper.h (100%) rename src/{rdsn/src => }/perf_counter/perf_counters.cpp (100%) rename src/{rdsn/src => }/perf_counter/perf_counters.h (100%) rename src/{rdsn/src => }/perf_counter/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/perf_counter/test/clear.sh (100%) rename src/{rdsn/src => }/perf_counter/test/main.cpp (100%) rename src/{rdsn/src => }/perf_counter/test/perf_counter_test.cpp (100%) rename src/{rdsn/src => }/perf_counter/test/perf_counters_test.cpp (100%) rename src/{rdsn/src => }/perf_counter/test/run.sh (100%) delete mode 100644 src/rdsn/src/CMakeLists.txt rename src/{rdsn/src => }/remote_cmd/CMakeLists.txt (100%) rename src/{rdsn/src => }/remote_cmd/command.thrift (100%) rename src/{rdsn/src => }/remote_cmd/remote_command.cpp (100%) rename src/{rdsn/src => }/remote_cmd/remote_command.h (100%) rename src/{rdsn/src => }/replica/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/backup/cold_backup_context.cpp (100%) rename src/{rdsn/src => }/replica/backup/cold_backup_context.h (100%) rename src/{rdsn/src => }/replica/backup/replica_backup_manager.cpp (100%) rename src/{rdsn/src => }/replica/backup/replica_backup_manager.h (100%) rename src/{rdsn/src => }/replica/backup/replica_backup_server.cpp (100%) rename src/{rdsn/src => }/replica/backup/replica_backup_server.h (100%) rename src/{rdsn/src => }/replica/backup/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/backup/test/config-test.ini (100%) rename src/{rdsn/src => }/replica/backup/test/main.cpp (100%) rename src/{rdsn/src => }/replica/backup/test/replica_backup_manager_test.cpp (100%) rename src/{rdsn/src => }/replica/backup/test/run.sh (100%) rename src/{rdsn/src => }/replica/bulk_load/replica_bulk_loader.cpp (100%) rename src/{rdsn/src => }/replica/bulk_load/replica_bulk_loader.h (100%) rename src/{rdsn/src => }/replica/bulk_load/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/bulk_load/test/config-test.ini (100%) rename src/{rdsn/src => }/replica/bulk_load/test/main.cpp (100%) rename src/{rdsn/src => }/replica/bulk_load/test/replica_bulk_loader_test.cpp (100%) rename src/{rdsn/src => }/replica/bulk_load/test/run.sh (100%) rename src/{rdsn/src => }/replica/disk_cleaner.cpp (100%) rename src/{rdsn/src => }/replica/disk_cleaner.h (100%) rename src/{rdsn/src => }/replica/duplication/duplication_pipeline.cpp (100%) rename src/{rdsn/src => }/replica/duplication/duplication_pipeline.h (100%) rename src/{rdsn/src => }/replica/duplication/duplication_sync_timer.cpp (100%) rename src/{rdsn/src => }/replica/duplication/duplication_sync_timer.h (100%) rename src/{rdsn/src => }/replica/duplication/load_from_private_log.cpp (100%) rename src/{rdsn/src => }/replica/duplication/load_from_private_log.h (100%) rename src/{rdsn/src => }/replica/duplication/mutation_batch.cpp (100%) rename src/{rdsn/src => }/replica/duplication/mutation_batch.h (100%) rename src/{rdsn/src => }/replica/duplication/mutation_duplicator.h (100%) rename src/{rdsn/src => }/replica/duplication/replica_duplicator.cpp (100%) rename src/{rdsn/src => }/replica/duplication/replica_duplicator.h (100%) rename src/{rdsn/src => }/replica/duplication/replica_duplicator_manager.cpp (100%) rename src/{rdsn/src => }/replica/duplication/replica_duplicator_manager.h (100%) rename src/{rdsn/src => }/replica/duplication/replica_follower.cpp (100%) rename src/{rdsn/src => }/replica/duplication/replica_follower.h (100%) rename src/{rdsn/src => }/replica/duplication/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/duplication/test/config-test.ini (100%) rename src/{rdsn/src => }/replica/duplication/test/duplication_sync_timer_test.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/duplication_test_base.h (100%) rename src/{rdsn/src => }/replica/duplication/test/load_from_private_log_test.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/log.1.0.all_loaded_are_write_empties (100%) rename src/{rdsn/src => }/replica/duplication/test/log.1.0.handle_real_private_log (100%) rename src/{rdsn/src => }/replica/duplication/test/log.1.0.handle_real_private_log2 (100%) rename src/{rdsn/src => }/replica/duplication/test/main.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/mutation_batch_test.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/replica_duplicator_manager_test.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/replica_duplicator_test.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/replica_follower_test.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/replica_http_service_test.cpp (100%) rename src/{rdsn/src => }/replica/duplication/test/run.sh (100%) rename src/{rdsn/src => }/replica/duplication/test/ship_mutation_test.cpp (100%) rename src/{rdsn/src => }/replica/log_block.cpp (100%) rename src/{rdsn/src => }/replica/log_block.h (100%) rename src/{rdsn/src => }/replica/log_file.cpp (100%) rename src/{rdsn/src => }/replica/log_file.h (100%) rename src/{rdsn/src => }/replica/log_file_stream.h (100%) rename src/{rdsn/src => }/replica/mutation.cpp (100%) rename src/{rdsn/src => }/replica/mutation.h (100%) rename src/{rdsn/src => }/replica/mutation_cache.cpp (100%) rename src/{rdsn/src => }/replica/mutation_cache.h (100%) rename src/{rdsn/src => }/replica/mutation_log.cpp (100%) rename src/{rdsn/src => }/replica/mutation_log.h (100%) rename src/{rdsn/src => }/replica/mutation_log_replay.cpp (100%) rename src/{rdsn/src => }/replica/mutation_log_utils.cpp (100%) rename src/{rdsn/src => }/replica/mutation_log_utils.h (100%) rename src/{rdsn/src => }/replica/prepare_list.cpp (100%) rename src/{rdsn/src => }/replica/prepare_list.h (100%) rename src/{rdsn/src => }/replica/replica.cpp (100%) rename src/{rdsn/src => }/replica/replica.h (100%) rename src/{rdsn/src => }/replica/replica_2pc.cpp (100%) rename src/{rdsn/src => }/replica/replica_backup.cpp (100%) rename src/{rdsn/src => }/replica/replica_base.h (100%) rename src/{rdsn/src => }/replica/replica_check.cpp (100%) rename src/{rdsn/src => }/replica/replica_chkpt.cpp (100%) rename src/{rdsn/src => }/replica/replica_config.cpp (100%) rename src/{rdsn/src => }/replica/replica_context.cpp (100%) rename src/{rdsn/src => }/replica/replica_context.h (100%) rename src/{rdsn/src => }/replica/replica_disk_migrator.cpp (100%) rename src/{rdsn/src => }/replica/replica_disk_migrator.h (100%) rename src/{rdsn/src => }/replica/replica_failover.cpp (100%) rename src/{rdsn/src => }/replica/replica_http_service.cpp (100%) rename src/{rdsn/src => }/replica/replica_http_service.h (100%) rename src/{rdsn/src => }/replica/replica_init.cpp (100%) rename src/{rdsn/src => }/replica/replica_learn.cpp (100%) rename src/{rdsn/src => }/replica/replica_restore.cpp (100%) rename src/{rdsn/src => }/replica/replica_stub.cpp (100%) rename src/{rdsn/src => }/replica/replica_stub.h (100%) rename src/{rdsn/src => }/replica/replica_test_utils.cpp (100%) rename src/{rdsn/src => }/replica/replica_test_utils.h (100%) rename src/{rdsn/src => }/replica/replica_throttle.cpp (100%) rename src/{rdsn/src => }/replica/replication_app_base.cpp (100%) rename src/{rdsn/src => }/replica/replication_app_base.h (100%) rename src/{rdsn/src => }/replica/replication_service_app.cpp (100%) rename src/{rdsn/src => }/replica/replication_service_app.h (100%) rename src/{rdsn/src => }/replica/split/replica_split_manager.cpp (100%) rename src/{rdsn/src => }/replica/split/replica_split_manager.h (100%) rename src/{rdsn/src => }/replica/split/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/split/test/config-test.ini (100%) rename src/{rdsn/src => }/replica/split/test/main.cpp (100%) rename src/{rdsn/src => }/replica/split/test/replica_split_test.cpp (100%) rename src/{rdsn/src => }/replica/split/test/run.sh (100%) rename src/{rdsn/src => }/replica/storage/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/clear.sh (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/config.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/run.sh (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.app.example.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.client.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.code.definition.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.main.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.server.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.server.impl.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.server.impl.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/simple_kv.thrift (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/README.md (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/addcase.sh (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-000.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-000.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-001.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-001.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-002.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-002.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-003.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-003.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-004.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-004.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-005.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-005.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-006.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-006.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-100.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-100.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-101.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-101.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-102.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-102.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-103.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-103.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-104.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-104.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-105.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-105.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-106.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-106.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-107.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-107.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-108.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-108.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-109.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-109.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-200.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-200.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-201.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-201.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-202-0.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-202-0.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-202-1.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-202-1.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-203-0.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-203-0.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-204.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-204.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-205.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-205.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-206.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-206.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-207.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-207.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-208.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-208.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-209.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-209.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-210.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-210.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-211.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-211.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-212.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-212.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-213.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-213.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-214.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-214.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-215.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-215.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-216.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-216.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-300-0.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-300-0.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-300-1.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-300-1.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-300-2.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-300-2.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-301.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-301.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-302.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-302.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-303.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-303.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-304.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-304.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-305.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-305.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-306.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-306.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-307.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-307.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-400.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-400.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-401.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-401.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-402.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-402.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-600.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-600.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-601.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-601.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-602.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-602.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-603.act (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case-603.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/case.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/checker.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/checker.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/clear.sh (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/client.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/client.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/common.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/common.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/config.ini (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/injector.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/injector.h (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/rep_tests.pdf (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/run.sh (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/simple_kv.main.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/simple_kv.server.impl.cpp (100%) rename src/{rdsn/src => }/replica/storage/simple_kv/test/simple_kv.server.impl.h (100%) rename src/{rdsn/src => }/replica/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/replica/test/backup_block_service_mock.h (100%) rename src/{rdsn/src => }/replica/test/clear.sh (100%) rename src/{rdsn/src => }/replica/test/cold_backup_context_test.cpp (100%) rename src/{rdsn/src => }/replica/test/config-test.ini (100%) rename src/{rdsn/src => }/replica/test/log_block_test.cpp (100%) rename src/{rdsn/src => }/replica/test/log_file_test.cpp (100%) rename src/{rdsn/src => }/replica/test/main.cpp (100%) rename src/{rdsn/src => }/replica/test/mock_utils.h (100%) rename src/{rdsn/src => }/replica/test/mutation_log_learn_test.cpp (100%) rename src/{rdsn/src => }/replica/test/mutation_log_test.cpp (100%) rename src/{rdsn/src => }/replica/test/open_replica_test.cpp (100%) rename src/{rdsn/src => }/replica/test/replica_disk_migrate_test.cpp (100%) rename src/{rdsn/src => }/replica/test/replica_disk_test.cpp (100%) rename src/{rdsn/src => }/replica/test/replica_disk_test_base.h (100%) rename src/{rdsn/src => }/replica/test/replica_learn_test.cpp (100%) rename src/{rdsn/src => }/replica/test/replica_test.cpp (100%) rename src/{rdsn/src => }/replica/test/replica_test_base.h (100%) rename src/{rdsn/src => }/replica/test/replication_service_test_app.h (100%) rename src/{rdsn/src => }/replica/test/run.sh (100%) rename src/{rdsn/src => }/replica/test/throttling_controller_test.cpp (100%) rename src/{rdsn/src => }/runtime/CMakeLists.txt (100%) rename src/{rdsn/src => }/runtime/api_layer1.h (100%) rename src/{rdsn/src => }/runtime/api_task.h (100%) rename src/{rdsn/src => }/runtime/app_model.h (100%) rename src/{rdsn/src => }/runtime/build_config.h (100%) rename src/{rdsn/src => }/runtime/core_main.cpp (100%) rename src/{rdsn/src => }/runtime/env.sim.cpp (100%) rename src/{rdsn/src => }/runtime/env.sim.h (100%) rename src/{rdsn/src => }/runtime/env_provider.h (100%) rename src/{rdsn/src => }/runtime/fault_injector.cpp (100%) rename src/{rdsn/src => }/runtime/fault_injector.h (100%) rename src/{rdsn/src => }/runtime/global_config.cpp (100%) rename src/{rdsn/src => }/runtime/global_config.h (100%) rename src/{rdsn/src => }/runtime/message_utils.cpp (100%) rename src/{rdsn/src => }/runtime/message_utils.h (100%) rename src/{rdsn/src => }/runtime/nativerun.cpp (100%) rename src/{rdsn/src => }/runtime/nativerun.h (100%) rename src/{rdsn/src => }/runtime/node_scoper.h (100%) rename src/{rdsn/src => }/runtime/pipeline.h (100%) rename src/{rdsn/src => }/runtime/profiler.cpp (100%) rename src/{rdsn/src => }/runtime/profiler.h (100%) rename src/{rdsn/src => }/runtime/profiler_header.h (100%) rename src/{rdsn/src => }/runtime/providers.common.cpp (100%) rename src/{rdsn/src => }/runtime/providers.common.h (100%) rename src/{rdsn/src => }/runtime/rpc/CMakeLists.txt (100%) rename src/{rdsn/src => }/runtime/rpc/asio_net_provider.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/asio_net_provider.h (100%) rename src/{rdsn/src => }/runtime/rpc/asio_rpc_session.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/asio_rpc_session.h (100%) rename src/{rdsn/src => }/runtime/rpc/dsn_message_parser.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/dsn_message_parser.h (100%) rename src/{rdsn/src => }/runtime/rpc/group_address.h (100%) rename src/{rdsn/src => }/runtime/rpc/message_parser.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/message_parser.h (100%) rename src/{rdsn/src => }/runtime/rpc/message_parser_manager.h (100%) rename src/{rdsn/src => }/runtime/rpc/network.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/network.h (100%) rename src/{rdsn/src => }/runtime/rpc/network.sim.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/network.sim.h (100%) rename src/{rdsn/src => }/runtime/rpc/raw_message_parser.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/raw_message_parser.h (100%) rename src/{rdsn/src => }/runtime/rpc/request_meta.thrift (100%) rename src/{rdsn/src => }/runtime/rpc/rpc_engine.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/rpc_engine.h (100%) rename src/{rdsn/src => }/runtime/rpc/rpc_holder.h (100%) rename src/{rdsn/src => }/runtime/rpc/rpc_message.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/rpc_message.h (100%) rename src/{rdsn/src => }/runtime/rpc/rpc_stream.h (100%) rename src/{rdsn/src => }/runtime/rpc/rpc_task.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/serialization.h (100%) rename src/{rdsn/src => }/runtime/rpc/thrift_message_parser.cpp (100%) rename src/{rdsn/src => }/runtime/rpc/thrift_message_parser.h (100%) rename src/{rdsn/src => }/runtime/scheduler.cpp (100%) rename src/{rdsn/src => }/runtime/scheduler.h (100%) rename src/{rdsn/src => }/runtime/security/CMakeLists.txt (100%) rename src/{rdsn/src => }/runtime/security/access_controller.cpp (100%) rename src/{rdsn/src => }/runtime/security/access_controller.h (100%) rename src/{rdsn/src => }/runtime/security/client_negotiation.cpp (100%) rename src/{rdsn/src => }/runtime/security/client_negotiation.h (100%) rename src/{rdsn/src => }/runtime/security/init.cpp (100%) rename src/{rdsn/src => }/runtime/security/init.h (100%) rename src/{rdsn/src => }/runtime/security/kinit_context.cpp (100%) rename src/{rdsn/src => }/runtime/security/kinit_context.h (100%) rename src/{rdsn/src => }/runtime/security/meta_access_controller.cpp (100%) rename src/{rdsn/src => }/runtime/security/meta_access_controller.h (100%) rename src/{rdsn/src => }/runtime/security/negotiation.cpp (100%) rename src/{rdsn/src => }/runtime/security/negotiation.h (100%) rename src/{rdsn/src => }/runtime/security/negotiation_manager.cpp (100%) rename src/{rdsn/src => }/runtime/security/negotiation_manager.h (100%) rename src/{rdsn/src => }/runtime/security/negotiation_utils.h (100%) rename src/{rdsn/src => }/runtime/security/replica_access_controller.cpp (100%) rename src/{rdsn/src => }/runtime/security/replica_access_controller.h (100%) rename src/{rdsn/src => }/runtime/security/sasl_client_wrapper.cpp (100%) rename src/{rdsn/src => }/runtime/security/sasl_client_wrapper.h (100%) rename src/{rdsn/src => }/runtime/security/sasl_init.cpp (100%) rename src/{rdsn/src => }/runtime/security/sasl_init.h (100%) rename src/{rdsn/src => }/runtime/security/sasl_server_wrapper.cpp (100%) rename src/{rdsn/src => }/runtime/security/sasl_server_wrapper.h (100%) rename src/{rdsn/src => }/runtime/security/sasl_wrapper.cpp (100%) rename src/{rdsn/src => }/runtime/security/sasl_wrapper.h (100%) rename src/{rdsn/src => }/runtime/security/security.thrift (98%) rename src/{rdsn/src => }/runtime/security/server_negotiation.cpp (100%) rename src/{rdsn/src => }/runtime/security/server_negotiation.h (100%) rename src/{rdsn/src => }/runtime/serverlet.h (100%) rename src/{rdsn/src => }/runtime/service_api_c.cpp (100%) rename src/{rdsn/src => }/runtime/service_app.h (100%) rename src/{rdsn/src => }/runtime/service_engine.cpp (100%) rename src/{rdsn/src => }/runtime/service_engine.h (100%) rename src/{rdsn/src => }/runtime/sim_clock.h (100%) rename src/{rdsn/src => }/runtime/simulator.cpp (100%) rename src/{rdsn/src => }/runtime/simulator.h (100%) rename src/{rdsn/src => }/runtime/task/CMakeLists.txt (100%) rename src/{rdsn/src => }/runtime/task/async_calls.h (100%) rename src/{rdsn/src => }/runtime/task/future_types.h (100%) rename src/{rdsn/src => }/runtime/task/hpc_task_queue.cpp (100%) rename src/{rdsn/src => }/runtime/task/hpc_task_queue.h (100%) rename src/{rdsn/src => }/runtime/task/simple_task_queue.cpp (100%) rename src/{rdsn/src => }/runtime/task/simple_task_queue.h (100%) rename src/{rdsn/src => }/runtime/task/task.cpp (100%) rename src/{rdsn/src => }/runtime/task/task.h (100%) rename src/{rdsn/src => }/runtime/task/task_code.cpp (100%) rename src/{rdsn/src => }/runtime/task/task_code.h (100%) rename src/{rdsn/src => }/runtime/task/task_engine.cpp (100%) rename src/{rdsn/src => }/runtime/task/task_engine.h (100%) rename src/{rdsn/src => }/runtime/task/task_engine.sim.cpp (100%) rename src/{rdsn/src => }/runtime/task/task_engine.sim.h (100%) rename src/{rdsn/src => }/runtime/task/task_queue.cpp (100%) rename src/{rdsn/src => }/runtime/task/task_queue.h (100%) rename src/{rdsn/src => }/runtime/task/task_spec.cpp (100%) rename src/{rdsn/src => }/runtime/task/task_spec.h (100%) rename src/{rdsn/src => }/runtime/task/task_tracker.cpp (100%) rename src/{rdsn/src => }/runtime/task/task_tracker.h (100%) rename src/{rdsn/src => }/runtime/task/task_worker.cpp (100%) rename src/{rdsn/src => }/runtime/task/task_worker.h (100%) rename src/{rdsn/src => }/runtime/task/timer_service.h (100%) rename src/{rdsn/src => }/runtime/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/runtime/test/async_call.cpp (100%) rename src/{rdsn/src => }/runtime/test/clear.sh (100%) rename src/{rdsn/src => }/runtime/test/client_negotiation_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/command.txt (100%) rename src/{rdsn/src => }/runtime/test/config-test-corrupt-message.ini (100%) rename src/{rdsn/src => }/runtime/test/config-test-sim.ini (100%) rename src/{rdsn/src => }/runtime/test/config-test.ini (100%) rename src/{rdsn/src => }/runtime/test/corrupt_message.cpp (100%) rename src/{rdsn/src => }/runtime/test/gtest.filter (100%) rename src/{rdsn/src => }/runtime/test/lpc.cpp (100%) rename src/{rdsn/src => }/runtime/test/main.cpp (100%) rename src/{rdsn/src => }/runtime/test/message_reader_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/message_utils_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/meta_access_controller_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/negotiation_manager_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/netprovider.cpp (100%) rename src/{rdsn/src => }/runtime/test/pipeline_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/replica_access_controller_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/rpc.cpp (100%) rename src/{rdsn/src => }/runtime/test/rpc_holder_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/rpc_message.cpp (100%) rename src/{rdsn/src => }/runtime/test/run.sh (100%) rename src/{rdsn/src => }/runtime/test/server_negotiation_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/service_api_c.cpp (100%) rename src/{rdsn/src => }/runtime/test/sim_lock.cpp (100%) rename src/{rdsn/src => }/runtime/test/task_engine.cpp (100%) rename src/{rdsn/src => }/runtime/test/task_test.cpp (100%) rename src/{rdsn/src => }/runtime/test/test_utils.h (100%) rename src/{rdsn/src => }/runtime/test/thrift_message_parser_test.cpp (100%) rename src/{rdsn/src => }/runtime/threadpool_code.cpp (100%) rename src/{rdsn/src => }/runtime/tool_api.cpp (100%) rename src/{rdsn/src => }/runtime/tool_api.h (100%) rename src/{rdsn/src => }/runtime/tracer.cpp (100%) rename src/{rdsn/src => }/runtime/tracer.h (100%) rename src/{rdsn/src => }/runtime/zlocks.cpp (100%) rename src/{rdsn/src => }/tools/CMakeLists.txt (100%) rename src/{rdsn/src => }/tools/mutation_log_tool.cpp (100%) rename src/{rdsn/src => }/tools/mutation_log_tool.h (100%) rename src/{rdsn/src => }/utils/CMakeLists.txt (100%) rename src/{rdsn/src => }/utils/TokenBucket.h (100%) rename src/{rdsn/src => }/utils/absl/base/internal/invoke.h (100%) rename src/{rdsn/src => }/utils/absl/utility/utility.h (100%) rename src/{rdsn/src => }/utils/alloc.cpp (100%) rename src/{rdsn/src => }/utils/alloc.h (100%) rename src/{rdsn/src => }/utils/api_utilities.h (100%) rename src/{rdsn/src => }/utils/apply.h (100%) rename src/{rdsn/src => }/utils/autoref_ptr.h (100%) rename src/{rdsn/src => }/utils/binary_reader.cpp (100%) rename src/{rdsn/src => }/utils/binary_reader.h (100%) rename src/{rdsn/src => }/utils/binary_writer.cpp (100%) rename src/{rdsn/src => }/utils/binary_writer.h (100%) rename src/{rdsn/src => }/utils/blob.h (100%) rename src/{rdsn/src => }/utils/casts.h (100%) rename src/{rdsn/src => }/utils/chrono_literals.h (100%) rename src/{rdsn/src => }/utils/clock.cpp (100%) rename src/{rdsn/src => }/utils/clock.h (100%) rename src/{rdsn/src => }/utils/command_manager.cpp (100%) rename src/{rdsn/src => }/utils/command_manager.h (100%) rename src/{rdsn/src => }/utils/config_api.cpp (100%) rename src/{rdsn/src => }/utils/config_api.h (100%) rename src/{rdsn/src => }/utils/config_helper.h (100%) rename src/{rdsn/src => }/utils/configuration.cpp (100%) rename src/{rdsn/src => }/utils/configuration.h (100%) rename src/{rdsn/src => }/utils/coredump.h (100%) rename src/{rdsn/src => }/utils/coredump.posix.cpp (100%) rename src/{rdsn/src => }/utils/crc.cpp (100%) rename src/{rdsn/src => }/utils/crc.h (100%) rename src/{rdsn/src => }/utils/customizable_id.h (100%) rename src/{rdsn/src => }/utils/defer.h (100%) rename src/{rdsn/src => }/utils/distributed_lock_service.h (100%) rename src/{rdsn/src => }/utils/dlib.h (100%) rename src/{rdsn/src => }/utils/endians.h (100%) rename src/{rdsn/src => }/utils/enum_helper.h (100%) rename src/{rdsn/src => }/utils/error_code.cpp (100%) rename src/{rdsn/src => }/utils/error_code.h (100%) rename src/{rdsn/src => }/utils/errors.h (100%) rename src/{rdsn/src => }/utils/exp_delay.h (100%) rename src/{rdsn/src => }/utils/extensible_object.h (100%) rename src/{rdsn/src => }/utils/factory_store.h (100%) rename src/{rdsn/src => }/utils/fail_point.cpp (100%) rename src/{rdsn/src => }/utils/fail_point.h (100%) rename src/{rdsn/src => }/utils/fail_point_impl.h (100%) rename src/{rdsn/src => }/utils/filesystem.cpp (100%) rename src/{rdsn/src => }/utils/filesystem.h (100%) rename src/{rdsn/src => }/utils/fixed_size_buffer_pool.h (100%) rename src/{rdsn/src => }/utils/flags.cpp (100%) rename src/{rdsn/src => }/utils/flags.h (100%) rename src/{rdsn/src => }/utils/fmt_logging.h (100%) rename src/{rdsn/src => }/utils/function_traits.h (100%) rename src/{rdsn/src => }/utils/gpid.cpp (100%) rename src/{rdsn/src => }/utils/hpc_locks/autoresetevent.h (100%) rename src/{rdsn/src => }/utils/hpc_locks/autoreseteventcondvar.h (100%) rename src/{rdsn/src => }/utils/hpc_locks/benaphore.h (100%) rename src/{rdsn/src => }/utils/hpc_locks/bitfield.h (100%) rename src/{rdsn/src => }/utils/hpc_locks/readme.txt (100%) rename src/{rdsn/src => }/utils/hpc_locks/rwlock.h (100%) rename src/{rdsn/src => }/utils/hpc_locks/sema.h (100%) rename src/{rdsn/src => }/utils/je_ctl.cpp (100%) rename src/{rdsn/src => }/utils/je_ctl.h (100%) rename src/{rdsn/src => }/utils/join_point.h (100%) rename src/{rdsn/src => }/utils/latency_tracer.cpp (100%) rename src/{rdsn/src => }/utils/latency_tracer.h (100%) rename src/{rdsn/src => }/utils/link.h (100%) rename src/{rdsn/src => }/utils/lockp.std.h (100%) rename src/{rdsn/src => }/utils/logging.cpp (100%) rename src/{rdsn/src => }/utils/logging_provider.h (100%) rename src/{rdsn/src => }/utils/long_adder.cpp (100%) rename src/{rdsn/src => }/utils/long_adder.h (100%) rename src/{rdsn/src => }/utils/long_adder_bench/CMakeLists.txt (100%) rename src/{rdsn/src => }/utils/long_adder_bench/long_adder_bench.cpp (100%) rename src/{rdsn/src => }/utils/math.cpp (100%) rename src/{rdsn/src => }/utils/math.h (100%) rename src/{rdsn/src => }/utils/memutil.h (100%) rename src/{rdsn/src => }/utils/metrics.cpp (100%) rename src/{rdsn/src => }/utils/metrics.h (100%) rename src/{rdsn/src => }/utils/nth_element.h (100%) rename src/{rdsn/src => }/utils/optional.h (100%) rename src/{rdsn/src => }/utils/output_utils.cpp (100%) rename src/{rdsn/src => }/utils/output_utils.h (100%) rename src/{rdsn/src => }/utils/ports.h (100%) rename src/{rdsn/src => }/utils/preloadable.h (100%) rename src/{rdsn/src => }/utils/priority_queue.h (100%) rename src/{rdsn/src => }/utils/process_utils.cpp (100%) rename src/{rdsn/src => }/utils/process_utils.h (100%) rename src/{rdsn/src => }/utils/rand.cpp (100%) rename src/{rdsn/src => }/utils/rand.h (100%) rename src/{rdsn/src => }/utils/rpc_address.cpp (100%) rename src/{rdsn/src => }/utils/rpc_address.h (100%) rename src/{rdsn/src => }/utils/safe_strerror_posix.cpp (100%) rename src/{rdsn/src => }/utils/safe_strerror_posix.h (100%) rename src/{rdsn/src => }/utils/shared_io_service.cpp (100%) rename src/{rdsn/src => }/utils/shared_io_service.h (100%) rename src/{rdsn/src => }/utils/simple_logger.cpp (100%) rename src/{rdsn/src => }/utils/simple_logger.h (100%) rename src/{rdsn/src => }/utils/singleton.h (100%) rename src/{rdsn/src => }/utils/singleton_store.h (100%) rename src/{rdsn/src => }/utils/smart_pointers.h (100%) rename src/{rdsn/src => }/utils/string_conv.h (100%) rename src/{rdsn/src => }/utils/string_splitter.h (100%) rename src/{rdsn/src => }/utils/string_view.cpp (100%) rename src/{rdsn/src => }/utils/string_view.h (100%) rename src/{rdsn/src => }/utils/strings.cpp (100%) rename src/{rdsn/src => }/utils/strings.h (100%) rename src/{rdsn/src => }/utils/synchronize.h (100%) rename src/{rdsn/src => }/utils/sys_exit_hook.h (100%) rename src/{rdsn/src => }/utils/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/utils/test/TokenBucketTest.cpp (100%) rename src/{rdsn/src => }/utils/test/TokenBucketTest.h (100%) rename src/{rdsn/src => }/utils/test/address.cpp (100%) rename src/{rdsn/src => }/utils/test/autoref_ptr_test.cpp (100%) rename src/{rdsn/src => }/utils/test/binary_reader_test.cpp (100%) rename src/{rdsn/src => }/utils/test/clear.sh (100%) rename src/{rdsn/src => }/utils/test/command_manager.cpp (100%) rename src/{rdsn/src => }/utils/test/config-bad-section.ini (100%) rename src/{rdsn/src => }/utils/test/config-dup-key.ini (100%) rename src/{rdsn/src => }/utils/test/config-dup-section.ini (100%) rename src/{rdsn/src => }/utils/test/config-empty.ini (100%) rename src/{rdsn/src => }/utils/test/config-no-key.ini (100%) rename src/{rdsn/src => }/utils/test/config-no-section.ini (100%) rename src/{rdsn/src => }/utils/test/config-null-section.ini (100%) rename src/{rdsn/src => }/utils/test/config-sample.ini (100%) rename src/{rdsn/src => }/utils/test/config-unmatch-section.ini (100%) rename src/{rdsn/src => }/utils/test/configuration.cpp (100%) rename src/{rdsn/src => }/utils/test/endian_test.cpp (100%) rename src/{rdsn/src => }/utils/test/env.cpp (100%) rename src/{rdsn/src => }/utils/test/fail_point_test.cpp (100%) rename src/{rdsn/src => }/utils/test/file_system_test.cpp (100%) rename src/{rdsn/src => }/utils/test/file_utils.cpp (100%) rename src/{rdsn/src => }/utils/test/flag_test.cpp (100%) rename src/{rdsn/src => }/utils/test/fmt_logging_test.cpp (100%) rename src/{rdsn/src => }/utils/test/hostname_test.cpp (100%) rename src/{rdsn/src => }/utils/test/je_ctl_test.cpp (100%) rename src/{rdsn/src => }/utils/test/join_point_test.cpp (100%) rename src/{rdsn/src => }/utils/test/json_helper_test.cpp (100%) rename src/{rdsn/src => }/utils/test/latency_tracer_test.cpp (100%) rename src/{rdsn/src => }/utils/test/lock.std.cpp (100%) rename src/{rdsn/src => }/utils/test/logger.cpp (100%) rename src/{rdsn/src => }/utils/test/logging.cpp (100%) rename src/{rdsn/src => }/utils/test/long_adder_test.cpp (100%) rename src/{rdsn/src => }/utils/test/main.cpp (100%) rename src/{rdsn/src => }/utils/test/memutil_test.cpp (100%) rename src/{rdsn/src => }/utils/test/metrics_test.cpp (100%) rename src/{rdsn/src => }/utils/test/nth_element_bench/CMakeLists.txt (100%) rename src/{rdsn/src => }/utils/test/nth_element_bench/nth_element_bench.cpp (100%) rename src/{rdsn/src => }/utils/test/nth_element_test.cpp (100%) rename src/{rdsn/src => }/utils/test/nth_element_utils.h (100%) rename src/{rdsn/src => }/utils/test/output_utils_test.cpp (100%) rename src/{rdsn/src => }/utils/test/percentile_utils.h (100%) rename src/{rdsn/src => }/utils/test/priority_queue.cpp (100%) rename src/{rdsn/src => }/utils/test/rand_test.cpp (100%) rename src/{rdsn/src => }/utils/test/run.sh (100%) rename src/{rdsn/src => }/utils/test/sema.cpp (100%) rename src/{rdsn/src => }/utils/test/smart_pointers_test.cpp (100%) rename src/{rdsn/src => }/utils/test/string_conv_test.cpp (100%) rename src/{rdsn/src => }/utils/test/string_view_test.cpp (100%) rename src/{rdsn/src => }/utils/test/time_utils_test.cpp (100%) rename src/{rdsn/src => }/utils/test/token_bucket_throttling_controller_test.cpp (100%) rename src/{rdsn/src => }/utils/test/token_buckets_test.cpp (100%) rename src/{rdsn/src => }/utils/test/utils.cpp (100%) rename src/{rdsn/src => }/utils/thread_access_checker.cpp (100%) rename src/{rdsn/src => }/utils/thread_access_checker.h (100%) rename src/{rdsn/src => }/utils/threadpool_code.h (100%) rename src/{rdsn/src => }/utils/threadpool_spec.h (100%) rename src/{rdsn/src => }/utils/throttling_controller.cpp (100%) rename src/{rdsn/src => }/utils/throttling_controller.h (100%) rename src/{rdsn/src => }/utils/time_utils.cpp (100%) rename src/{rdsn/src => }/utils/time_utils.h (100%) rename src/{rdsn/src => }/utils/timer.h (100%) rename src/{rdsn/src => }/utils/token_bucket_throttling_controller.cpp (100%) rename src/{rdsn/src => }/utils/token_bucket_throttling_controller.h (100%) rename src/{rdsn/src => }/utils/token_buckets.cpp (100%) rename src/{rdsn/src => }/utils/token_buckets.h (100%) rename src/{rdsn/src => }/utils/uniq_timestamp_us.h (100%) rename src/{rdsn/src => }/utils/utils.cpp (100%) rename src/{rdsn/src => }/utils/utils.h (100%) rename src/{rdsn/src => }/utils/work_queue.h (100%) rename src/{rdsn/src => }/utils/zlock_provider.h (100%) rename src/{rdsn/src => }/utils/zlocks.h (100%) rename src/{rdsn/src => }/zookeeper/CMakeLists.txt (100%) rename src/{rdsn/src => }/zookeeper/distributed_lock_service_zookeeper.cpp (100%) rename src/{rdsn/src => }/zookeeper/distributed_lock_service_zookeeper.h (100%) rename src/{rdsn/src => }/zookeeper/lock_struct.cpp (100%) rename src/{rdsn/src => }/zookeeper/lock_struct.h (100%) rename src/{rdsn/src => }/zookeeper/lock_types.h (100%) rename src/{rdsn/src => }/zookeeper/test/CMakeLists.txt (100%) rename src/{rdsn/src => }/zookeeper/test/clear.sh (100%) rename src/{rdsn/src => }/zookeeper/test/config-test.ini (100%) rename src/{rdsn/src => }/zookeeper/test/distributed_lock_zookeeper.cpp (100%) rename src/{rdsn/src => }/zookeeper/test/main.cpp (100%) rename src/{rdsn/src => }/zookeeper/test/run.sh (100%) rename src/{rdsn/src => }/zookeeper/zookeeper_error.cpp (100%) rename src/{rdsn/src => }/zookeeper/zookeeper_error.h (100%) rename src/{rdsn/src => }/zookeeper/zookeeper_session.cpp (100%) rename src/{rdsn/src => }/zookeeper/zookeeper_session.h (100%) rename src/{rdsn/src => }/zookeeper/zookeeper_session_mgr.cpp (100%) rename src/{rdsn/src => }/zookeeper/zookeeper_session_mgr.h (100%) diff --git a/.gitignore b/.gitignore index e75d1ad43b..3fbead679f 100644 --- a/.gitignore +++ b/.gitignore @@ -18,8 +18,8 @@ src/.matchfile src/base/rrdb_types.cpp src/include/rrdb/rrdb_types.h -src/rdsn/src/common/serialization_helper/dsn.layer2_types.h -src/rdsn/src/runtime/dsn.layer2_types.cpp +src/common/serialization_helper/dsn.layer2_types.h +src/runtime/dsn.layer2_types.cpp src/runtime src/*builder diff --git a/.licenserc.yaml b/.licenserc.yaml index 3c4685781d..4704ac7ab3 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -43,52 +43,52 @@ header: - 'nodejs-client/src/dsn/*.js' - '**/.npmigonre' # Copyright (c) Facebook, Inc - - 'src/rdsn/src/utils/TokenBucket.h' - - 'src/rdsn/src/utils/test/TokenBucketTest.cpp' - - 'src/rdsn/src/utils/test/TokenBucketTest.h' + - 'src/utils/TokenBucket.h' + - 'src/utils/test/TokenBucketTest.cpp' + - 'src/utils/test/TokenBucketTest.h' # https://github.com/preshing/cpp11-on-multicore/blob/master/LICENSE - - 'src/rdsn/src/utils/hpc_locks/autoresetevent.h' - - 'src/rdsn/src/utils/hpc_locks/autoreseteventcondvar.h' - - 'src/rdsn/src/utils/hpc_locks/benaphore.h' - - 'src/rdsn/src/utils/hpc_locks/bitfield.h' - - 'src/rdsn/src/utils/hpc_locks/readme.txt' - - 'src/rdsn/src/utils/hpc_locks/rwlock.h' - - 'src/rdsn/src/utils/hpc_locks/sema.h' + - 'src/utils/hpc_locks/autoresetevent.h' + - 'src/utils/hpc_locks/autoreseteventcondvar.h' + - 'src/utils/hpc_locks/benaphore.h' + - 'src/utils/hpc_locks/bitfield.h' + - 'src/utils/hpc_locks/readme.txt' + - 'src/utils/hpc_locks/rwlock.h' + - 'src/utils/hpc_locks/sema.h' # Copyright (c) xxxx The Chromium Authors - - 'src/rdsn/src/utils/safe_strerror_posix.h' - - 'src/rdsn/src/runtime/build_config.h' - - 'src/rdsn/src/utils/test/autoref_ptr_test.cpp' - - 'src/rdsn/src/utils/safe_strerror_posix.cpp' + - 'src/utils/safe_strerror_posix.h' + - 'src/runtime/build_config.h' + - 'src/utils/test/autoref_ptr_test.cpp' + - 'src/utils/safe_strerror_posix.cpp' # Copyright 2017 The Abseil Authors - - 'src/rdsn/src/utils/absl/base/internal/invoke.h' - - 'src/rdsn/src/utils/absl/utility/utility.h' - - 'src/rdsn/src/utils/smart_pointers.h' - - 'src/rdsn/src/utils/string_view.h' - - 'src/rdsn/src/utils/test/memutil_test.cpp' - - 'src/rdsn/src/utils/test/string_view_test.cpp' - - 'src/rdsn/src/utils/test/smart_pointers_test.cpp' - - 'src/rdsn/src/utils/memutil.h' - - 'src/rdsn/src/utils/string_view.cpp' + - 'src/utils/absl/base/internal/invoke.h' + - 'src/utils/absl/utility/utility.h' + - 'src/utils/smart_pointers.h' + - 'src/utils/string_view.h' + - 'src/utils/test/memutil_test.cpp' + - 'src/utils/test/string_view_test.cpp' + - 'src/utils/test/smart_pointers_test.cpp' + - 'src/utils/memutil.h' + - 'src/utils/string_view.cpp' # Copyright (c) 2010-2011, Rob Jansen - 'cmake_modules/FindRT.cmake' - 'cmake_modules/FindDL.cmake' # Copyright (c) 2017 Guillaume Papin - 'scripts/run-clang-format.py' # need manual fix - - 'src/rdsn/src/failure_detector/test/gtest.filter' - - 'src/rdsn/src/meta/test/meta_state/gtest.filter' - - 'src/rdsn/src/meta/test/suite1' - - 'src/rdsn/src/meta/test/suite2' - - 'src/rdsn/src/nfs/test/nfs_test_file1' - - 'src/rdsn/src/nfs/test/nfs_test_file2' - - 'src/rdsn/src/runtime/test/gtest.filter' + - 'src/failure_detector/test/gtest.filter' + - 'src/meta/test/meta_state/gtest.filter' + - 'src/meta/test/suite1' + - 'src/meta/test/suite2' + - 'src/nfs/test/nfs_test_file1' + - 'src/nfs/test/nfs_test_file2' + - 'src/runtime/test/gtest.filter' - 'thirdparty/fix_fds_for_macos.patch' - 'thirdparty/fix_jemalloc_for_m1_on_macos.patch' - 'thirdparty/fix_libevent_for_macos.patch' - 'thirdparty/fix_s2_for_aarch64.patch' - 'thirdparty/fix_thrift_for_cpp11.patch' # should be empty, or ignore all comment lines - - 'src/rdsn/src/utils/test/config-empty.ini' + - 'src/utils/test/config-empty.ini' # The MIT License (MIT), Copyright (c) 2015 Microsoft Corporation - 'cmake_modules/BaseFunctions.cmake' - 'docs/rdsn-README.md' @@ -96,564 +96,564 @@ header: - 'idl/dsn.thrift' - 'scripts/compile_thrift.py' - 'scripts/learn_stat.py' - - 'src/rdsn/src/common/api_common.h' - - 'src/rdsn/src/runtime/api_layer1.h' - - 'src/rdsn/src/runtime/api_task.h' - - 'src/rdsn/src/utils/api_utilities.h' - - 'src/rdsn/src/runtime/app_model.h' - - 'src/rdsn/src/common/json_helper.h' - - 'src/rdsn/src/runtime/rpc/rpc_stream.h' - - 'src/rdsn/src/runtime/rpc/serialization.h' - - 'src/rdsn/src/common/serialization_helper/dsn.layer2_types.h' - - 'src/rdsn/src/common/serialization_helper/dsn_types.h' - - 'src/rdsn/src/common/serialization_helper/thrift_helper.h' - - 'src/rdsn/src/runtime/serverlet.h' - - 'src/rdsn/src/runtime/service_app.h' - - 'src/rdsn/src/utils/distributed_lock_service.h' - - 'src/rdsn/src/failure_detector/failure_detector.h' - - 'src/rdsn/src/failure_detector/fd.client.h' - - 'src/rdsn/src/failure_detector/fd.code.definition.h' - - 'src/rdsn/src/failure_detector/fd.server.h' - - 'src/rdsn/src/failure_detector/failure_detector_multimaster.h' - - 'src/rdsn/src/meta/meta_state_service.h' - - 'src/rdsn/src/nfs/nfs_node.h' - - 'src/rdsn/src/meta/meta_service_app.h' - - 'src/rdsn/src/tools/mutation_log_tool.h' - - 'src/rdsn/src/client/partition_resolver.h' - - 'src/rdsn/src/replica/replica_base.h' - - 'src/rdsn/src/common/replica_envs.h' - - 'src/rdsn/src/replica/replica_test_utils.h' - - 'src/rdsn/src/common/replication.codes.h' - - 'src/rdsn/src/replica/replication_app_base.h' - - 'src/rdsn/src/client/replication_ddl_client.h' - - 'src/rdsn/src/common/replication_enums.h' - - 'src/rdsn/src/common/replication_other_types.h' - - 'src/rdsn/src/replica/replication_service_app.h' - - 'src/rdsn/src/common/storage_serverlet.h' - - 'src/rdsn/src/perf_counter/perf_counter.h' - - 'src/rdsn/src/perf_counter/perf_counter_wrapper.h' - - 'src/rdsn/src/perf_counter/perf_counters.h' - - 'src/rdsn/src/aio/aio_task.h' - - 'src/rdsn/src/runtime/task/async_calls.h' - - 'src/rdsn/src/utils/command_manager.h' - - 'src/rdsn/src/runtime/env_provider.h' - - 'src/rdsn/src/aio/file_io.h' - - 'src/rdsn/src/runtime/task/future_types.h' - - 'src/rdsn/src/runtime/global_config.h' - - 'src/rdsn/src/common/gpid.h' - - 'src/rdsn/src/runtime/rpc/group_address.h' - - 'src/rdsn/src/utils/logging_provider.h' - - 'src/rdsn/src/runtime/rpc/message_parser.h' - - 'src/rdsn/src/runtime/rpc/network.h' - - 'src/rdsn/src/utils/rpc_address.h' - - 'src/rdsn/src/runtime/rpc/rpc_message.h' - - 'src/rdsn/src/runtime/task/task.h' - - 'src/rdsn/src/runtime/task/task_code.h' - - 'src/rdsn/src/runtime/task/task_queue.h' - - 'src/rdsn/src/runtime/task/task_spec.h' - - 'src/rdsn/src/runtime/task/task_tracker.h' - - 'src/rdsn/src/runtime/task/task_worker.h' - - 'src/rdsn/src/utils/thread_access_checker.h' - - 'src/rdsn/src/utils/threadpool_code.h' - - 'src/rdsn/src/utils/threadpool_spec.h' - - 'src/rdsn/src/runtime/task/timer_service.h' - - 'src/rdsn/src/utils/uniq_timestamp_us.h' - - 'src/rdsn/src/utils/zlocks.h' - - 'src/rdsn/src/runtime/nativerun.h' - - 'src/rdsn/src/runtime/node_scoper.h' - - 'src/rdsn/src/runtime/providers.common.h' - - 'src/rdsn/src/runtime/simulator.h' - - 'src/rdsn/src/runtime/tool_api.h' - - 'src/rdsn/src/runtime/fault_injector.h' - - 'src/rdsn/src/runtime/profiler.h' - - 'src/rdsn/src/runtime/tracer.h' - - 'src/rdsn/src/utils/apply.h' - - 'src/rdsn/src/utils/autoref_ptr.h' - - 'src/rdsn/src/utils/binary_reader.h' - - 'src/rdsn/src/utils/binary_writer.h' - - 'src/rdsn/src/utils/blob.h' - - 'src/rdsn/src/utils/chrono_literals.h' - - 'src/rdsn/src/utils/config_api.h' - - 'src/rdsn/src/utils/config_helper.h' - - 'src/rdsn/src/utils/configuration.h' - - 'src/rdsn/src/utils/crc.h' - - 'src/rdsn/src/utils/customizable_id.h' - - 'src/rdsn/src/utils/dlib.h' - - 'src/rdsn/src/utils/enum_helper.h' - - 'src/rdsn/src/utils/error_code.h' - - 'src/rdsn/src/utils/errors.h' - - 'src/rdsn/src/utils/exp_delay.h' - - 'src/rdsn/src/utils/extensible_object.h' - - 'src/rdsn/src/utils/factory_store.h' - - 'src/rdsn/src/utils/filesystem.h' - - 'src/rdsn/src/utils/fixed_size_buffer_pool.h' - - 'src/rdsn/src/utils/function_traits.h' - - 'src/rdsn/src/utils/join_point.h' - - 'src/rdsn/src/utils/link.h' - - 'src/rdsn/src/utils/optional.h' - - 'src/rdsn/src/utils/ports.h' - - 'src/rdsn/src/utils/priority_queue.h' - - 'src/rdsn/src/utils/singleton_store.h' - - 'src/rdsn/src/utils/strings.h' - - 'src/rdsn/src/utils/synchronize.h' - - 'src/rdsn/src/utils/utils.h' - - 'src/rdsn/src/utils/work_queue.h' - - 'src/rdsn/src/utils/time_utils.h' - - 'src/rdsn/src/aio/CMakeLists.txt' - - 'src/rdsn/src/aio/aio_provider.cpp' - - 'src/rdsn/src/aio/aio_provider.h' - - 'src/rdsn/src/aio/disk_engine.cpp' - - 'src/rdsn/src/aio/disk_engine.h' - - 'src/rdsn/src/aio/file_io.cpp' - - 'src/rdsn/src/aio/native_linux_aio_provider.cpp' - - 'src/rdsn/src/aio/native_linux_aio_provider.h' - - 'src/rdsn/src/aio/test/CMakeLists.txt' - - 'src/rdsn/src/aio/test/aio.cpp' - - 'src/rdsn/src/aio/test/clear.sh' - - 'src/rdsn/src/aio/test/config.ini' - - 'src/rdsn/src/aio/test/copy_source.txt' - - 'src/rdsn/src/aio/test/run.sh' - - 'src/rdsn/src/block_service/test/config-test.ini' - - 'src/rdsn/src/client/CMakeLists.txt' - - 'src/rdsn/src/client/partition_resolver.cpp' - - 'src/rdsn/src/client/partition_resolver_manager.cpp' - - 'src/rdsn/src/client/partition_resolver_manager.h' - - 'src/rdsn/src/client/partition_resolver_simple.cpp' - - 'src/rdsn/src/client/partition_resolver_simple.h' - - 'src/rdsn/src/client/replication_ddl_client.cpp' - - 'src/rdsn/src/common/CMakeLists.txt' - - 'src/rdsn/src/common/consensus.thrift' - - 'src/rdsn/src/common/fs_manager.cpp' - - 'src/rdsn/src/common/meta_admin.thrift' - - 'src/rdsn/src/common/metadata.thrift' - - 'src/rdsn/src/common/replica_admin.thrift' - - 'src/rdsn/src/common/replication_common.cpp' - - 'src/rdsn/src/common/replication_common.h' - - 'src/rdsn/src/common/test/CMakeLists.txt' - - 'src/rdsn/src/common/test/config-test.ini' - - 'src/rdsn/src/common/test/duplication_common_test.cpp' - - 'src/rdsn/src/common/test/main.cpp' - - 'src/rdsn/src/common/test/run.sh' - - 'src/rdsn/src/failure_detector/CMakeLists.txt' - - 'src/rdsn/src/failure_detector/failure_detector.cpp' - - 'src/rdsn/src/failure_detector/failure_detector_multimaster.cpp' - - 'src/rdsn/src/failure_detector/fd.thrift' - - 'src/rdsn/src/failure_detector/test/CMakeLists.txt' - - 'src/rdsn/src/failure_detector/test/clear.sh' - - 'src/rdsn/src/failure_detector/test/config-test.ini' - - 'src/rdsn/src/failure_detector/test/config-whitelist-test-failed.ini' - - 'src/rdsn/src/failure_detector/test/config-whitelist-test.ini' - - 'src/rdsn/src/failure_detector/test/failure_detector.cpp' - - 'src/rdsn/src/failure_detector/test/main.cpp' - - 'src/rdsn/src/failure_detector/test/run.sh' - - 'src/rdsn/src/http/http_message_parser.cpp' - - 'src/rdsn/src/http/http_message_parser.h' - - 'src/rdsn/src/http/test/run.sh' - - 'src/rdsn/src/meta/CMakeLists.txt' - - 'src/rdsn/src/meta/distributed_lock_service_simple.cpp' - - 'src/rdsn/src/meta/distributed_lock_service_simple.h' - - 'src/rdsn/src/meta/dump_file.h' - - 'src/rdsn/src/meta/greedy_load_balancer.cpp' - - 'src/rdsn/src/meta/greedy_load_balancer.h' - - 'src/rdsn/src/meta/meta_data.cpp' - - 'src/rdsn/src/meta/meta_data.h' - - 'src/rdsn/src/meta/meta_options.cpp' - - 'src/rdsn/src/meta/meta_options.h' - - 'src/rdsn/src/meta/meta_server_failure_detector.cpp' - - 'src/rdsn/src/meta/meta_server_failure_detector.h' - - 'src/rdsn/src/meta/meta_service.cpp' - - 'src/rdsn/src/meta/meta_service.h' - - 'src/rdsn/src/meta/meta_service_app.cpp' - - 'src/rdsn/src/meta/meta_state_service_simple.cpp' - - 'src/rdsn/src/meta/meta_state_service_simple.h' - - 'src/rdsn/src/meta/meta_state_service_zookeeper.cpp' - - 'src/rdsn/src/meta/meta_state_service_zookeeper.h' - - 'src/rdsn/src/meta/server_load_balancer.cpp' - - 'src/rdsn/src/meta/server_load_balancer.h' - - 'src/rdsn/src/meta/server_state.cpp' - - 'src/rdsn/src/meta/server_state.h' - - 'src/rdsn/src/meta/test/CMakeLists.txt' - - 'src/rdsn/src/meta/test/balancer_simulator/CMakeLists.txt' - - 'src/rdsn/src/meta/test/balancer_simulator/balancer_simulator.cpp' - - 'src/rdsn/src/meta/test/balancer_validator.cpp' - - 'src/rdsn/src/meta/test/clear.sh' - - 'src/rdsn/src/meta/test/config-test.ini' - - 'src/rdsn/src/meta/test/dump_file.cpp' - - 'src/rdsn/src/meta/test/duplication_info_test.cpp' - - 'src/rdsn/src/meta/test/json_compacity.cpp' - - 'src/rdsn/src/meta/test/meta_app_envs_test.cpp' - - 'src/rdsn/src/meta/test/meta_data.cpp' - - 'src/rdsn/src/meta/test/meta_duplication_service_test.cpp' - - 'src/rdsn/src/meta/test/meta_partition_guardian_test.cpp' - - 'src/rdsn/src/meta/test/meta_service_test_app.h' - - 'src/rdsn/src/meta/test/meta_split_service_test.cpp' - - 'src/rdsn/src/meta/test/meta_state/CMakeLists.txt' - - 'src/rdsn/src/meta/test/meta_state/clear.sh' - - 'src/rdsn/src/meta/test/meta_state/config-test.ini' - - 'src/rdsn/src/meta/test/meta_state/main.cpp' - - 'src/rdsn/src/meta/test/meta_state/meta_state_service.cpp' - - 'src/rdsn/src/meta/test/meta_state/run.sh' - - 'src/rdsn/src/meta/test/meta_state_service_utils_test.cpp' - - 'src/rdsn/src/meta/test/misc/misc.cpp' - - 'src/rdsn/src/meta/test/misc/misc.h' - - 'src/rdsn/src/meta/test/run.sh' - - 'src/rdsn/src/meta/test/server_state_test.cpp' - - 'src/rdsn/src/meta/test/state_sync_test.cpp' - - 'src/rdsn/src/meta/test/update_configuration_test.cpp' - - 'src/rdsn/src/nfs/CMakeLists.txt' - - 'src/rdsn/src/nfs/nfs.thrift' - - 'src/rdsn/src/nfs/nfs_client_impl.cpp' - - 'src/rdsn/src/nfs/nfs_client_impl.h' - - 'src/rdsn/src/nfs/nfs_code_definition.h' - - 'src/rdsn/src/nfs/nfs_node.cpp' - - 'src/rdsn/src/nfs/nfs_node_impl.cpp' - - 'src/rdsn/src/nfs/nfs_node_simple.h' - - 'src/rdsn/src/nfs/nfs_server_impl.cpp' - - 'src/rdsn/src/nfs/nfs_server_impl.h' - - 'src/rdsn/src/nfs/test/CMakeLists.txt' - - 'src/rdsn/src/nfs/test/clear.sh' - - 'src/rdsn/src/nfs/test/config.ini' - - 'src/rdsn/src/nfs/test/main.cpp' - - 'src/rdsn/src/nfs/test/run.sh' - - 'src/rdsn/src/perf_counter/CMakeLists.txt' - - 'src/rdsn/src/perf_counter/perf_counter.cpp' - - 'src/rdsn/src/perf_counter/perf_counters.cpp' - - 'src/rdsn/src/perf_counter/test/CMakeLists.txt' - - 'src/rdsn/src/perf_counter/test/clear.sh' - - 'src/rdsn/src/perf_counter/test/perf_counter_test.cpp' - - 'src/rdsn/src/perf_counter/test/perf_counters_test.cpp' - - 'src/rdsn/src/perf_counter/test/run.sh' - - 'src/rdsn/src/remote_cmd/CMakeLists.txt' - - 'src/rdsn/src/remote_cmd/command.thrift' - - 'src/rdsn/src/replica/CMakeLists.txt' - - 'src/rdsn/src/replica/backup/test/config-test.ini' - - 'src/rdsn/src/replica/backup/test/run.sh' - - 'src/rdsn/src/replica/bulk_load/test/config-test.ini' - - 'src/rdsn/src/replica/bulk_load/test/run.sh' - - 'src/rdsn/src/replica/duplication/test/config-test.ini' - - 'src/rdsn/src/replica/duplication/test/run.sh' - - 'src/rdsn/src/replica/log_file.cpp' - - 'src/rdsn/src/replica/log_file.h' - - 'src/rdsn/src/replica/log_file_stream.h' - - 'src/rdsn/src/replica/mutation.cpp' - - 'src/rdsn/src/replica/mutation.h' - - 'src/rdsn/src/replica/mutation_cache.cpp' - - 'src/rdsn/src/replica/mutation_cache.h' - - 'src/rdsn/src/replica/mutation_log.cpp' - - 'src/rdsn/src/replica/mutation_log.h' - - 'src/rdsn/src/replica/mutation_log_utils.cpp' - - 'src/rdsn/src/replica/mutation_log_utils.h' - - 'src/rdsn/src/replica/prepare_list.cpp' - - 'src/rdsn/src/replica/prepare_list.h' - - 'src/rdsn/src/replica/replica.cpp' - - 'src/rdsn/src/replica/replica.h' - - 'src/rdsn/src/replica/replica_2pc.cpp' - - 'src/rdsn/src/replica/replica_check.cpp' - - 'src/rdsn/src/replica/replica_chkpt.cpp' - - 'src/rdsn/src/replica/replica_config.cpp' - - 'src/rdsn/src/replica/replica_context.cpp' - - 'src/rdsn/src/replica/replica_context.h' - - 'src/rdsn/src/replica/replica_failover.cpp' - - 'src/rdsn/src/replica/replica_init.cpp' - - 'src/rdsn/src/replica/replica_learn.cpp' - - 'src/rdsn/src/replica/replica_stub.cpp' - - 'src/rdsn/src/replica/replica_stub.h' - - 'src/rdsn/src/replica/replica_test_utils.cpp' - - 'src/rdsn/src/replica/replication_app_base.cpp' - - 'src/rdsn/src/replica/replication_service_app.cpp' - - 'src/rdsn/src/replica/split/test/config-test.ini' - - 'src/rdsn/src/replica/split/test/run.sh' - - 'src/rdsn/src/replica/storage/CMakeLists.txt' - - 'src/rdsn/src/replica/storage/simple_kv/CMakeLists.txt' - - 'src/rdsn/src/replica/storage/simple_kv/clear.sh' - - 'src/rdsn/src/replica/storage/simple_kv/config.ini' - - 'src/rdsn/src/replica/storage/simple_kv/run.sh' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.app.example.h' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.client.h' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.code.definition.h' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.main.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.server.h' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.server.impl.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.server.impl.h' - - 'src/rdsn/src/replica/storage/simple_kv/simple_kv.thrift' - - 'src/rdsn/src/replica/storage/simple_kv/test/CMakeLists.txt' - - 'src/rdsn/src/replica/storage/simple_kv/test/README.md' - - 'src/rdsn/src/replica/storage/simple_kv/test/addcase.sh' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-000.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-000.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-001.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-001.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-002.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-002.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-003.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-003.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-004.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-004.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-005.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-005.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-006.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-006.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-100.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-100.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-101.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-101.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-102.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-102.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-103.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-103.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-104.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-104.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-105.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-105.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-106.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-106.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-107.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-107.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-108.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-108.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-109.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-109.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-200.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-200.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-201.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-201.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-202-0.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-202-0.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-202-1.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-202-1.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-203-0.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-203-0.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-204.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-204.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-205.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-205.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-206.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-206.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-207.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-207.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-208.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-208.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-209.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-209.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-210.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-210.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-211.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-211.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-212.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-212.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-213.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-213.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-214.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-214.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-215.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-215.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-216.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-216.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-300-0.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-300-0.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-300-1.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-300-1.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-300-2.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-300-2.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-301.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-301.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-302.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-302.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-303.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-303.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-304.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-304.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-305.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-305.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-306.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-306.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-307.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-307.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-400.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-400.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-401.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-401.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-402.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-402.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-600.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-600.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-601.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-601.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-602.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-602.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-603.act' - - 'src/rdsn/src/replica/storage/simple_kv/test/case-603.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/case.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/test/case.h' - - 'src/rdsn/src/replica/storage/simple_kv/test/checker.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/test/checker.h' - - 'src/rdsn/src/replica/storage/simple_kv/test/clear.sh' - - 'src/rdsn/src/replica/storage/simple_kv/test/client.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/test/client.h' - - 'src/rdsn/src/replica/storage/simple_kv/test/common.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/test/common.h' - - 'src/rdsn/src/replica/storage/simple_kv/test/config.ini' - - 'src/rdsn/src/replica/storage/simple_kv/test/injector.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/test/injector.h' - - 'src/rdsn/src/replica/storage/simple_kv/test/run.sh' - - 'src/rdsn/src/replica/storage/simple_kv/test/simple_kv.main.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/test/simple_kv.server.impl.cpp' - - 'src/rdsn/src/replica/storage/simple_kv/test/simple_kv.server.impl.h' - - 'src/rdsn/src/replica/test/CMakeLists.txt' - - 'src/rdsn/src/replica/test/config-test.ini' - - 'src/rdsn/src/replica/test/mock_utils.h' - - 'src/rdsn/src/replica/test/mutation_log_learn_test.cpp' - - 'src/rdsn/src/replica/test/mutation_log_test.cpp' - - 'src/rdsn/src/replica/test/replica_test_base.h' - - 'src/rdsn/src/replica/test/replication_service_test_app.h' - - 'src/rdsn/src/replica/test/run.sh' - - 'src/rdsn/src/runtime/CMakeLists.txt' - - 'src/rdsn/src/runtime/core_main.cpp' - - 'src/rdsn/src/runtime/dsn.layer2_types.cpp' - - 'src/rdsn/src/runtime/env.sim.cpp' - - 'src/rdsn/src/runtime/env.sim.h' - - 'src/rdsn/src/runtime/fault_injector.cpp' - - 'src/rdsn/src/runtime/global_config.cpp' - - 'src/rdsn/src/runtime/message_utils.cpp' - - 'src/rdsn/src/runtime/nativerun.cpp' - - 'src/rdsn/src/runtime/profiler.cpp' - - 'src/rdsn/src/runtime/profiler_header.h' - - 'src/rdsn/src/runtime/providers.common.cpp' - - 'src/rdsn/src/runtime/rpc/CMakeLists.txt' - - 'src/rdsn/src/runtime/rpc/asio_net_provider.cpp' - - 'src/rdsn/src/runtime/rpc/asio_net_provider.h' - - 'src/rdsn/src/runtime/rpc/asio_rpc_session.cpp' - - 'src/rdsn/src/runtime/rpc/asio_rpc_session.h' - - 'src/rdsn/src/runtime/rpc/dsn_message_parser.cpp' - - 'src/rdsn/src/runtime/rpc/dsn_message_parser.h' - - 'src/rdsn/src/runtime/rpc/message_parser.cpp' - - 'src/rdsn/src/runtime/rpc/message_parser_manager.h' - - 'src/rdsn/src/runtime/rpc/network.cpp' - - 'src/rdsn/src/runtime/rpc/network.sim.cpp' - - 'src/rdsn/src/runtime/rpc/network.sim.h' - - 'src/rdsn/src/runtime/rpc/raw_message_parser.cpp' - - 'src/rdsn/src/runtime/rpc/raw_message_parser.h' - - 'src/rdsn/src/runtime/rpc/rpc_engine.cpp' - - 'src/rdsn/src/runtime/rpc/rpc_engine.h' - - 'src/rdsn/src/runtime/rpc/rpc_message.cpp' - - 'src/rdsn/src/runtime/rpc/rpc_task.cpp' - - 'src/rdsn/src/runtime/rpc/thrift_message_parser.cpp' - - 'src/rdsn/src/runtime/rpc/thrift_message_parser.h' - - 'src/rdsn/src/runtime/scheduler.cpp' - - 'src/rdsn/src/runtime/scheduler.h' - - 'src/rdsn/src/runtime/service_api_c.cpp' - - 'src/rdsn/src/runtime/service_engine.cpp' - - 'src/rdsn/src/runtime/service_engine.h' - - 'src/rdsn/src/runtime/simulator.cpp' - - 'src/rdsn/src/runtime/task/CMakeLists.txt' - - 'src/rdsn/src/runtime/task/hpc_task_queue.cpp' - - 'src/rdsn/src/runtime/task/hpc_task_queue.h' - - 'src/rdsn/src/runtime/task/simple_task_queue.cpp' - - 'src/rdsn/src/runtime/task/simple_task_queue.h' - - 'src/rdsn/src/runtime/task/task.cpp' - - 'src/rdsn/src/runtime/task/task_code.cpp' - - 'src/rdsn/src/runtime/task/task_engine.cpp' - - 'src/rdsn/src/runtime/task/task_engine.h' - - 'src/rdsn/src/runtime/task/task_engine.sim.cpp' - - 'src/rdsn/src/runtime/task/task_engine.sim.h' - - 'src/rdsn/src/runtime/task/task_queue.cpp' - - 'src/rdsn/src/runtime/task/task_spec.cpp' - - 'src/rdsn/src/runtime/task/task_tracker.cpp' - - 'src/rdsn/src/runtime/task/task_worker.cpp' - - 'src/rdsn/src/runtime/test/CMakeLists.txt' - - 'src/rdsn/src/runtime/test/async_call.cpp' - - 'src/rdsn/src/runtime/test/clear.sh' - - 'src/rdsn/src/runtime/test/command.txt' - - 'src/rdsn/src/runtime/test/config-test-corrupt-message.ini' - - 'src/rdsn/src/runtime/test/config-test-sim.ini' - - 'src/rdsn/src/runtime/test/config-test.ini' - - 'src/rdsn/src/runtime/test/corrupt_message.cpp' - - 'src/rdsn/src/runtime/test/lpc.cpp' - - 'src/rdsn/src/runtime/test/main.cpp' - - 'src/rdsn/src/runtime/test/message_utils_test.cpp' - - 'src/rdsn/src/runtime/test/netprovider.cpp' - - 'src/rdsn/src/runtime/test/pipeline_test.cpp' - - 'src/rdsn/src/runtime/test/rpc.cpp' - - 'src/rdsn/src/runtime/test/rpc_holder_test.cpp' - - 'src/rdsn/src/runtime/test/rpc_message.cpp' - - 'src/rdsn/src/runtime/test/run.sh' - - 'src/rdsn/src/runtime/test/service_api_c.cpp' - - 'src/rdsn/src/runtime/test/sim_lock.cpp' - - 'src/rdsn/src/runtime/test/task_engine.cpp' - - 'src/rdsn/src/runtime/test/test_utils.h' - - 'src/rdsn/src/runtime/threadpool_code.cpp' - - 'src/rdsn/src/runtime/tool_api.cpp' - - 'src/rdsn/src/runtime/tracer.cpp' - - 'src/rdsn/src/runtime/zlocks.cpp' - - 'src/rdsn/src/tools/CMakeLists.txt' - - 'src/rdsn/src/tools/mutation_log_tool.cpp' - - 'src/rdsn/src/utils/CMakeLists.txt' - - 'src/rdsn/src/utils/binary_reader.cpp' - - 'src/rdsn/src/utils/binary_writer.cpp' - - 'src/rdsn/src/utils/command_manager.cpp' - - 'src/rdsn/src/utils/config_api.cpp' - - 'src/rdsn/src/utils/configuration.cpp' - - 'src/rdsn/src/utils/coredump.h' - - 'src/rdsn/src/utils/coredump.posix.cpp' - - 'src/rdsn/src/utils/crc.cpp' - - 'src/rdsn/src/utils/error_code.cpp' - - 'src/rdsn/src/utils/filesystem.cpp' - - 'src/rdsn/src/utils/gpid.cpp' - - 'src/rdsn/src/utils/lockp.std.h' - - 'src/rdsn/src/utils/logging.cpp' - - 'src/rdsn/src/utils/rpc_address.cpp' - - 'src/rdsn/src/utils/shared_io_service.h' - - 'src/rdsn/src/utils/simple_logger.cpp' - - 'src/rdsn/src/utils/simple_logger.h' - - 'src/rdsn/src/utils/strings.cpp' - - 'src/rdsn/src/utils/test/CMakeLists.txt' - - 'src/rdsn/src/utils/test/address.cpp' - - 'src/rdsn/src/utils/test/clear.sh' - - 'src/rdsn/src/utils/test/command_manager.cpp' - - 'src/rdsn/src/utils/test/config-bad-section.ini' - - 'src/rdsn/src/utils/test/config-dup-key.ini' - - 'src/rdsn/src/utils/test/config-dup-section.ini' - - 'src/rdsn/src/utils/test/config-no-key.ini' - - 'src/rdsn/src/utils/test/config-no-section.ini' - - 'src/rdsn/src/utils/test/config-null-section.ini' - - 'src/rdsn/src/utils/test/config-sample.ini' - - 'src/rdsn/src/utils/test/config-unmatch-section.ini' - - 'src/rdsn/src/utils/test/configuration.cpp' - - 'src/rdsn/src/utils/test/env.cpp' - - 'src/rdsn/src/utils/test/file_utils.cpp' - - 'src/rdsn/src/utils/test/fmt_logging_test.cpp' - - 'src/rdsn/src/utils/test/join_point_test.cpp' - - 'src/rdsn/src/utils/test/json_helper_test.cpp' - - 'src/rdsn/src/utils/test/lock.std.cpp' - - 'src/rdsn/src/utils/test/logger.cpp' - - 'src/rdsn/src/utils/test/logging.cpp' - - 'src/rdsn/src/utils/test/output_utils_test.cpp' - - 'src/rdsn/src/utils/test/priority_queue.cpp' - - 'src/rdsn/src/utils/test/run.sh' - - 'src/rdsn/src/utils/test/sema.cpp' - - 'src/rdsn/src/utils/test/string_conv_test.cpp' - - 'src/rdsn/src/utils/test/time_utils_test.cpp' - - 'src/rdsn/src/utils/test/utils.cpp' - - 'src/rdsn/src/utils/thread_access_checker.cpp' - - 'src/rdsn/src/utils/utils.cpp' - - 'src/rdsn/src/utils/zlock_provider.h' - - 'src/rdsn/src/zookeeper/CMakeLists.txt' - - 'src/rdsn/src/zookeeper/distributed_lock_service_zookeeper.cpp' - - 'src/rdsn/src/zookeeper/distributed_lock_service_zookeeper.h' - - 'src/rdsn/src/zookeeper/lock_struct.cpp' - - 'src/rdsn/src/zookeeper/lock_struct.h' - - 'src/rdsn/src/zookeeper/lock_types.h' - - 'src/rdsn/src/zookeeper/test/CMakeLists.txt' - - 'src/rdsn/src/zookeeper/test/clear.sh' - - 'src/rdsn/src/zookeeper/test/config-test.ini' - - 'src/rdsn/src/zookeeper/test/distributed_lock_zookeeper.cpp' - - 'src/rdsn/src/zookeeper/test/main.cpp' - - 'src/rdsn/src/zookeeper/test/run.sh' - - 'src/rdsn/src/zookeeper/zookeeper_error.cpp' - - 'src/rdsn/src/zookeeper/zookeeper_error.h' - - 'src/rdsn/src/zookeeper/zookeeper_session.cpp' - - 'src/rdsn/src/zookeeper/zookeeper_session.h' - - 'src/rdsn/src/zookeeper/zookeeper_session_mgr.cpp' - - 'src/rdsn/src/zookeeper/zookeeper_session_mgr.h' + - 'src/common/api_common.h' + - 'src/runtime/api_layer1.h' + - 'src/runtime/api_task.h' + - 'src/utils/api_utilities.h' + - 'src/runtime/app_model.h' + - 'src/common/json_helper.h' + - 'src/runtime/rpc/rpc_stream.h' + - 'src/runtime/rpc/serialization.h' + - 'src/common/serialization_helper/dsn.layer2_types.h' + - 'src/common/serialization_helper/dsn_types.h' + - 'src/common/serialization_helper/thrift_helper.h' + - 'src/runtime/serverlet.h' + - 'src/runtime/service_app.h' + - 'src/utils/distributed_lock_service.h' + - 'src/failure_detector/failure_detector.h' + - 'src/failure_detector/fd.client.h' + - 'src/failure_detector/fd.code.definition.h' + - 'src/failure_detector/fd.server.h' + - 'src/failure_detector/failure_detector_multimaster.h' + - 'src/meta/meta_state_service.h' + - 'src/nfs/nfs_node.h' + - 'src/meta/meta_service_app.h' + - 'src/tools/mutation_log_tool.h' + - 'src/client/partition_resolver.h' + - 'src/replica/replica_base.h' + - 'src/common/replica_envs.h' + - 'src/replica/replica_test_utils.h' + - 'src/common/replication.codes.h' + - 'src/replica/replication_app_base.h' + - 'src/client/replication_ddl_client.h' + - 'src/common/replication_enums.h' + - 'src/common/replication_other_types.h' + - 'src/replica/replication_service_app.h' + - 'src/common/storage_serverlet.h' + - 'src/perf_counter/perf_counter.h' + - 'src/perf_counter/perf_counter_wrapper.h' + - 'src/perf_counter/perf_counters.h' + - 'src/aio/aio_task.h' + - 'src/runtime/task/async_calls.h' + - 'src/utils/command_manager.h' + - 'src/runtime/env_provider.h' + - 'src/aio/file_io.h' + - 'src/runtime/task/future_types.h' + - 'src/runtime/global_config.h' + - 'src/common/gpid.h' + - 'src/runtime/rpc/group_address.h' + - 'src/utils/logging_provider.h' + - 'src/runtime/rpc/message_parser.h' + - 'src/runtime/rpc/network.h' + - 'src/utils/rpc_address.h' + - 'src/runtime/rpc/rpc_message.h' + - 'src/runtime/task/task.h' + - 'src/runtime/task/task_code.h' + - 'src/runtime/task/task_queue.h' + - 'src/runtime/task/task_spec.h' + - 'src/runtime/task/task_tracker.h' + - 'src/runtime/task/task_worker.h' + - 'src/utils/thread_access_checker.h' + - 'src/utils/threadpool_code.h' + - 'src/utils/threadpool_spec.h' + - 'src/runtime/task/timer_service.h' + - 'src/utils/uniq_timestamp_us.h' + - 'src/utils/zlocks.h' + - 'src/runtime/nativerun.h' + - 'src/runtime/node_scoper.h' + - 'src/runtime/providers.common.h' + - 'src/runtime/simulator.h' + - 'src/runtime/tool_api.h' + - 'src/runtime/fault_injector.h' + - 'src/runtime/profiler.h' + - 'src/runtime/tracer.h' + - 'src/utils/apply.h' + - 'src/utils/autoref_ptr.h' + - 'src/utils/binary_reader.h' + - 'src/utils/binary_writer.h' + - 'src/utils/blob.h' + - 'src/utils/chrono_literals.h' + - 'src/utils/config_api.h' + - 'src/utils/config_helper.h' + - 'src/utils/configuration.h' + - 'src/utils/crc.h' + - 'src/utils/customizable_id.h' + - 'src/utils/dlib.h' + - 'src/utils/enum_helper.h' + - 'src/utils/error_code.h' + - 'src/utils/errors.h' + - 'src/utils/exp_delay.h' + - 'src/utils/extensible_object.h' + - 'src/utils/factory_store.h' + - 'src/utils/filesystem.h' + - 'src/utils/fixed_size_buffer_pool.h' + - 'src/utils/function_traits.h' + - 'src/utils/join_point.h' + - 'src/utils/link.h' + - 'src/utils/optional.h' + - 'src/utils/ports.h' + - 'src/utils/priority_queue.h' + - 'src/utils/singleton_store.h' + - 'src/utils/strings.h' + - 'src/utils/synchronize.h' + - 'src/utils/utils.h' + - 'src/utils/work_queue.h' + - 'src/utils/time_utils.h' + - 'src/aio/CMakeLists.txt' + - 'src/aio/aio_provider.cpp' + - 'src/aio/aio_provider.h' + - 'src/aio/disk_engine.cpp' + - 'src/aio/disk_engine.h' + - 'src/aio/file_io.cpp' + - 'src/aio/native_linux_aio_provider.cpp' + - 'src/aio/native_linux_aio_provider.h' + - 'src/aio/test/CMakeLists.txt' + - 'src/aio/test/aio.cpp' + - 'src/aio/test/clear.sh' + - 'src/aio/test/config.ini' + - 'src/aio/test/copy_source.txt' + - 'src/aio/test/run.sh' + - 'src/block_service/test/config-test.ini' + - 'src/client/CMakeLists.txt' + - 'src/client/partition_resolver.cpp' + - 'src/client/partition_resolver_manager.cpp' + - 'src/client/partition_resolver_manager.h' + - 'src/client/partition_resolver_simple.cpp' + - 'src/client/partition_resolver_simple.h' + - 'src/client/replication_ddl_client.cpp' + - 'src/common/CMakeLists.txt' + - 'src/common/consensus.thrift' + - 'src/common/fs_manager.cpp' + - 'src/common/meta_admin.thrift' + - 'src/common/metadata.thrift' + - 'src/common/replica_admin.thrift' + - 'src/common/replication_common.cpp' + - 'src/common/replication_common.h' + - 'src/common/test/CMakeLists.txt' + - 'src/common/test/config-test.ini' + - 'src/common/test/duplication_common_test.cpp' + - 'src/common/test/main.cpp' + - 'src/common/test/run.sh' + - 'src/failure_detector/CMakeLists.txt' + - 'src/failure_detector/failure_detector.cpp' + - 'src/failure_detector/failure_detector_multimaster.cpp' + - 'src/failure_detector/fd.thrift' + - 'src/failure_detector/test/CMakeLists.txt' + - 'src/failure_detector/test/clear.sh' + - 'src/failure_detector/test/config-test.ini' + - 'src/failure_detector/test/config-whitelist-test-failed.ini' + - 'src/failure_detector/test/config-whitelist-test.ini' + - 'src/failure_detector/test/failure_detector.cpp' + - 'src/failure_detector/test/main.cpp' + - 'src/failure_detector/test/run.sh' + - 'src/http/http_message_parser.cpp' + - 'src/http/http_message_parser.h' + - 'src/http/test/run.sh' + - 'src/meta/CMakeLists.txt' + - 'src/meta/distributed_lock_service_simple.cpp' + - 'src/meta/distributed_lock_service_simple.h' + - 'src/meta/dump_file.h' + - 'src/meta/greedy_load_balancer.cpp' + - 'src/meta/greedy_load_balancer.h' + - 'src/meta/meta_data.cpp' + - 'src/meta/meta_data.h' + - 'src/meta/meta_options.cpp' + - 'src/meta/meta_options.h' + - 'src/meta/meta_server_failure_detector.cpp' + - 'src/meta/meta_server_failure_detector.h' + - 'src/meta/meta_service.cpp' + - 'src/meta/meta_service.h' + - 'src/meta/meta_service_app.cpp' + - 'src/meta/meta_state_service_simple.cpp' + - 'src/meta/meta_state_service_simple.h' + - 'src/meta/meta_state_service_zookeeper.cpp' + - 'src/meta/meta_state_service_zookeeper.h' + - 'src/meta/server_load_balancer.cpp' + - 'src/meta/server_load_balancer.h' + - 'src/meta/server_state.cpp' + - 'src/meta/server_state.h' + - 'src/meta/test/CMakeLists.txt' + - 'src/meta/test/balancer_simulator/CMakeLists.txt' + - 'src/meta/test/balancer_simulator/balancer_simulator.cpp' + - 'src/meta/test/balancer_validator.cpp' + - 'src/meta/test/clear.sh' + - 'src/meta/test/config-test.ini' + - 'src/meta/test/dump_file.cpp' + - 'src/meta/test/duplication_info_test.cpp' + - 'src/meta/test/json_compacity.cpp' + - 'src/meta/test/meta_app_envs_test.cpp' + - 'src/meta/test/meta_data.cpp' + - 'src/meta/test/meta_duplication_service_test.cpp' + - 'src/meta/test/meta_partition_guardian_test.cpp' + - 'src/meta/test/meta_service_test_app.h' + - 'src/meta/test/meta_split_service_test.cpp' + - 'src/meta/test/meta_state/CMakeLists.txt' + - 'src/meta/test/meta_state/clear.sh' + - 'src/meta/test/meta_state/config-test.ini' + - 'src/meta/test/meta_state/main.cpp' + - 'src/meta/test/meta_state/meta_state_service.cpp' + - 'src/meta/test/meta_state/run.sh' + - 'src/meta/test/meta_state_service_utils_test.cpp' + - 'src/meta/test/misc/misc.cpp' + - 'src/meta/test/misc/misc.h' + - 'src/meta/test/run.sh' + - 'src/meta/test/server_state_test.cpp' + - 'src/meta/test/state_sync_test.cpp' + - 'src/meta/test/update_configuration_test.cpp' + - 'src/nfs/CMakeLists.txt' + - 'src/nfs/nfs.thrift' + - 'src/nfs/nfs_client_impl.cpp' + - 'src/nfs/nfs_client_impl.h' + - 'src/nfs/nfs_code_definition.h' + - 'src/nfs/nfs_node.cpp' + - 'src/nfs/nfs_node_impl.cpp' + - 'src/nfs/nfs_node_simple.h' + - 'src/nfs/nfs_server_impl.cpp' + - 'src/nfs/nfs_server_impl.h' + - 'src/nfs/test/CMakeLists.txt' + - 'src/nfs/test/clear.sh' + - 'src/nfs/test/config.ini' + - 'src/nfs/test/main.cpp' + - 'src/nfs/test/run.sh' + - 'src/perf_counter/CMakeLists.txt' + - 'src/perf_counter/perf_counter.cpp' + - 'src/perf_counter/perf_counters.cpp' + - 'src/perf_counter/test/CMakeLists.txt' + - 'src/perf_counter/test/clear.sh' + - 'src/perf_counter/test/perf_counter_test.cpp' + - 'src/perf_counter/test/perf_counters_test.cpp' + - 'src/perf_counter/test/run.sh' + - 'src/remote_cmd/CMakeLists.txt' + - 'src/remote_cmd/command.thrift' + - 'src/replica/CMakeLists.txt' + - 'src/replica/backup/test/config-test.ini' + - 'src/replica/backup/test/run.sh' + - 'src/replica/bulk_load/test/config-test.ini' + - 'src/replica/bulk_load/test/run.sh' + - 'src/replica/duplication/test/config-test.ini' + - 'src/replica/duplication/test/run.sh' + - 'src/replica/log_file.cpp' + - 'src/replica/log_file.h' + - 'src/replica/log_file_stream.h' + - 'src/replica/mutation.cpp' + - 'src/replica/mutation.h' + - 'src/replica/mutation_cache.cpp' + - 'src/replica/mutation_cache.h' + - 'src/replica/mutation_log.cpp' + - 'src/replica/mutation_log.h' + - 'src/replica/mutation_log_utils.cpp' + - 'src/replica/mutation_log_utils.h' + - 'src/replica/prepare_list.cpp' + - 'src/replica/prepare_list.h' + - 'src/replica/replica.cpp' + - 'src/replica/replica.h' + - 'src/replica/replica_2pc.cpp' + - 'src/replica/replica_check.cpp' + - 'src/replica/replica_chkpt.cpp' + - 'src/replica/replica_config.cpp' + - 'src/replica/replica_context.cpp' + - 'src/replica/replica_context.h' + - 'src/replica/replica_failover.cpp' + - 'src/replica/replica_init.cpp' + - 'src/replica/replica_learn.cpp' + - 'src/replica/replica_stub.cpp' + - 'src/replica/replica_stub.h' + - 'src/replica/replica_test_utils.cpp' + - 'src/replica/replication_app_base.cpp' + - 'src/replica/replication_service_app.cpp' + - 'src/replica/split/test/config-test.ini' + - 'src/replica/split/test/run.sh' + - 'src/replica/storage/CMakeLists.txt' + - 'src/replica/storage/simple_kv/CMakeLists.txt' + - 'src/replica/storage/simple_kv/clear.sh' + - 'src/replica/storage/simple_kv/config.ini' + - 'src/replica/storage/simple_kv/run.sh' + - 'src/replica/storage/simple_kv/simple_kv.app.example.h' + - 'src/replica/storage/simple_kv/simple_kv.client.h' + - 'src/replica/storage/simple_kv/simple_kv.code.definition.h' + - 'src/replica/storage/simple_kv/simple_kv.main.cpp' + - 'src/replica/storage/simple_kv/simple_kv.server.h' + - 'src/replica/storage/simple_kv/simple_kv.server.impl.cpp' + - 'src/replica/storage/simple_kv/simple_kv.server.impl.h' + - 'src/replica/storage/simple_kv/simple_kv.thrift' + - 'src/replica/storage/simple_kv/test/CMakeLists.txt' + - 'src/replica/storage/simple_kv/test/README.md' + - 'src/replica/storage/simple_kv/test/addcase.sh' + - 'src/replica/storage/simple_kv/test/case-000.act' + - 'src/replica/storage/simple_kv/test/case-000.ini' + - 'src/replica/storage/simple_kv/test/case-001.act' + - 'src/replica/storage/simple_kv/test/case-001.ini' + - 'src/replica/storage/simple_kv/test/case-002.act' + - 'src/replica/storage/simple_kv/test/case-002.ini' + - 'src/replica/storage/simple_kv/test/case-003.act' + - 'src/replica/storage/simple_kv/test/case-003.ini' + - 'src/replica/storage/simple_kv/test/case-004.act' + - 'src/replica/storage/simple_kv/test/case-004.ini' + - 'src/replica/storage/simple_kv/test/case-005.act' + - 'src/replica/storage/simple_kv/test/case-005.ini' + - 'src/replica/storage/simple_kv/test/case-006.act' + - 'src/replica/storage/simple_kv/test/case-006.ini' + - 'src/replica/storage/simple_kv/test/case-100.act' + - 'src/replica/storage/simple_kv/test/case-100.ini' + - 'src/replica/storage/simple_kv/test/case-101.act' + - 'src/replica/storage/simple_kv/test/case-101.ini' + - 'src/replica/storage/simple_kv/test/case-102.act' + - 'src/replica/storage/simple_kv/test/case-102.ini' + - 'src/replica/storage/simple_kv/test/case-103.act' + - 'src/replica/storage/simple_kv/test/case-103.ini' + - 'src/replica/storage/simple_kv/test/case-104.act' + - 'src/replica/storage/simple_kv/test/case-104.ini' + - 'src/replica/storage/simple_kv/test/case-105.act' + - 'src/replica/storage/simple_kv/test/case-105.ini' + - 'src/replica/storage/simple_kv/test/case-106.act' + - 'src/replica/storage/simple_kv/test/case-106.ini' + - 'src/replica/storage/simple_kv/test/case-107.act' + - 'src/replica/storage/simple_kv/test/case-107.ini' + - 'src/replica/storage/simple_kv/test/case-108.act' + - 'src/replica/storage/simple_kv/test/case-108.ini' + - 'src/replica/storage/simple_kv/test/case-109.act' + - 'src/replica/storage/simple_kv/test/case-109.ini' + - 'src/replica/storage/simple_kv/test/case-200.act' + - 'src/replica/storage/simple_kv/test/case-200.ini' + - 'src/replica/storage/simple_kv/test/case-201.act' + - 'src/replica/storage/simple_kv/test/case-201.ini' + - 'src/replica/storage/simple_kv/test/case-202-0.act' + - 'src/replica/storage/simple_kv/test/case-202-0.ini' + - 'src/replica/storage/simple_kv/test/case-202-1.act' + - 'src/replica/storage/simple_kv/test/case-202-1.ini' + - 'src/replica/storage/simple_kv/test/case-203-0.act' + - 'src/replica/storage/simple_kv/test/case-203-0.ini' + - 'src/replica/storage/simple_kv/test/case-204.act' + - 'src/replica/storage/simple_kv/test/case-204.ini' + - 'src/replica/storage/simple_kv/test/case-205.act' + - 'src/replica/storage/simple_kv/test/case-205.ini' + - 'src/replica/storage/simple_kv/test/case-206.act' + - 'src/replica/storage/simple_kv/test/case-206.ini' + - 'src/replica/storage/simple_kv/test/case-207.act' + - 'src/replica/storage/simple_kv/test/case-207.ini' + - 'src/replica/storage/simple_kv/test/case-208.act' + - 'src/replica/storage/simple_kv/test/case-208.ini' + - 'src/replica/storage/simple_kv/test/case-209.act' + - 'src/replica/storage/simple_kv/test/case-209.ini' + - 'src/replica/storage/simple_kv/test/case-210.act' + - 'src/replica/storage/simple_kv/test/case-210.ini' + - 'src/replica/storage/simple_kv/test/case-211.act' + - 'src/replica/storage/simple_kv/test/case-211.ini' + - 'src/replica/storage/simple_kv/test/case-212.act' + - 'src/replica/storage/simple_kv/test/case-212.ini' + - 'src/replica/storage/simple_kv/test/case-213.act' + - 'src/replica/storage/simple_kv/test/case-213.ini' + - 'src/replica/storage/simple_kv/test/case-214.act' + - 'src/replica/storage/simple_kv/test/case-214.ini' + - 'src/replica/storage/simple_kv/test/case-215.act' + - 'src/replica/storage/simple_kv/test/case-215.ini' + - 'src/replica/storage/simple_kv/test/case-216.act' + - 'src/replica/storage/simple_kv/test/case-216.ini' + - 'src/replica/storage/simple_kv/test/case-300-0.act' + - 'src/replica/storage/simple_kv/test/case-300-0.ini' + - 'src/replica/storage/simple_kv/test/case-300-1.act' + - 'src/replica/storage/simple_kv/test/case-300-1.ini' + - 'src/replica/storage/simple_kv/test/case-300-2.act' + - 'src/replica/storage/simple_kv/test/case-300-2.ini' + - 'src/replica/storage/simple_kv/test/case-301.act' + - 'src/replica/storage/simple_kv/test/case-301.ini' + - 'src/replica/storage/simple_kv/test/case-302.act' + - 'src/replica/storage/simple_kv/test/case-302.ini' + - 'src/replica/storage/simple_kv/test/case-303.act' + - 'src/replica/storage/simple_kv/test/case-303.ini' + - 'src/replica/storage/simple_kv/test/case-304.act' + - 'src/replica/storage/simple_kv/test/case-304.ini' + - 'src/replica/storage/simple_kv/test/case-305.act' + - 'src/replica/storage/simple_kv/test/case-305.ini' + - 'src/replica/storage/simple_kv/test/case-306.act' + - 'src/replica/storage/simple_kv/test/case-306.ini' + - 'src/replica/storage/simple_kv/test/case-307.act' + - 'src/replica/storage/simple_kv/test/case-307.ini' + - 'src/replica/storage/simple_kv/test/case-400.act' + - 'src/replica/storage/simple_kv/test/case-400.ini' + - 'src/replica/storage/simple_kv/test/case-401.act' + - 'src/replica/storage/simple_kv/test/case-401.ini' + - 'src/replica/storage/simple_kv/test/case-402.act' + - 'src/replica/storage/simple_kv/test/case-402.ini' + - 'src/replica/storage/simple_kv/test/case-600.act' + - 'src/replica/storage/simple_kv/test/case-600.ini' + - 'src/replica/storage/simple_kv/test/case-601.act' + - 'src/replica/storage/simple_kv/test/case-601.ini' + - 'src/replica/storage/simple_kv/test/case-602.act' + - 'src/replica/storage/simple_kv/test/case-602.ini' + - 'src/replica/storage/simple_kv/test/case-603.act' + - 'src/replica/storage/simple_kv/test/case-603.ini' + - 'src/replica/storage/simple_kv/test/case.cpp' + - 'src/replica/storage/simple_kv/test/case.h' + - 'src/replica/storage/simple_kv/test/checker.cpp' + - 'src/replica/storage/simple_kv/test/checker.h' + - 'src/replica/storage/simple_kv/test/clear.sh' + - 'src/replica/storage/simple_kv/test/client.cpp' + - 'src/replica/storage/simple_kv/test/client.h' + - 'src/replica/storage/simple_kv/test/common.cpp' + - 'src/replica/storage/simple_kv/test/common.h' + - 'src/replica/storage/simple_kv/test/config.ini' + - 'src/replica/storage/simple_kv/test/injector.cpp' + - 'src/replica/storage/simple_kv/test/injector.h' + - 'src/replica/storage/simple_kv/test/run.sh' + - 'src/replica/storage/simple_kv/test/simple_kv.main.cpp' + - 'src/replica/storage/simple_kv/test/simple_kv.server.impl.cpp' + - 'src/replica/storage/simple_kv/test/simple_kv.server.impl.h' + - 'src/replica/test/CMakeLists.txt' + - 'src/replica/test/config-test.ini' + - 'src/replica/test/mock_utils.h' + - 'src/replica/test/mutation_log_learn_test.cpp' + - 'src/replica/test/mutation_log_test.cpp' + - 'src/replica/test/replica_test_base.h' + - 'src/replica/test/replication_service_test_app.h' + - 'src/replica/test/run.sh' + - 'src/runtime/CMakeLists.txt' + - 'src/runtime/core_main.cpp' + - 'src/runtime/dsn.layer2_types.cpp' + - 'src/runtime/env.sim.cpp' + - 'src/runtime/env.sim.h' + - 'src/runtime/fault_injector.cpp' + - 'src/runtime/global_config.cpp' + - 'src/runtime/message_utils.cpp' + - 'src/runtime/nativerun.cpp' + - 'src/runtime/profiler.cpp' + - 'src/runtime/profiler_header.h' + - 'src/runtime/providers.common.cpp' + - 'src/runtime/rpc/CMakeLists.txt' + - 'src/runtime/rpc/asio_net_provider.cpp' + - 'src/runtime/rpc/asio_net_provider.h' + - 'src/runtime/rpc/asio_rpc_session.cpp' + - 'src/runtime/rpc/asio_rpc_session.h' + - 'src/runtime/rpc/dsn_message_parser.cpp' + - 'src/runtime/rpc/dsn_message_parser.h' + - 'src/runtime/rpc/message_parser.cpp' + - 'src/runtime/rpc/message_parser_manager.h' + - 'src/runtime/rpc/network.cpp' + - 'src/runtime/rpc/network.sim.cpp' + - 'src/runtime/rpc/network.sim.h' + - 'src/runtime/rpc/raw_message_parser.cpp' + - 'src/runtime/rpc/raw_message_parser.h' + - 'src/runtime/rpc/rpc_engine.cpp' + - 'src/runtime/rpc/rpc_engine.h' + - 'src/runtime/rpc/rpc_message.cpp' + - 'src/runtime/rpc/rpc_task.cpp' + - 'src/runtime/rpc/thrift_message_parser.cpp' + - 'src/runtime/rpc/thrift_message_parser.h' + - 'src/runtime/scheduler.cpp' + - 'src/runtime/scheduler.h' + - 'src/runtime/service_api_c.cpp' + - 'src/runtime/service_engine.cpp' + - 'src/runtime/service_engine.h' + - 'src/runtime/simulator.cpp' + - 'src/runtime/task/CMakeLists.txt' + - 'src/runtime/task/hpc_task_queue.cpp' + - 'src/runtime/task/hpc_task_queue.h' + - 'src/runtime/task/simple_task_queue.cpp' + - 'src/runtime/task/simple_task_queue.h' + - 'src/runtime/task/task.cpp' + - 'src/runtime/task/task_code.cpp' + - 'src/runtime/task/task_engine.cpp' + - 'src/runtime/task/task_engine.h' + - 'src/runtime/task/task_engine.sim.cpp' + - 'src/runtime/task/task_engine.sim.h' + - 'src/runtime/task/task_queue.cpp' + - 'src/runtime/task/task_spec.cpp' + - 'src/runtime/task/task_tracker.cpp' + - 'src/runtime/task/task_worker.cpp' + - 'src/runtime/test/CMakeLists.txt' + - 'src/runtime/test/async_call.cpp' + - 'src/runtime/test/clear.sh' + - 'src/runtime/test/command.txt' + - 'src/runtime/test/config-test-corrupt-message.ini' + - 'src/runtime/test/config-test-sim.ini' + - 'src/runtime/test/config-test.ini' + - 'src/runtime/test/corrupt_message.cpp' + - 'src/runtime/test/lpc.cpp' + - 'src/runtime/test/main.cpp' + - 'src/runtime/test/message_utils_test.cpp' + - 'src/runtime/test/netprovider.cpp' + - 'src/runtime/test/pipeline_test.cpp' + - 'src/runtime/test/rpc.cpp' + - 'src/runtime/test/rpc_holder_test.cpp' + - 'src/runtime/test/rpc_message.cpp' + - 'src/runtime/test/run.sh' + - 'src/runtime/test/service_api_c.cpp' + - 'src/runtime/test/sim_lock.cpp' + - 'src/runtime/test/task_engine.cpp' + - 'src/runtime/test/test_utils.h' + - 'src/runtime/threadpool_code.cpp' + - 'src/runtime/tool_api.cpp' + - 'src/runtime/tracer.cpp' + - 'src/runtime/zlocks.cpp' + - 'src/tools/CMakeLists.txt' + - 'src/tools/mutation_log_tool.cpp' + - 'src/utils/CMakeLists.txt' + - 'src/utils/binary_reader.cpp' + - 'src/utils/binary_writer.cpp' + - 'src/utils/command_manager.cpp' + - 'src/utils/config_api.cpp' + - 'src/utils/configuration.cpp' + - 'src/utils/coredump.h' + - 'src/utils/coredump.posix.cpp' + - 'src/utils/crc.cpp' + - 'src/utils/error_code.cpp' + - 'src/utils/filesystem.cpp' + - 'src/utils/gpid.cpp' + - 'src/utils/lockp.std.h' + - 'src/utils/logging.cpp' + - 'src/utils/rpc_address.cpp' + - 'src/utils/shared_io_service.h' + - 'src/utils/simple_logger.cpp' + - 'src/utils/simple_logger.h' + - 'src/utils/strings.cpp' + - 'src/utils/test/CMakeLists.txt' + - 'src/utils/test/address.cpp' + - 'src/utils/test/clear.sh' + - 'src/utils/test/command_manager.cpp' + - 'src/utils/test/config-bad-section.ini' + - 'src/utils/test/config-dup-key.ini' + - 'src/utils/test/config-dup-section.ini' + - 'src/utils/test/config-no-key.ini' + - 'src/utils/test/config-no-section.ini' + - 'src/utils/test/config-null-section.ini' + - 'src/utils/test/config-sample.ini' + - 'src/utils/test/config-unmatch-section.ini' + - 'src/utils/test/configuration.cpp' + - 'src/utils/test/env.cpp' + - 'src/utils/test/file_utils.cpp' + - 'src/utils/test/fmt_logging_test.cpp' + - 'src/utils/test/join_point_test.cpp' + - 'src/utils/test/json_helper_test.cpp' + - 'src/utils/test/lock.std.cpp' + - 'src/utils/test/logger.cpp' + - 'src/utils/test/logging.cpp' + - 'src/utils/test/output_utils_test.cpp' + - 'src/utils/test/priority_queue.cpp' + - 'src/utils/test/run.sh' + - 'src/utils/test/sema.cpp' + - 'src/utils/test/string_conv_test.cpp' + - 'src/utils/test/time_utils_test.cpp' + - 'src/utils/test/utils.cpp' + - 'src/utils/thread_access_checker.cpp' + - 'src/utils/utils.cpp' + - 'src/utils/zlock_provider.h' + - 'src/zookeeper/CMakeLists.txt' + - 'src/zookeeper/distributed_lock_service_zookeeper.cpp' + - 'src/zookeeper/distributed_lock_service_zookeeper.h' + - 'src/zookeeper/lock_struct.cpp' + - 'src/zookeeper/lock_struct.h' + - 'src/zookeeper/lock_types.h' + - 'src/zookeeper/test/CMakeLists.txt' + - 'src/zookeeper/test/clear.sh' + - 'src/zookeeper/test/config-test.ini' + - 'src/zookeeper/test/distributed_lock_zookeeper.cpp' + - 'src/zookeeper/test/main.cpp' + - 'src/zookeeper/test/run.sh' + - 'src/zookeeper/zookeeper_error.cpp' + - 'src/zookeeper/zookeeper_error.h' + - 'src/zookeeper/zookeeper_session.cpp' + - 'src/zookeeper/zookeeper_session.h' + - 'src/zookeeper/zookeeper_session_mgr.cpp' + - 'src/zookeeper/zookeeper_session_mgr.h' comment: on-failure diff --git a/LICENSE b/LICENSE index 99162cc85c..f6862595d8 100644 --- a/LICENSE +++ b/LICENSE @@ -203,7 +203,7 @@ limitations under the License. -------------------------------------------------------------------------------- -src/rdsn/** - MIT License +** - MIT License The MIT License (MIT) @@ -327,15 +327,15 @@ src/shell/argh.h - BSD-3-Clause License -------------------------------------------------------------------------------- -src/rdsn/src/utils/smart_pointers.h - Apache 2.0 License -src/rdsn/utils/string_view.h -src/rdsn/src/utils/absl/base/internal/invoke.h -src/rdsn/src/utils/absl/utility/utility.h -src/rdsn/src/utils/memutil.h -src/rdsn/src/utils/string_view.cpp -src/rdsn/src/utils/test/memutil_test.cpp -src/rdsn/src/utils/test/smart_pointers_test.cpp -src/rdsn/src/utils/test/string_view_test.cpp +src/utils/smart_pointers.h - Apache 2.0 License +src/utils/string_view.h +src/utils/absl/base/internal/invoke.h +src/utils/absl/utility/utility.h +src/utils/memutil.h +src/utils/string_view.cpp +src/utils/test/memutil_test.cpp +src/utils/test/smart_pointers_test.cpp +src/utils/test/string_view_test.cpp Copyright 2017 The Abseil Authors. @@ -353,7 +353,7 @@ limitations under the License. -------------------------------------------------------------------------------- -src/rdsn/src/utils/safe_strerror_posix.cpp - BSD-3-Clause License +src/utils/safe_strerror_posix.cpp - BSD-3-Clause License Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. @@ -385,9 +385,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- -src/rdsn/src/utils/TokenBucket.h - Apache License, Version 2.0 -src/rdsn/src/utils/test/TokenBucketTest.cpp -src/rdsn/src/utils/test/TokenBucketTest.h +src/utils/TokenBucket.h - Apache License, Version 2.0 +src/utils/test/TokenBucketTest.cpp +src/utils/test/TokenBucketTest.h Copyright (c) Facebook, Inc. and its affiliates. @@ -405,12 +405,12 @@ limitations under the License. -------------------------------------------------------------------------------- -src/rdsn/src/utils/hpc_locks/autoreseteventcondvar.h - zlib License -src/rdsn/src/utils/hpc_locks/rwlock.h -src/rdsn/src/utils/hpc_locks/autoresetevent.h -src/rdsn/src/utils/hpc_locks/sema.h -src/rdsn/src/utils/hpc_locks/bitfield.h -src/rdsn/src/utils/hpc_locks/benaphore.h +src/utils/hpc_locks/autoreseteventcondvar.h - zlib License +src/utils/hpc_locks/rwlock.h +src/utils/hpc_locks/autoresetevent.h +src/utils/hpc_locks/sema.h +src/utils/hpc_locks/bitfield.h +src/utils/hpc_locks/benaphore.h Copyright (c) 2015 Jeff Preshing @@ -432,8 +432,8 @@ freely, subject to the following restrictions: -------------------------------------------------------------------------------- -src/rdsn/src/runtime/build_config.h - BSD-3-Clause License -src/rdsn/src/utils/test/autoref_ptr_test.cpp +src/runtime/build_config.h - BSD-3-Clause License +src/utils/test/autoref_ptr_test.cpp Copyright (c) 2012 The Chromium Authors. All rights reserved. @@ -532,7 +532,7 @@ SOFTWARE. -------------------------------------------------------------------------------- -src/rdsn/src/utils/safe_strerror_posix.h - BSD-3-Clause License +src/utils/safe_strerror_posix.h - BSD-3-Clause License Copyright (c) 2011 The Chromium Authors. All rights reserved. diff --git a/cmake_modules/CompilerInfo.cmake b/cmake_modules/CompilerInfo.cmake index f44d15c510..0ef1a6aa57 100644 --- a/cmake_modules/CompilerInfo.cmake +++ b/cmake_modules/CompilerInfo.cmake @@ -19,7 +19,7 @@ # Sets COMPILER_VERSION to the version include(CMakeDetermineCXXCompiler) -message("Running rdsn/bin/compiler_info.cmake") +message("Running CompilerInfo.cmake") execute_process(COMMAND env LANG=C "${CMAKE_CXX_COMPILER}" -v ERROR_VARIABLE COMPILER_VERSION_FULL) message(${COMPILER_VERSION_FULL}) diff --git a/scripts/compile_thrift.py b/scripts/compile_thrift.py index 0d79a5db72..376a3c50c0 100755 --- a/scripts/compile_thrift.py +++ b/scripts/compile_thrift.py @@ -48,8 +48,8 @@ } }, "file_move": { - "_types.h": "src/rdsn/src/common/serialization_helper", - "_types.cpp": "src/rdsn/src/runtime" + "_types.h": "src/common/serialization_helper", + "_types.cpp": "src/runtime" } }, ] diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 71d2f149fe..85cd318f8a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -19,25 +19,44 @@ project(pegasus C CXX) set(PEGASUS_PROJECT_DIR ${CMAKE_CURRENT_SOURCE_DIR}) +set(DSN_BUILD_RUNTIME TRUE) + dsn_common_setup() +if(UNIX) + add_compile_options(-fPIC) +endif() + include_directories(${PEGASUS_PROJECT_DIR}) +include_directories(${PEGASUS_PROJECT_DIR}/common/serialization_helper) include_directories(${PEGASUS_PROJECT_DIR}/include) -include_directories(${PEGASUS_PROJECT_DIR}/rdsn/src) -include_directories(${PEGASUS_PROJECT_DIR}/rdsn/src/common/serialization_helper) -add_subdirectory(rdsn/src) +add_subdirectory(aio) add_subdirectory(base) -add_subdirectory(reporter) add_subdirectory(base/test) +add_subdirectory(block_service) +add_subdirectory(client) add_subdirectory(client_lib) +add_subdirectory(common) +add_subdirectory(failure_detector) +add_subdirectory(geo) +add_subdirectory(http) +add_subdirectory(meta) +add_subdirectory(nfs) +add_subdirectory(perf_counter) +add_subdirectory(redis_protocol) +add_subdirectory(remote_cmd) +add_subdirectory(replica) +add_subdirectory(reporter) +add_subdirectory(runtime) +add_subdirectory(sample) add_subdirectory(server) add_subdirectory(server/test) add_subdirectory(shell) -add_subdirectory(geo) -add_subdirectory(redis_protocol) +add_subdirectory(test/bench_test) add_subdirectory(test/function_test) add_subdirectory(test/kill_test) add_subdirectory(test/pressure_test) -add_subdirectory(test/bench_test) -add_subdirectory(sample) +add_subdirectory(tools) +add_subdirectory(utils) +add_subdirectory(zookeeper) diff --git a/src/rdsn/src/aio/CMakeLists.txt b/src/aio/CMakeLists.txt similarity index 100% rename from src/rdsn/src/aio/CMakeLists.txt rename to src/aio/CMakeLists.txt diff --git a/src/rdsn/src/aio/aio_provider.cpp b/src/aio/aio_provider.cpp similarity index 100% rename from src/rdsn/src/aio/aio_provider.cpp rename to src/aio/aio_provider.cpp diff --git a/src/rdsn/src/aio/aio_provider.h b/src/aio/aio_provider.h similarity index 100% rename from src/rdsn/src/aio/aio_provider.h rename to src/aio/aio_provider.h diff --git a/src/rdsn/src/aio/aio_task.cpp b/src/aio/aio_task.cpp similarity index 100% rename from src/rdsn/src/aio/aio_task.cpp rename to src/aio/aio_task.cpp diff --git a/src/rdsn/src/aio/aio_task.h b/src/aio/aio_task.h similarity index 100% rename from src/rdsn/src/aio/aio_task.h rename to src/aio/aio_task.h diff --git a/src/rdsn/src/aio/disk_engine.cpp b/src/aio/disk_engine.cpp similarity index 100% rename from src/rdsn/src/aio/disk_engine.cpp rename to src/aio/disk_engine.cpp diff --git a/src/rdsn/src/aio/disk_engine.h b/src/aio/disk_engine.h similarity index 100% rename from src/rdsn/src/aio/disk_engine.h rename to src/aio/disk_engine.h diff --git a/src/rdsn/src/aio/file_io.cpp b/src/aio/file_io.cpp similarity index 100% rename from src/rdsn/src/aio/file_io.cpp rename to src/aio/file_io.cpp diff --git a/src/rdsn/src/aio/file_io.h b/src/aio/file_io.h similarity index 100% rename from src/rdsn/src/aio/file_io.h rename to src/aio/file_io.h diff --git a/src/rdsn/src/aio/native_linux_aio_provider.cpp b/src/aio/native_linux_aio_provider.cpp similarity index 100% rename from src/rdsn/src/aio/native_linux_aio_provider.cpp rename to src/aio/native_linux_aio_provider.cpp diff --git a/src/rdsn/src/aio/native_linux_aio_provider.h b/src/aio/native_linux_aio_provider.h similarity index 100% rename from src/rdsn/src/aio/native_linux_aio_provider.h rename to src/aio/native_linux_aio_provider.h diff --git a/src/rdsn/src/aio/test/CMakeLists.txt b/src/aio/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/aio/test/CMakeLists.txt rename to src/aio/test/CMakeLists.txt diff --git a/src/rdsn/src/aio/test/aio.cpp b/src/aio/test/aio.cpp similarity index 100% rename from src/rdsn/src/aio/test/aio.cpp rename to src/aio/test/aio.cpp diff --git a/src/rdsn/src/aio/test/clear.sh b/src/aio/test/clear.sh similarity index 100% rename from src/rdsn/src/aio/test/clear.sh rename to src/aio/test/clear.sh diff --git a/src/rdsn/src/aio/test/config.ini b/src/aio/test/config.ini similarity index 100% rename from src/rdsn/src/aio/test/config.ini rename to src/aio/test/config.ini diff --git a/src/rdsn/src/aio/test/copy_source.txt b/src/aio/test/copy_source.txt similarity index 100% rename from src/rdsn/src/aio/test/copy_source.txt rename to src/aio/test/copy_source.txt diff --git a/src/rdsn/src/aio/test/main.cpp b/src/aio/test/main.cpp similarity index 100% rename from src/rdsn/src/aio/test/main.cpp rename to src/aio/test/main.cpp diff --git a/src/rdsn/src/aio/test/run.sh b/src/aio/test/run.sh similarity index 100% rename from src/rdsn/src/aio/test/run.sh rename to src/aio/test/run.sh diff --git a/src/rdsn/src/block_service/CMakeLists.txt b/src/block_service/CMakeLists.txt similarity index 100% rename from src/rdsn/src/block_service/CMakeLists.txt rename to src/block_service/CMakeLists.txt diff --git a/src/rdsn/src/block_service/block_service.h b/src/block_service/block_service.h similarity index 100% rename from src/rdsn/src/block_service/block_service.h rename to src/block_service/block_service.h diff --git a/src/rdsn/src/block_service/block_service_manager.cpp b/src/block_service/block_service_manager.cpp similarity index 100% rename from src/rdsn/src/block_service/block_service_manager.cpp rename to src/block_service/block_service_manager.cpp diff --git a/src/rdsn/src/block_service/block_service_manager.h b/src/block_service/block_service_manager.h similarity index 100% rename from src/rdsn/src/block_service/block_service_manager.h rename to src/block_service/block_service_manager.h diff --git a/src/rdsn/src/block_service/directio_writable_file.cpp b/src/block_service/directio_writable_file.cpp similarity index 100% rename from src/rdsn/src/block_service/directio_writable_file.cpp rename to src/block_service/directio_writable_file.cpp diff --git a/src/rdsn/src/block_service/directio_writable_file.h b/src/block_service/directio_writable_file.h similarity index 100% rename from src/rdsn/src/block_service/directio_writable_file.h rename to src/block_service/directio_writable_file.h diff --git a/src/rdsn/src/block_service/fds/CMakeLists.txt b/src/block_service/fds/CMakeLists.txt similarity index 100% rename from src/rdsn/src/block_service/fds/CMakeLists.txt rename to src/block_service/fds/CMakeLists.txt diff --git a/src/rdsn/src/block_service/fds/fds_service.cpp b/src/block_service/fds/fds_service.cpp similarity index 100% rename from src/rdsn/src/block_service/fds/fds_service.cpp rename to src/block_service/fds/fds_service.cpp diff --git a/src/rdsn/src/block_service/fds/fds_service.h b/src/block_service/fds/fds_service.h similarity index 100% rename from src/rdsn/src/block_service/fds/fds_service.h rename to src/block_service/fds/fds_service.h diff --git a/src/rdsn/src/block_service/hdfs/CMakeLists.txt b/src/block_service/hdfs/CMakeLists.txt similarity index 100% rename from src/rdsn/src/block_service/hdfs/CMakeLists.txt rename to src/block_service/hdfs/CMakeLists.txt diff --git a/src/rdsn/src/block_service/hdfs/hdfs_service.cpp b/src/block_service/hdfs/hdfs_service.cpp similarity index 100% rename from src/rdsn/src/block_service/hdfs/hdfs_service.cpp rename to src/block_service/hdfs/hdfs_service.cpp diff --git a/src/rdsn/src/block_service/hdfs/hdfs_service.h b/src/block_service/hdfs/hdfs_service.h similarity index 100% rename from src/rdsn/src/block_service/hdfs/hdfs_service.h rename to src/block_service/hdfs/hdfs_service.h diff --git a/src/rdsn/src/block_service/local/CMakeLists.txt b/src/block_service/local/CMakeLists.txt similarity index 100% rename from src/rdsn/src/block_service/local/CMakeLists.txt rename to src/block_service/local/CMakeLists.txt diff --git a/src/rdsn/src/block_service/local/local_service.cpp b/src/block_service/local/local_service.cpp similarity index 100% rename from src/rdsn/src/block_service/local/local_service.cpp rename to src/block_service/local/local_service.cpp diff --git a/src/rdsn/src/block_service/local/local_service.h b/src/block_service/local/local_service.h similarity index 100% rename from src/rdsn/src/block_service/local/local_service.h rename to src/block_service/local/local_service.h diff --git a/src/rdsn/src/block_service/test/CMakeLists.txt b/src/block_service/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/block_service/test/CMakeLists.txt rename to src/block_service/test/CMakeLists.txt diff --git a/src/rdsn/src/block_service/test/block_service_manager_test.cpp b/src/block_service/test/block_service_manager_test.cpp similarity index 100% rename from src/rdsn/src/block_service/test/block_service_manager_test.cpp rename to src/block_service/test/block_service_manager_test.cpp diff --git a/src/rdsn/src/block_service/test/block_service_mock.h b/src/block_service/test/block_service_mock.h similarity index 100% rename from src/rdsn/src/block_service/test/block_service_mock.h rename to src/block_service/test/block_service_mock.h diff --git a/src/rdsn/src/block_service/test/clear.sh b/src/block_service/test/clear.sh similarity index 100% rename from src/rdsn/src/block_service/test/clear.sh rename to src/block_service/test/clear.sh diff --git a/src/rdsn/src/block_service/test/config-test.ini b/src/block_service/test/config-test.ini similarity index 100% rename from src/rdsn/src/block_service/test/config-test.ini rename to src/block_service/test/config-test.ini diff --git a/src/rdsn/src/block_service/test/fds_service_test.cpp b/src/block_service/test/fds_service_test.cpp similarity index 100% rename from src/rdsn/src/block_service/test/fds_service_test.cpp rename to src/block_service/test/fds_service_test.cpp diff --git a/src/rdsn/src/block_service/test/hdfs_service_test.cpp b/src/block_service/test/hdfs_service_test.cpp similarity index 100% rename from src/rdsn/src/block_service/test/hdfs_service_test.cpp rename to src/block_service/test/hdfs_service_test.cpp diff --git a/src/rdsn/src/block_service/test/local_service_test.cpp b/src/block_service/test/local_service_test.cpp similarity index 100% rename from src/rdsn/src/block_service/test/local_service_test.cpp rename to src/block_service/test/local_service_test.cpp diff --git a/src/rdsn/src/block_service/test/main.cpp b/src/block_service/test/main.cpp similarity index 100% rename from src/rdsn/src/block_service/test/main.cpp rename to src/block_service/test/main.cpp diff --git a/src/rdsn/src/block_service/test/run.sh b/src/block_service/test/run.sh similarity index 100% rename from src/rdsn/src/block_service/test/run.sh rename to src/block_service/test/run.sh diff --git a/src/rdsn/src/client/CMakeLists.txt b/src/client/CMakeLists.txt similarity index 100% rename from src/rdsn/src/client/CMakeLists.txt rename to src/client/CMakeLists.txt diff --git a/src/rdsn/src/client/partition_resolver.cpp b/src/client/partition_resolver.cpp similarity index 100% rename from src/rdsn/src/client/partition_resolver.cpp rename to src/client/partition_resolver.cpp diff --git a/src/rdsn/src/client/partition_resolver.h b/src/client/partition_resolver.h similarity index 100% rename from src/rdsn/src/client/partition_resolver.h rename to src/client/partition_resolver.h diff --git a/src/rdsn/src/client/partition_resolver_manager.cpp b/src/client/partition_resolver_manager.cpp similarity index 100% rename from src/rdsn/src/client/partition_resolver_manager.cpp rename to src/client/partition_resolver_manager.cpp diff --git a/src/rdsn/src/client/partition_resolver_manager.h b/src/client/partition_resolver_manager.h similarity index 100% rename from src/rdsn/src/client/partition_resolver_manager.h rename to src/client/partition_resolver_manager.h diff --git a/src/rdsn/src/client/partition_resolver_simple.cpp b/src/client/partition_resolver_simple.cpp similarity index 100% rename from src/rdsn/src/client/partition_resolver_simple.cpp rename to src/client/partition_resolver_simple.cpp diff --git a/src/rdsn/src/client/partition_resolver_simple.h b/src/client/partition_resolver_simple.h similarity index 100% rename from src/rdsn/src/client/partition_resolver_simple.h rename to src/client/partition_resolver_simple.h diff --git a/src/rdsn/src/client/replication_ddl_client.cpp b/src/client/replication_ddl_client.cpp similarity index 100% rename from src/rdsn/src/client/replication_ddl_client.cpp rename to src/client/replication_ddl_client.cpp diff --git a/src/rdsn/src/client/replication_ddl_client.h b/src/client/replication_ddl_client.h similarity index 100% rename from src/rdsn/src/client/replication_ddl_client.h rename to src/client/replication_ddl_client.h diff --git a/src/rdsn/src/common/CMakeLists.txt b/src/common/CMakeLists.txt similarity index 100% rename from src/rdsn/src/common/CMakeLists.txt rename to src/common/CMakeLists.txt diff --git a/src/rdsn/src/common/api_common.h b/src/common/api_common.h similarity index 100% rename from src/rdsn/src/common/api_common.h rename to src/common/api_common.h diff --git a/src/rdsn/src/common/backup.thrift b/src/common/backup.thrift similarity index 98% rename from src/rdsn/src/common/backup.thrift rename to src/common/backup.thrift index 9941743711..a4083e3233 100644 --- a/src/rdsn/src/common/backup.thrift +++ b/src/common/backup.thrift @@ -15,8 +15,8 @@ // specific language governing permissions and limitations // under the License. -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/backup_common.cpp b/src/common/backup_common.cpp similarity index 100% rename from src/rdsn/src/common/backup_common.cpp rename to src/common/backup_common.cpp diff --git a/src/rdsn/src/common/backup_common.h b/src/common/backup_common.h similarity index 100% rename from src/rdsn/src/common/backup_common.h rename to src/common/backup_common.h diff --git a/src/rdsn/src/common/bulk_load.thrift b/src/common/bulk_load.thrift similarity index 98% rename from src/rdsn/src/common/bulk_load.thrift rename to src/common/bulk_load.thrift index a439a89171..ed8ff5fbac 100644 --- a/src/rdsn/src/common/bulk_load.thrift +++ b/src/common/bulk_load.thrift @@ -15,8 +15,8 @@ // specific language governing permissions and limitations // under the License. -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" include "metadata.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/bulk_load_common.cpp b/src/common/bulk_load_common.cpp similarity index 100% rename from src/rdsn/src/common/bulk_load_common.cpp rename to src/common/bulk_load_common.cpp diff --git a/src/rdsn/src/common/bulk_load_common.h b/src/common/bulk_load_common.h similarity index 100% rename from src/rdsn/src/common/bulk_load_common.h rename to src/common/bulk_load_common.h diff --git a/src/rdsn/src/common/common.cpp b/src/common/common.cpp similarity index 100% rename from src/rdsn/src/common/common.cpp rename to src/common/common.cpp diff --git a/src/rdsn/src/common/common.h b/src/common/common.h similarity index 100% rename from src/rdsn/src/common/common.h rename to src/common/common.h diff --git a/src/rdsn/src/common/consensus.thrift b/src/common/consensus.thrift similarity index 98% rename from src/rdsn/src/common/consensus.thrift rename to src/common/consensus.thrift index 9caca11ca6..fdd1c16c7e 100644 --- a/src/rdsn/src/common/consensus.thrift +++ b/src/common/consensus.thrift @@ -24,8 +24,8 @@ * THE SOFTWARE. */ -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" include "metadata.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/duplication.thrift b/src/common/duplication.thrift similarity index 98% rename from src/rdsn/src/common/duplication.thrift rename to src/common/duplication.thrift index 7338e51455..f94aeecd01 100644 --- a/src/rdsn/src/common/duplication.thrift +++ b/src/common/duplication.thrift @@ -15,8 +15,8 @@ // specific language governing permissions and limitations // under the License. -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/duplication_common.cpp b/src/common/duplication_common.cpp similarity index 100% rename from src/rdsn/src/common/duplication_common.cpp rename to src/common/duplication_common.cpp diff --git a/src/rdsn/src/common/duplication_common.h b/src/common/duplication_common.h similarity index 100% rename from src/rdsn/src/common/duplication_common.h rename to src/common/duplication_common.h diff --git a/src/rdsn/src/common/fs_manager.cpp b/src/common/fs_manager.cpp similarity index 100% rename from src/rdsn/src/common/fs_manager.cpp rename to src/common/fs_manager.cpp diff --git a/src/rdsn/src/common/fs_manager.h b/src/common/fs_manager.h similarity index 100% rename from src/rdsn/src/common/fs_manager.h rename to src/common/fs_manager.h diff --git a/src/rdsn/src/common/gpid.h b/src/common/gpid.h similarity index 100% rename from src/rdsn/src/common/gpid.h rename to src/common/gpid.h diff --git a/src/rdsn/src/common/json_helper.h b/src/common/json_helper.h similarity index 100% rename from src/rdsn/src/common/json_helper.h rename to src/common/json_helper.h diff --git a/src/rdsn/src/common/manual_compact.h b/src/common/manual_compact.h similarity index 100% rename from src/rdsn/src/common/manual_compact.h rename to src/common/manual_compact.h diff --git a/src/rdsn/src/common/meta_admin.thrift b/src/common/meta_admin.thrift similarity index 99% rename from src/rdsn/src/common/meta_admin.thrift rename to src/common/meta_admin.thrift index a08d85c4eb..ae29f71410 100644 --- a/src/rdsn/src/common/meta_admin.thrift +++ b/src/common/meta_admin.thrift @@ -24,8 +24,8 @@ * THE SOFTWARE. */ -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" include "metadata.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/metadata.thrift b/src/common/metadata.thrift similarity index 97% rename from src/rdsn/src/common/metadata.thrift rename to src/common/metadata.thrift index 30fe79ca2b..fc83d31f7d 100644 --- a/src/rdsn/src/common/metadata.thrift +++ b/src/common/metadata.thrift @@ -24,8 +24,8 @@ * THE SOFTWARE. */ -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/partition_split.thrift b/src/common/partition_split.thrift similarity index 98% rename from src/rdsn/src/common/partition_split.thrift rename to src/common/partition_split.thrift index 481d86b0a0..5772d08531 100644 --- a/src/rdsn/src/common/partition_split.thrift +++ b/src/common/partition_split.thrift @@ -15,8 +15,8 @@ // specific language governing permissions and limitations // under the License. -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" include "metadata.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/partition_split_common.h b/src/common/partition_split_common.h similarity index 100% rename from src/rdsn/src/common/partition_split_common.h rename to src/common/partition_split_common.h diff --git a/src/rdsn/src/common/replica_admin.thrift b/src/common/replica_admin.thrift similarity index 98% rename from src/rdsn/src/common/replica_admin.thrift rename to src/common/replica_admin.thrift index 785e696d2d..579fc1a6ad 100644 --- a/src/rdsn/src/common/replica_admin.thrift +++ b/src/common/replica_admin.thrift @@ -24,8 +24,8 @@ * THE SOFTWARE. */ -include "../../../../idl/dsn.thrift" -include "../../../../idl/dsn.layer2.thrift" +include "../../idl/dsn.thrift" +include "../../idl/dsn.layer2.thrift" include "metadata.thrift" namespace cpp dsn.replication diff --git a/src/rdsn/src/common/replica_envs.h b/src/common/replica_envs.h similarity index 100% rename from src/rdsn/src/common/replica_envs.h rename to src/common/replica_envs.h diff --git a/src/rdsn/src/common/replication.codes.h b/src/common/replication.codes.h similarity index 100% rename from src/rdsn/src/common/replication.codes.h rename to src/common/replication.codes.h diff --git a/src/rdsn/src/common/replication_common.cpp b/src/common/replication_common.cpp similarity index 100% rename from src/rdsn/src/common/replication_common.cpp rename to src/common/replication_common.cpp diff --git a/src/rdsn/src/common/replication_common.h b/src/common/replication_common.h similarity index 100% rename from src/rdsn/src/common/replication_common.h rename to src/common/replication_common.h diff --git a/src/rdsn/src/common/replication_enums.h b/src/common/replication_enums.h similarity index 100% rename from src/rdsn/src/common/replication_enums.h rename to src/common/replication_enums.h diff --git a/src/rdsn/src/common/replication_other_types.h b/src/common/replication_other_types.h similarity index 100% rename from src/rdsn/src/common/replication_other_types.h rename to src/common/replication_other_types.h diff --git a/src/rdsn/src/common/serialization_helper/dsn_types.h b/src/common/serialization_helper/dsn_types.h similarity index 100% rename from src/rdsn/src/common/serialization_helper/dsn_types.h rename to src/common/serialization_helper/dsn_types.h diff --git a/src/rdsn/src/common/serialization_helper/thrift_helper.h b/src/common/serialization_helper/thrift_helper.h similarity index 100% rename from src/rdsn/src/common/serialization_helper/thrift_helper.h rename to src/common/serialization_helper/thrift_helper.h diff --git a/src/rdsn/src/common/storage_serverlet.h b/src/common/storage_serverlet.h similarity index 100% rename from src/rdsn/src/common/storage_serverlet.h rename to src/common/storage_serverlet.h diff --git a/src/rdsn/src/common/test/CMakeLists.txt b/src/common/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/common/test/CMakeLists.txt rename to src/common/test/CMakeLists.txt diff --git a/src/rdsn/src/common/test/common_test.cpp b/src/common/test/common_test.cpp similarity index 100% rename from src/rdsn/src/common/test/common_test.cpp rename to src/common/test/common_test.cpp diff --git a/src/rdsn/src/common/test/config-test.ini b/src/common/test/config-test.ini similarity index 100% rename from src/rdsn/src/common/test/config-test.ini rename to src/common/test/config-test.ini diff --git a/src/rdsn/src/common/test/duplication_common_test.cpp b/src/common/test/duplication_common_test.cpp similarity index 100% rename from src/rdsn/src/common/test/duplication_common_test.cpp rename to src/common/test/duplication_common_test.cpp diff --git a/src/rdsn/src/common/test/fs_manager_test.cpp b/src/common/test/fs_manager_test.cpp similarity index 100% rename from src/rdsn/src/common/test/fs_manager_test.cpp rename to src/common/test/fs_manager_test.cpp diff --git a/src/rdsn/src/common/test/main.cpp b/src/common/test/main.cpp similarity index 100% rename from src/rdsn/src/common/test/main.cpp rename to src/common/test/main.cpp diff --git a/src/rdsn/src/common/test/replication_common_test.cpp b/src/common/test/replication_common_test.cpp similarity index 100% rename from src/rdsn/src/common/test/replication_common_test.cpp rename to src/common/test/replication_common_test.cpp diff --git a/src/rdsn/src/common/test/run.sh b/src/common/test/run.sh similarity index 100% rename from src/rdsn/src/common/test/run.sh rename to src/common/test/run.sh diff --git a/src/rdsn/src/failure_detector/CMakeLists.txt b/src/failure_detector/CMakeLists.txt similarity index 100% rename from src/rdsn/src/failure_detector/CMakeLists.txt rename to src/failure_detector/CMakeLists.txt diff --git a/src/rdsn/src/failure_detector/failure_detector.cpp b/src/failure_detector/failure_detector.cpp similarity index 100% rename from src/rdsn/src/failure_detector/failure_detector.cpp rename to src/failure_detector/failure_detector.cpp diff --git a/src/rdsn/src/failure_detector/failure_detector.h b/src/failure_detector/failure_detector.h similarity index 100% rename from src/rdsn/src/failure_detector/failure_detector.h rename to src/failure_detector/failure_detector.h diff --git a/src/rdsn/src/failure_detector/failure_detector_multimaster.cpp b/src/failure_detector/failure_detector_multimaster.cpp similarity index 100% rename from src/rdsn/src/failure_detector/failure_detector_multimaster.cpp rename to src/failure_detector/failure_detector_multimaster.cpp diff --git a/src/rdsn/src/failure_detector/failure_detector_multimaster.h b/src/failure_detector/failure_detector_multimaster.h similarity index 100% rename from src/rdsn/src/failure_detector/failure_detector_multimaster.h rename to src/failure_detector/failure_detector_multimaster.h diff --git a/src/rdsn/src/failure_detector/fd.client.h b/src/failure_detector/fd.client.h similarity index 100% rename from src/rdsn/src/failure_detector/fd.client.h rename to src/failure_detector/fd.client.h diff --git a/src/rdsn/src/failure_detector/fd.code.definition.h b/src/failure_detector/fd.code.definition.h similarity index 100% rename from src/rdsn/src/failure_detector/fd.code.definition.h rename to src/failure_detector/fd.code.definition.h diff --git a/src/rdsn/src/failure_detector/fd.server.h b/src/failure_detector/fd.server.h similarity index 100% rename from src/rdsn/src/failure_detector/fd.server.h rename to src/failure_detector/fd.server.h diff --git a/src/rdsn/src/failure_detector/fd.thrift b/src/failure_detector/fd.thrift similarity index 97% rename from src/rdsn/src/failure_detector/fd.thrift rename to src/failure_detector/fd.thrift index 5edc0f504b..a85a38a67b 100644 --- a/src/rdsn/src/failure_detector/fd.thrift +++ b/src/failure_detector/fd.thrift @@ -24,7 +24,7 @@ * THE SOFTWARE. */ -include "../../../../idl/dsn.thrift" +include "../../idl/dsn.thrift" namespace cpp dsn.fd diff --git a/src/rdsn/src/failure_detector/test/CMakeLists.txt b/src/failure_detector/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/failure_detector/test/CMakeLists.txt rename to src/failure_detector/test/CMakeLists.txt diff --git a/src/rdsn/src/failure_detector/test/clear.sh b/src/failure_detector/test/clear.sh similarity index 100% rename from src/rdsn/src/failure_detector/test/clear.sh rename to src/failure_detector/test/clear.sh diff --git a/src/rdsn/src/failure_detector/test/config-test.ini b/src/failure_detector/test/config-test.ini similarity index 100% rename from src/rdsn/src/failure_detector/test/config-test.ini rename to src/failure_detector/test/config-test.ini diff --git a/src/rdsn/src/failure_detector/test/config-whitelist-test-failed.ini b/src/failure_detector/test/config-whitelist-test-failed.ini similarity index 100% rename from src/rdsn/src/failure_detector/test/config-whitelist-test-failed.ini rename to src/failure_detector/test/config-whitelist-test-failed.ini diff --git a/src/rdsn/src/failure_detector/test/config-whitelist-test.ini b/src/failure_detector/test/config-whitelist-test.ini similarity index 100% rename from src/rdsn/src/failure_detector/test/config-whitelist-test.ini rename to src/failure_detector/test/config-whitelist-test.ini diff --git a/src/rdsn/src/failure_detector/test/failure_detector.cpp b/src/failure_detector/test/failure_detector.cpp similarity index 100% rename from src/rdsn/src/failure_detector/test/failure_detector.cpp rename to src/failure_detector/test/failure_detector.cpp diff --git a/src/rdsn/src/failure_detector/test/gtest.filter b/src/failure_detector/test/gtest.filter similarity index 100% rename from src/rdsn/src/failure_detector/test/gtest.filter rename to src/failure_detector/test/gtest.filter diff --git a/src/rdsn/src/failure_detector/test/main.cpp b/src/failure_detector/test/main.cpp similarity index 100% rename from src/rdsn/src/failure_detector/test/main.cpp rename to src/failure_detector/test/main.cpp diff --git a/src/rdsn/src/failure_detector/test/run.sh b/src/failure_detector/test/run.sh similarity index 100% rename from src/rdsn/src/failure_detector/test/run.sh rename to src/failure_detector/test/run.sh diff --git a/src/rdsn/src/http/CMakeLists.txt b/src/http/CMakeLists.txt similarity index 100% rename from src/rdsn/src/http/CMakeLists.txt rename to src/http/CMakeLists.txt diff --git a/src/rdsn/src/http/builtin_http_calls.cpp b/src/http/builtin_http_calls.cpp similarity index 100% rename from src/rdsn/src/http/builtin_http_calls.cpp rename to src/http/builtin_http_calls.cpp diff --git a/src/rdsn/src/http/builtin_http_calls.h b/src/http/builtin_http_calls.h similarity index 100% rename from src/rdsn/src/http/builtin_http_calls.h rename to src/http/builtin_http_calls.h diff --git a/src/rdsn/src/http/config_http_service.cpp b/src/http/config_http_service.cpp similarity index 100% rename from src/rdsn/src/http/config_http_service.cpp rename to src/http/config_http_service.cpp diff --git a/src/rdsn/src/http/http_call_registry.h b/src/http/http_call_registry.h similarity index 100% rename from src/rdsn/src/http/http_call_registry.h rename to src/http/http_call_registry.h diff --git a/src/rdsn/src/http/http_message_parser.cpp b/src/http/http_message_parser.cpp similarity index 100% rename from src/rdsn/src/http/http_message_parser.cpp rename to src/http/http_message_parser.cpp diff --git a/src/rdsn/src/http/http_message_parser.h b/src/http/http_message_parser.h similarity index 100% rename from src/rdsn/src/http/http_message_parser.h rename to src/http/http_message_parser.h diff --git a/src/rdsn/src/http/http_server.cpp b/src/http/http_server.cpp similarity index 100% rename from src/rdsn/src/http/http_server.cpp rename to src/http/http_server.cpp diff --git a/src/rdsn/src/http/http_server.h b/src/http/http_server.h similarity index 100% rename from src/rdsn/src/http/http_server.h rename to src/http/http_server.h diff --git a/src/rdsn/src/http/http_server_impl.h b/src/http/http_server_impl.h similarity index 100% rename from src/rdsn/src/http/http_server_impl.h rename to src/http/http_server_impl.h diff --git a/src/rdsn/src/http/perf_counter_http_service.cpp b/src/http/perf_counter_http_service.cpp similarity index 100% rename from src/rdsn/src/http/perf_counter_http_service.cpp rename to src/http/perf_counter_http_service.cpp diff --git a/src/rdsn/src/http/pprof_http_service.cpp b/src/http/pprof_http_service.cpp similarity index 100% rename from src/rdsn/src/http/pprof_http_service.cpp rename to src/http/pprof_http_service.cpp diff --git a/src/rdsn/src/http/pprof_http_service.h b/src/http/pprof_http_service.h similarity index 100% rename from src/rdsn/src/http/pprof_http_service.h rename to src/http/pprof_http_service.h diff --git a/src/rdsn/src/http/service_version.cpp b/src/http/service_version.cpp similarity index 100% rename from src/rdsn/src/http/service_version.cpp rename to src/http/service_version.cpp diff --git a/src/rdsn/src/http/service_version.h b/src/http/service_version.h similarity index 100% rename from src/rdsn/src/http/service_version.h rename to src/http/service_version.h diff --git a/src/rdsn/src/http/test/CMakeLists.txt b/src/http/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/http/test/CMakeLists.txt rename to src/http/test/CMakeLists.txt diff --git a/src/rdsn/src/http/test/http_server_test.cpp b/src/http/test/http_server_test.cpp similarity index 100% rename from src/rdsn/src/http/test/http_server_test.cpp rename to src/http/test/http_server_test.cpp diff --git a/src/rdsn/src/http/test/perf_counter_http_service_test.cpp b/src/http/test/perf_counter_http_service_test.cpp similarity index 100% rename from src/rdsn/src/http/test/perf_counter_http_service_test.cpp rename to src/http/test/perf_counter_http_service_test.cpp diff --git a/src/rdsn/src/http/test/run.sh b/src/http/test/run.sh similarity index 100% rename from src/rdsn/src/http/test/run.sh rename to src/http/test/run.sh diff --git a/src/rdsn/src/http/test/uri_decoder_test.cpp b/src/http/test/uri_decoder_test.cpp similarity index 100% rename from src/rdsn/src/http/test/uri_decoder_test.cpp rename to src/http/test/uri_decoder_test.cpp diff --git a/src/rdsn/src/http/uri_decoder.cpp b/src/http/uri_decoder.cpp similarity index 100% rename from src/rdsn/src/http/uri_decoder.cpp rename to src/http/uri_decoder.cpp diff --git a/src/rdsn/src/http/uri_decoder.h b/src/http/uri_decoder.h similarity index 100% rename from src/rdsn/src/http/uri_decoder.h rename to src/http/uri_decoder.h diff --git a/src/rdsn/src/meta/CMakeLists.txt b/src/meta/CMakeLists.txt similarity index 100% rename from src/rdsn/src/meta/CMakeLists.txt rename to src/meta/CMakeLists.txt diff --git a/src/rdsn/src/meta/app_balance_policy.cpp b/src/meta/app_balance_policy.cpp similarity index 100% rename from src/rdsn/src/meta/app_balance_policy.cpp rename to src/meta/app_balance_policy.cpp diff --git a/src/rdsn/src/meta/app_balance_policy.h b/src/meta/app_balance_policy.h similarity index 100% rename from src/rdsn/src/meta/app_balance_policy.h rename to src/meta/app_balance_policy.h diff --git a/src/rdsn/src/meta/app_env_validator.cpp b/src/meta/app_env_validator.cpp similarity index 100% rename from src/rdsn/src/meta/app_env_validator.cpp rename to src/meta/app_env_validator.cpp diff --git a/src/rdsn/src/meta/app_env_validator.h b/src/meta/app_env_validator.h similarity index 100% rename from src/rdsn/src/meta/app_env_validator.h rename to src/meta/app_env_validator.h diff --git a/src/rdsn/src/meta/backup_engine.cpp b/src/meta/backup_engine.cpp similarity index 100% rename from src/rdsn/src/meta/backup_engine.cpp rename to src/meta/backup_engine.cpp diff --git a/src/rdsn/src/meta/backup_engine.h b/src/meta/backup_engine.h similarity index 100% rename from src/rdsn/src/meta/backup_engine.h rename to src/meta/backup_engine.h diff --git a/src/rdsn/src/meta/cluster_balance_policy.cpp b/src/meta/cluster_balance_policy.cpp similarity index 100% rename from src/rdsn/src/meta/cluster_balance_policy.cpp rename to src/meta/cluster_balance_policy.cpp diff --git a/src/rdsn/src/meta/cluster_balance_policy.h b/src/meta/cluster_balance_policy.h similarity index 100% rename from src/rdsn/src/meta/cluster_balance_policy.h rename to src/meta/cluster_balance_policy.h diff --git a/src/rdsn/src/meta/distributed_lock_service_simple.cpp b/src/meta/distributed_lock_service_simple.cpp similarity index 100% rename from src/rdsn/src/meta/distributed_lock_service_simple.cpp rename to src/meta/distributed_lock_service_simple.cpp diff --git a/src/rdsn/src/meta/distributed_lock_service_simple.h b/src/meta/distributed_lock_service_simple.h similarity index 100% rename from src/rdsn/src/meta/distributed_lock_service_simple.h rename to src/meta/distributed_lock_service_simple.h diff --git a/src/rdsn/src/meta/dump_file.h b/src/meta/dump_file.h similarity index 100% rename from src/rdsn/src/meta/dump_file.h rename to src/meta/dump_file.h diff --git a/src/rdsn/src/meta/duplication/duplication_info.cpp b/src/meta/duplication/duplication_info.cpp similarity index 100% rename from src/rdsn/src/meta/duplication/duplication_info.cpp rename to src/meta/duplication/duplication_info.cpp diff --git a/src/rdsn/src/meta/duplication/duplication_info.h b/src/meta/duplication/duplication_info.h similarity index 100% rename from src/rdsn/src/meta/duplication/duplication_info.h rename to src/meta/duplication/duplication_info.h diff --git a/src/rdsn/src/meta/duplication/meta_duplication_service.cpp b/src/meta/duplication/meta_duplication_service.cpp similarity index 100% rename from src/rdsn/src/meta/duplication/meta_duplication_service.cpp rename to src/meta/duplication/meta_duplication_service.cpp diff --git a/src/rdsn/src/meta/duplication/meta_duplication_service.h b/src/meta/duplication/meta_duplication_service.h similarity index 100% rename from src/rdsn/src/meta/duplication/meta_duplication_service.h rename to src/meta/duplication/meta_duplication_service.h diff --git a/src/rdsn/src/meta/greedy_load_balancer.cpp b/src/meta/greedy_load_balancer.cpp similarity index 100% rename from src/rdsn/src/meta/greedy_load_balancer.cpp rename to src/meta/greedy_load_balancer.cpp diff --git a/src/rdsn/src/meta/greedy_load_balancer.h b/src/meta/greedy_load_balancer.h similarity index 100% rename from src/rdsn/src/meta/greedy_load_balancer.h rename to src/meta/greedy_load_balancer.h diff --git a/src/rdsn/src/meta/load_balance_policy.cpp b/src/meta/load_balance_policy.cpp similarity index 100% rename from src/rdsn/src/meta/load_balance_policy.cpp rename to src/meta/load_balance_policy.cpp diff --git a/src/rdsn/src/meta/load_balance_policy.h b/src/meta/load_balance_policy.h similarity index 100% rename from src/rdsn/src/meta/load_balance_policy.h rename to src/meta/load_balance_policy.h diff --git a/src/rdsn/src/meta/meta_backup_service.cpp b/src/meta/meta_backup_service.cpp similarity index 100% rename from src/rdsn/src/meta/meta_backup_service.cpp rename to src/meta/meta_backup_service.cpp diff --git a/src/rdsn/src/meta/meta_backup_service.h b/src/meta/meta_backup_service.h similarity index 100% rename from src/rdsn/src/meta/meta_backup_service.h rename to src/meta/meta_backup_service.h diff --git a/src/rdsn/src/meta/meta_bulk_load_ingestion_context.cpp b/src/meta/meta_bulk_load_ingestion_context.cpp similarity index 100% rename from src/rdsn/src/meta/meta_bulk_load_ingestion_context.cpp rename to src/meta/meta_bulk_load_ingestion_context.cpp diff --git a/src/rdsn/src/meta/meta_bulk_load_ingestion_context.h b/src/meta/meta_bulk_load_ingestion_context.h similarity index 100% rename from src/rdsn/src/meta/meta_bulk_load_ingestion_context.h rename to src/meta/meta_bulk_load_ingestion_context.h diff --git a/src/rdsn/src/meta/meta_bulk_load_service.cpp b/src/meta/meta_bulk_load_service.cpp similarity index 100% rename from src/rdsn/src/meta/meta_bulk_load_service.cpp rename to src/meta/meta_bulk_load_service.cpp diff --git a/src/rdsn/src/meta/meta_bulk_load_service.h b/src/meta/meta_bulk_load_service.h similarity index 100% rename from src/rdsn/src/meta/meta_bulk_load_service.h rename to src/meta/meta_bulk_load_service.h diff --git a/src/rdsn/src/meta/meta_data.cpp b/src/meta/meta_data.cpp similarity index 100% rename from src/rdsn/src/meta/meta_data.cpp rename to src/meta/meta_data.cpp diff --git a/src/rdsn/src/meta/meta_data.h b/src/meta/meta_data.h similarity index 100% rename from src/rdsn/src/meta/meta_data.h rename to src/meta/meta_data.h diff --git a/src/rdsn/src/meta/meta_http_service.cpp b/src/meta/meta_http_service.cpp similarity index 100% rename from src/rdsn/src/meta/meta_http_service.cpp rename to src/meta/meta_http_service.cpp diff --git a/src/rdsn/src/meta/meta_http_service.h b/src/meta/meta_http_service.h similarity index 100% rename from src/rdsn/src/meta/meta_http_service.h rename to src/meta/meta_http_service.h diff --git a/src/rdsn/src/meta/meta_options.cpp b/src/meta/meta_options.cpp similarity index 100% rename from src/rdsn/src/meta/meta_options.cpp rename to src/meta/meta_options.cpp diff --git a/src/rdsn/src/meta/meta_options.h b/src/meta/meta_options.h similarity index 100% rename from src/rdsn/src/meta/meta_options.h rename to src/meta/meta_options.h diff --git a/src/rdsn/src/meta/meta_rpc_types.h b/src/meta/meta_rpc_types.h similarity index 100% rename from src/rdsn/src/meta/meta_rpc_types.h rename to src/meta/meta_rpc_types.h diff --git a/src/rdsn/src/meta/meta_server_failure_detector.cpp b/src/meta/meta_server_failure_detector.cpp similarity index 100% rename from src/rdsn/src/meta/meta_server_failure_detector.cpp rename to src/meta/meta_server_failure_detector.cpp diff --git a/src/rdsn/src/meta/meta_server_failure_detector.h b/src/meta/meta_server_failure_detector.h similarity index 100% rename from src/rdsn/src/meta/meta_server_failure_detector.h rename to src/meta/meta_server_failure_detector.h diff --git a/src/rdsn/src/meta/meta_service.cpp b/src/meta/meta_service.cpp similarity index 100% rename from src/rdsn/src/meta/meta_service.cpp rename to src/meta/meta_service.cpp diff --git a/src/rdsn/src/meta/meta_service.h b/src/meta/meta_service.h similarity index 100% rename from src/rdsn/src/meta/meta_service.h rename to src/meta/meta_service.h diff --git a/src/rdsn/src/meta/meta_service_app.cpp b/src/meta/meta_service_app.cpp similarity index 100% rename from src/rdsn/src/meta/meta_service_app.cpp rename to src/meta/meta_service_app.cpp diff --git a/src/rdsn/src/meta/meta_service_app.h b/src/meta/meta_service_app.h similarity index 100% rename from src/rdsn/src/meta/meta_service_app.h rename to src/meta/meta_service_app.h diff --git a/src/rdsn/src/meta/meta_split_service.cpp b/src/meta/meta_split_service.cpp similarity index 100% rename from src/rdsn/src/meta/meta_split_service.cpp rename to src/meta/meta_split_service.cpp diff --git a/src/rdsn/src/meta/meta_split_service.h b/src/meta/meta_split_service.h similarity index 100% rename from src/rdsn/src/meta/meta_split_service.h rename to src/meta/meta_split_service.h diff --git a/src/rdsn/src/meta/meta_state_service.h b/src/meta/meta_state_service.h similarity index 100% rename from src/rdsn/src/meta/meta_state_service.h rename to src/meta/meta_state_service.h diff --git a/src/rdsn/src/meta/meta_state_service_simple.cpp b/src/meta/meta_state_service_simple.cpp similarity index 100% rename from src/rdsn/src/meta/meta_state_service_simple.cpp rename to src/meta/meta_state_service_simple.cpp diff --git a/src/rdsn/src/meta/meta_state_service_simple.h b/src/meta/meta_state_service_simple.h similarity index 100% rename from src/rdsn/src/meta/meta_state_service_simple.h rename to src/meta/meta_state_service_simple.h diff --git a/src/rdsn/src/meta/meta_state_service_utils.cpp b/src/meta/meta_state_service_utils.cpp similarity index 100% rename from src/rdsn/src/meta/meta_state_service_utils.cpp rename to src/meta/meta_state_service_utils.cpp diff --git a/src/rdsn/src/meta/meta_state_service_utils.h b/src/meta/meta_state_service_utils.h similarity index 100% rename from src/rdsn/src/meta/meta_state_service_utils.h rename to src/meta/meta_state_service_utils.h diff --git a/src/rdsn/src/meta/meta_state_service_utils_impl.h b/src/meta/meta_state_service_utils_impl.h similarity index 100% rename from src/rdsn/src/meta/meta_state_service_utils_impl.h rename to src/meta/meta_state_service_utils_impl.h diff --git a/src/rdsn/src/meta/meta_state_service_zookeeper.cpp b/src/meta/meta_state_service_zookeeper.cpp similarity index 100% rename from src/rdsn/src/meta/meta_state_service_zookeeper.cpp rename to src/meta/meta_state_service_zookeeper.cpp diff --git a/src/rdsn/src/meta/meta_state_service_zookeeper.h b/src/meta/meta_state_service_zookeeper.h similarity index 100% rename from src/rdsn/src/meta/meta_state_service_zookeeper.h rename to src/meta/meta_state_service_zookeeper.h diff --git a/src/rdsn/src/meta/partition_guardian.cpp b/src/meta/partition_guardian.cpp similarity index 100% rename from src/rdsn/src/meta/partition_guardian.cpp rename to src/meta/partition_guardian.cpp diff --git a/src/rdsn/src/meta/partition_guardian.h b/src/meta/partition_guardian.h similarity index 100% rename from src/rdsn/src/meta/partition_guardian.h rename to src/meta/partition_guardian.h diff --git a/src/rdsn/src/meta/server_load_balancer.cpp b/src/meta/server_load_balancer.cpp similarity index 100% rename from src/rdsn/src/meta/server_load_balancer.cpp rename to src/meta/server_load_balancer.cpp diff --git a/src/rdsn/src/meta/server_load_balancer.h b/src/meta/server_load_balancer.h similarity index 100% rename from src/rdsn/src/meta/server_load_balancer.h rename to src/meta/server_load_balancer.h diff --git a/src/rdsn/src/meta/server_state.cpp b/src/meta/server_state.cpp similarity index 100% rename from src/rdsn/src/meta/server_state.cpp rename to src/meta/server_state.cpp diff --git a/src/rdsn/src/meta/server_state.h b/src/meta/server_state.h similarity index 100% rename from src/rdsn/src/meta/server_state.h rename to src/meta/server_state.h diff --git a/src/rdsn/src/meta/server_state_restore.cpp b/src/meta/server_state_restore.cpp similarity index 100% rename from src/rdsn/src/meta/server_state_restore.cpp rename to src/meta/server_state_restore.cpp diff --git a/src/rdsn/src/meta/test/CMakeLists.txt b/src/meta/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/meta/test/CMakeLists.txt rename to src/meta/test/CMakeLists.txt diff --git a/src/rdsn/src/meta/test/backup_test.cpp b/src/meta/test/backup_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/backup_test.cpp rename to src/meta/test/backup_test.cpp diff --git a/src/rdsn/src/meta/test/balancer_simulator/CMakeLists.txt b/src/meta/test/balancer_simulator/CMakeLists.txt similarity index 100% rename from src/rdsn/src/meta/test/balancer_simulator/CMakeLists.txt rename to src/meta/test/balancer_simulator/CMakeLists.txt diff --git a/src/rdsn/src/meta/test/balancer_simulator/balancer_simulator.cpp b/src/meta/test/balancer_simulator/balancer_simulator.cpp similarity index 100% rename from src/rdsn/src/meta/test/balancer_simulator/balancer_simulator.cpp rename to src/meta/test/balancer_simulator/balancer_simulator.cpp diff --git a/src/rdsn/src/meta/test/balancer_validator.cpp b/src/meta/test/balancer_validator.cpp similarity index 100% rename from src/rdsn/src/meta/test/balancer_validator.cpp rename to src/meta/test/balancer_validator.cpp diff --git a/src/rdsn/src/meta/test/clear.sh b/src/meta/test/clear.sh similarity index 100% rename from src/rdsn/src/meta/test/clear.sh rename to src/meta/test/clear.sh diff --git a/src/rdsn/src/meta/test/cluster_balance_policy_test.cpp b/src/meta/test/cluster_balance_policy_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/cluster_balance_policy_test.cpp rename to src/meta/test/cluster_balance_policy_test.cpp diff --git a/src/rdsn/src/meta/test/config-test.ini b/src/meta/test/config-test.ini similarity index 100% rename from src/rdsn/src/meta/test/config-test.ini rename to src/meta/test/config-test.ini diff --git a/src/rdsn/src/meta/test/copy_replica_operation_test.cpp b/src/meta/test/copy_replica_operation_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/copy_replica_operation_test.cpp rename to src/meta/test/copy_replica_operation_test.cpp diff --git a/src/rdsn/src/meta/test/dummy_balancer.h b/src/meta/test/dummy_balancer.h similarity index 100% rename from src/rdsn/src/meta/test/dummy_balancer.h rename to src/meta/test/dummy_balancer.h diff --git a/src/rdsn/src/meta/test/dump_file.cpp b/src/meta/test/dump_file.cpp similarity index 100% rename from src/rdsn/src/meta/test/dump_file.cpp rename to src/meta/test/dump_file.cpp diff --git a/src/rdsn/src/meta/test/duplication_info_test.cpp b/src/meta/test/duplication_info_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/duplication_info_test.cpp rename to src/meta/test/duplication_info_test.cpp diff --git a/src/rdsn/src/meta/test/ford_fulkerson_test.cpp b/src/meta/test/ford_fulkerson_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/ford_fulkerson_test.cpp rename to src/meta/test/ford_fulkerson_test.cpp diff --git a/src/rdsn/src/meta/test/json_compacity.cpp b/src/meta/test/json_compacity.cpp similarity index 100% rename from src/rdsn/src/meta/test/json_compacity.cpp rename to src/meta/test/json_compacity.cpp diff --git a/src/rdsn/src/meta/test/main.cpp b/src/meta/test/main.cpp similarity index 100% rename from src/rdsn/src/meta/test/main.cpp rename to src/meta/test/main.cpp diff --git a/src/rdsn/src/meta/test/meta_app_envs_test.cpp b/src/meta/test/meta_app_envs_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_app_envs_test.cpp rename to src/meta/test/meta_app_envs_test.cpp diff --git a/src/rdsn/src/meta/test/meta_app_operation_test.cpp b/src/meta/test/meta_app_operation_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_app_operation_test.cpp rename to src/meta/test/meta_app_operation_test.cpp diff --git a/src/rdsn/src/meta/test/meta_backup_test.cpp b/src/meta/test/meta_backup_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_backup_test.cpp rename to src/meta/test/meta_backup_test.cpp diff --git a/src/rdsn/src/meta/test/meta_bulk_load_ingestion_test.cpp b/src/meta/test/meta_bulk_load_ingestion_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_bulk_load_ingestion_test.cpp rename to src/meta/test/meta_bulk_load_ingestion_test.cpp diff --git a/src/rdsn/src/meta/test/meta_bulk_load_service_test.cpp b/src/meta/test/meta_bulk_load_service_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_bulk_load_service_test.cpp rename to src/meta/test/meta_bulk_load_service_test.cpp diff --git a/src/rdsn/src/meta/test/meta_data.cpp b/src/meta/test/meta_data.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_data.cpp rename to src/meta/test/meta_data.cpp diff --git a/src/rdsn/src/meta/test/meta_duplication_service_test.cpp b/src/meta/test/meta_duplication_service_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_duplication_service_test.cpp rename to src/meta/test/meta_duplication_service_test.cpp diff --git a/src/rdsn/src/meta/test/meta_http_service_test.cpp b/src/meta/test/meta_http_service_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_http_service_test.cpp rename to src/meta/test/meta_http_service_test.cpp diff --git a/src/rdsn/src/meta/test/meta_mauanl_compaction_test.cpp b/src/meta/test/meta_mauanl_compaction_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_mauanl_compaction_test.cpp rename to src/meta/test/meta_mauanl_compaction_test.cpp diff --git a/src/rdsn/src/meta/test/meta_partition_guardian_test.cpp b/src/meta/test/meta_partition_guardian_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_partition_guardian_test.cpp rename to src/meta/test/meta_partition_guardian_test.cpp diff --git a/src/rdsn/src/meta/test/meta_service_test.cpp b/src/meta/test/meta_service_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_service_test.cpp rename to src/meta/test/meta_service_test.cpp diff --git a/src/rdsn/src/meta/test/meta_service_test_app.h b/src/meta/test/meta_service_test_app.h similarity index 100% rename from src/rdsn/src/meta/test/meta_service_test_app.h rename to src/meta/test/meta_service_test_app.h diff --git a/src/rdsn/src/meta/test/meta_split_service_test.cpp b/src/meta/test/meta_split_service_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_split_service_test.cpp rename to src/meta/test/meta_split_service_test.cpp diff --git a/src/rdsn/src/meta/test/meta_state/CMakeLists.txt b/src/meta/test/meta_state/CMakeLists.txt similarity index 100% rename from src/rdsn/src/meta/test/meta_state/CMakeLists.txt rename to src/meta/test/meta_state/CMakeLists.txt diff --git a/src/rdsn/src/meta/test/meta_state/clear.sh b/src/meta/test/meta_state/clear.sh similarity index 100% rename from src/rdsn/src/meta/test/meta_state/clear.sh rename to src/meta/test/meta_state/clear.sh diff --git a/src/rdsn/src/meta/test/meta_state/config-test.ini b/src/meta/test/meta_state/config-test.ini similarity index 100% rename from src/rdsn/src/meta/test/meta_state/config-test.ini rename to src/meta/test/meta_state/config-test.ini diff --git a/src/rdsn/src/meta/test/meta_state/gtest.filter b/src/meta/test/meta_state/gtest.filter similarity index 100% rename from src/rdsn/src/meta/test/meta_state/gtest.filter rename to src/meta/test/meta_state/gtest.filter diff --git a/src/rdsn/src/meta/test/meta_state/main.cpp b/src/meta/test/meta_state/main.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_state/main.cpp rename to src/meta/test/meta_state/main.cpp diff --git a/src/rdsn/src/meta/test/meta_state/meta_state_service.cpp b/src/meta/test/meta_state/meta_state_service.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_state/meta_state_service.cpp rename to src/meta/test/meta_state/meta_state_service.cpp diff --git a/src/rdsn/src/meta/test/meta_state/run.sh b/src/meta/test/meta_state/run.sh similarity index 100% rename from src/rdsn/src/meta/test/meta_state/run.sh rename to src/meta/test/meta_state/run.sh diff --git a/src/rdsn/src/meta/test/meta_state_service_utils_test.cpp b/src/meta/test/meta_state_service_utils_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_state_service_utils_test.cpp rename to src/meta/test/meta_state_service_utils_test.cpp diff --git a/src/rdsn/src/meta/test/meta_test_base.cpp b/src/meta/test/meta_test_base.cpp similarity index 100% rename from src/rdsn/src/meta/test/meta_test_base.cpp rename to src/meta/test/meta_test_base.cpp diff --git a/src/rdsn/src/meta/test/meta_test_base.h b/src/meta/test/meta_test_base.h similarity index 100% rename from src/rdsn/src/meta/test/meta_test_base.h rename to src/meta/test/meta_test_base.h diff --git a/src/rdsn/src/meta/test/misc/misc.cpp b/src/meta/test/misc/misc.cpp similarity index 100% rename from src/rdsn/src/meta/test/misc/misc.cpp rename to src/meta/test/misc/misc.cpp diff --git a/src/rdsn/src/meta/test/misc/misc.h b/src/meta/test/misc/misc.h similarity index 100% rename from src/rdsn/src/meta/test/misc/misc.h rename to src/meta/test/misc/misc.h diff --git a/src/rdsn/src/meta/test/run.sh b/src/meta/test/run.sh similarity index 100% rename from src/rdsn/src/meta/test/run.sh rename to src/meta/test/run.sh diff --git a/src/rdsn/src/meta/test/server_state_restore_test.cpp b/src/meta/test/server_state_restore_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/server_state_restore_test.cpp rename to src/meta/test/server_state_restore_test.cpp diff --git a/src/rdsn/src/meta/test/server_state_test.cpp b/src/meta/test/server_state_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/server_state_test.cpp rename to src/meta/test/server_state_test.cpp diff --git a/src/rdsn/src/meta/test/state_sync_test.cpp b/src/meta/test/state_sync_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/state_sync_test.cpp rename to src/meta/test/state_sync_test.cpp diff --git a/src/rdsn/src/meta/test/suite1 b/src/meta/test/suite1 similarity index 100% rename from src/rdsn/src/meta/test/suite1 rename to src/meta/test/suite1 diff --git a/src/rdsn/src/meta/test/suite2 b/src/meta/test/suite2 similarity index 100% rename from src/rdsn/src/meta/test/suite2 rename to src/meta/test/suite2 diff --git a/src/rdsn/src/meta/test/update_configuration_test.cpp b/src/meta/test/update_configuration_test.cpp similarity index 100% rename from src/rdsn/src/meta/test/update_configuration_test.cpp rename to src/meta/test/update_configuration_test.cpp diff --git a/src/rdsn/src/nfs/CMakeLists.txt b/src/nfs/CMakeLists.txt similarity index 100% rename from src/rdsn/src/nfs/CMakeLists.txt rename to src/nfs/CMakeLists.txt diff --git a/src/rdsn/src/nfs/nfs.thrift b/src/nfs/nfs.thrift similarity index 98% rename from src/rdsn/src/nfs/nfs.thrift rename to src/nfs/nfs.thrift index 16a0e2fced..f5c8245d8e 100644 --- a/src/rdsn/src/nfs/nfs.thrift +++ b/src/nfs/nfs.thrift @@ -24,7 +24,7 @@ * THE SOFTWARE. */ -include "../../../../idl/dsn.thrift" +include "../../idl/dsn.thrift" namespace cpp dsn.service diff --git a/src/rdsn/src/nfs/nfs_client_impl.cpp b/src/nfs/nfs_client_impl.cpp similarity index 100% rename from src/rdsn/src/nfs/nfs_client_impl.cpp rename to src/nfs/nfs_client_impl.cpp diff --git a/src/rdsn/src/nfs/nfs_client_impl.h b/src/nfs/nfs_client_impl.h similarity index 100% rename from src/rdsn/src/nfs/nfs_client_impl.h rename to src/nfs/nfs_client_impl.h diff --git a/src/rdsn/src/nfs/nfs_code_definition.h b/src/nfs/nfs_code_definition.h similarity index 100% rename from src/rdsn/src/nfs/nfs_code_definition.h rename to src/nfs/nfs_code_definition.h diff --git a/src/rdsn/src/nfs/nfs_node.cpp b/src/nfs/nfs_node.cpp similarity index 100% rename from src/rdsn/src/nfs/nfs_node.cpp rename to src/nfs/nfs_node.cpp diff --git a/src/rdsn/src/nfs/nfs_node.h b/src/nfs/nfs_node.h similarity index 100% rename from src/rdsn/src/nfs/nfs_node.h rename to src/nfs/nfs_node.h diff --git a/src/rdsn/src/nfs/nfs_node_impl.cpp b/src/nfs/nfs_node_impl.cpp similarity index 100% rename from src/rdsn/src/nfs/nfs_node_impl.cpp rename to src/nfs/nfs_node_impl.cpp diff --git a/src/rdsn/src/nfs/nfs_node_simple.h b/src/nfs/nfs_node_simple.h similarity index 100% rename from src/rdsn/src/nfs/nfs_node_simple.h rename to src/nfs/nfs_node_simple.h diff --git a/src/rdsn/src/nfs/nfs_server_impl.cpp b/src/nfs/nfs_server_impl.cpp similarity index 100% rename from src/rdsn/src/nfs/nfs_server_impl.cpp rename to src/nfs/nfs_server_impl.cpp diff --git a/src/rdsn/src/nfs/nfs_server_impl.h b/src/nfs/nfs_server_impl.h similarity index 100% rename from src/rdsn/src/nfs/nfs_server_impl.h rename to src/nfs/nfs_server_impl.h diff --git a/src/rdsn/src/nfs/test/CMakeLists.txt b/src/nfs/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/nfs/test/CMakeLists.txt rename to src/nfs/test/CMakeLists.txt diff --git a/src/rdsn/src/nfs/test/clear.sh b/src/nfs/test/clear.sh similarity index 100% rename from src/rdsn/src/nfs/test/clear.sh rename to src/nfs/test/clear.sh diff --git a/src/rdsn/src/nfs/test/config.ini b/src/nfs/test/config.ini similarity index 100% rename from src/rdsn/src/nfs/test/config.ini rename to src/nfs/test/config.ini diff --git a/src/rdsn/src/nfs/test/main.cpp b/src/nfs/test/main.cpp similarity index 100% rename from src/rdsn/src/nfs/test/main.cpp rename to src/nfs/test/main.cpp diff --git a/src/rdsn/src/nfs/test/nfs_test_file1 b/src/nfs/test/nfs_test_file1 similarity index 100% rename from src/rdsn/src/nfs/test/nfs_test_file1 rename to src/nfs/test/nfs_test_file1 diff --git a/src/rdsn/src/nfs/test/nfs_test_file2 b/src/nfs/test/nfs_test_file2 similarity index 100% rename from src/rdsn/src/nfs/test/nfs_test_file2 rename to src/nfs/test/nfs_test_file2 diff --git a/src/rdsn/src/nfs/test/run.sh b/src/nfs/test/run.sh similarity index 100% rename from src/rdsn/src/nfs/test/run.sh rename to src/nfs/test/run.sh diff --git a/src/rdsn/src/perf_counter/CMakeLists.txt b/src/perf_counter/CMakeLists.txt similarity index 100% rename from src/rdsn/src/perf_counter/CMakeLists.txt rename to src/perf_counter/CMakeLists.txt diff --git a/src/rdsn/src/perf_counter/builtin_counters.cpp b/src/perf_counter/builtin_counters.cpp similarity index 100% rename from src/rdsn/src/perf_counter/builtin_counters.cpp rename to src/perf_counter/builtin_counters.cpp diff --git a/src/rdsn/src/perf_counter/builtin_counters.h b/src/perf_counter/builtin_counters.h similarity index 100% rename from src/rdsn/src/perf_counter/builtin_counters.h rename to src/perf_counter/builtin_counters.h diff --git a/src/rdsn/src/perf_counter/perf_counter.cpp b/src/perf_counter/perf_counter.cpp similarity index 100% rename from src/rdsn/src/perf_counter/perf_counter.cpp rename to src/perf_counter/perf_counter.cpp diff --git a/src/rdsn/src/perf_counter/perf_counter.h b/src/perf_counter/perf_counter.h similarity index 100% rename from src/rdsn/src/perf_counter/perf_counter.h rename to src/perf_counter/perf_counter.h diff --git a/src/rdsn/src/perf_counter/perf_counter_atomic.h b/src/perf_counter/perf_counter_atomic.h similarity index 100% rename from src/rdsn/src/perf_counter/perf_counter_atomic.h rename to src/perf_counter/perf_counter_atomic.h diff --git a/src/rdsn/src/perf_counter/perf_counter_utils.h b/src/perf_counter/perf_counter_utils.h similarity index 100% rename from src/rdsn/src/perf_counter/perf_counter_utils.h rename to src/perf_counter/perf_counter_utils.h diff --git a/src/rdsn/src/perf_counter/perf_counter_wrapper.h b/src/perf_counter/perf_counter_wrapper.h similarity index 100% rename from src/rdsn/src/perf_counter/perf_counter_wrapper.h rename to src/perf_counter/perf_counter_wrapper.h diff --git a/src/rdsn/src/perf_counter/perf_counters.cpp b/src/perf_counter/perf_counters.cpp similarity index 100% rename from src/rdsn/src/perf_counter/perf_counters.cpp rename to src/perf_counter/perf_counters.cpp diff --git a/src/rdsn/src/perf_counter/perf_counters.h b/src/perf_counter/perf_counters.h similarity index 100% rename from src/rdsn/src/perf_counter/perf_counters.h rename to src/perf_counter/perf_counters.h diff --git a/src/rdsn/src/perf_counter/test/CMakeLists.txt b/src/perf_counter/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/perf_counter/test/CMakeLists.txt rename to src/perf_counter/test/CMakeLists.txt diff --git a/src/rdsn/src/perf_counter/test/clear.sh b/src/perf_counter/test/clear.sh similarity index 100% rename from src/rdsn/src/perf_counter/test/clear.sh rename to src/perf_counter/test/clear.sh diff --git a/src/rdsn/src/perf_counter/test/main.cpp b/src/perf_counter/test/main.cpp similarity index 100% rename from src/rdsn/src/perf_counter/test/main.cpp rename to src/perf_counter/test/main.cpp diff --git a/src/rdsn/src/perf_counter/test/perf_counter_test.cpp b/src/perf_counter/test/perf_counter_test.cpp similarity index 100% rename from src/rdsn/src/perf_counter/test/perf_counter_test.cpp rename to src/perf_counter/test/perf_counter_test.cpp diff --git a/src/rdsn/src/perf_counter/test/perf_counters_test.cpp b/src/perf_counter/test/perf_counters_test.cpp similarity index 100% rename from src/rdsn/src/perf_counter/test/perf_counters_test.cpp rename to src/perf_counter/test/perf_counters_test.cpp diff --git a/src/rdsn/src/perf_counter/test/run.sh b/src/perf_counter/test/run.sh similarity index 100% rename from src/rdsn/src/perf_counter/test/run.sh rename to src/perf_counter/test/run.sh diff --git a/src/rdsn/src/CMakeLists.txt b/src/rdsn/src/CMakeLists.txt deleted file mode 100644 index 35f9d30261..0000000000 --- a/src/rdsn/src/CMakeLists.txt +++ /dev/null @@ -1,43 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -get_filename_component(RDSN_PROJECT_ROOT ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY) -message (STATUS "RDSN_PROJECT_ROOT = " ${RDSN_PROJECT_ROOT}) - -# remove? -set(DSN_BUILD_RUNTIME TRUE) - -dsn_common_setup() - -if(UNIX) - add_compile_options(-fPIC) -endif() -add_subdirectory(runtime) -add_subdirectory(aio) -add_subdirectory(zookeeper) -add_subdirectory(perf_counter) -add_subdirectory(failure_detector) -add_subdirectory(remote_cmd) -add_subdirectory(nfs) -add_subdirectory(block_service) -add_subdirectory(http) -add_subdirectory(client) -add_subdirectory(common) -add_subdirectory(replica) -add_subdirectory(meta) -add_subdirectory(tools) -add_subdirectory(utils) diff --git a/src/rdsn/src/remote_cmd/CMakeLists.txt b/src/remote_cmd/CMakeLists.txt similarity index 100% rename from src/rdsn/src/remote_cmd/CMakeLists.txt rename to src/remote_cmd/CMakeLists.txt diff --git a/src/rdsn/src/remote_cmd/command.thrift b/src/remote_cmd/command.thrift similarity index 100% rename from src/rdsn/src/remote_cmd/command.thrift rename to src/remote_cmd/command.thrift diff --git a/src/rdsn/src/remote_cmd/remote_command.cpp b/src/remote_cmd/remote_command.cpp similarity index 100% rename from src/rdsn/src/remote_cmd/remote_command.cpp rename to src/remote_cmd/remote_command.cpp diff --git a/src/rdsn/src/remote_cmd/remote_command.h b/src/remote_cmd/remote_command.h similarity index 100% rename from src/rdsn/src/remote_cmd/remote_command.h rename to src/remote_cmd/remote_command.h diff --git a/src/rdsn/src/replica/CMakeLists.txt b/src/replica/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/CMakeLists.txt rename to src/replica/CMakeLists.txt diff --git a/src/rdsn/src/replica/backup/cold_backup_context.cpp b/src/replica/backup/cold_backup_context.cpp similarity index 100% rename from src/rdsn/src/replica/backup/cold_backup_context.cpp rename to src/replica/backup/cold_backup_context.cpp diff --git a/src/rdsn/src/replica/backup/cold_backup_context.h b/src/replica/backup/cold_backup_context.h similarity index 100% rename from src/rdsn/src/replica/backup/cold_backup_context.h rename to src/replica/backup/cold_backup_context.h diff --git a/src/rdsn/src/replica/backup/replica_backup_manager.cpp b/src/replica/backup/replica_backup_manager.cpp similarity index 100% rename from src/rdsn/src/replica/backup/replica_backup_manager.cpp rename to src/replica/backup/replica_backup_manager.cpp diff --git a/src/rdsn/src/replica/backup/replica_backup_manager.h b/src/replica/backup/replica_backup_manager.h similarity index 100% rename from src/rdsn/src/replica/backup/replica_backup_manager.h rename to src/replica/backup/replica_backup_manager.h diff --git a/src/rdsn/src/replica/backup/replica_backup_server.cpp b/src/replica/backup/replica_backup_server.cpp similarity index 100% rename from src/rdsn/src/replica/backup/replica_backup_server.cpp rename to src/replica/backup/replica_backup_server.cpp diff --git a/src/rdsn/src/replica/backup/replica_backup_server.h b/src/replica/backup/replica_backup_server.h similarity index 100% rename from src/rdsn/src/replica/backup/replica_backup_server.h rename to src/replica/backup/replica_backup_server.h diff --git a/src/rdsn/src/replica/backup/test/CMakeLists.txt b/src/replica/backup/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/backup/test/CMakeLists.txt rename to src/replica/backup/test/CMakeLists.txt diff --git a/src/rdsn/src/replica/backup/test/config-test.ini b/src/replica/backup/test/config-test.ini similarity index 100% rename from src/rdsn/src/replica/backup/test/config-test.ini rename to src/replica/backup/test/config-test.ini diff --git a/src/rdsn/src/replica/backup/test/main.cpp b/src/replica/backup/test/main.cpp similarity index 100% rename from src/rdsn/src/replica/backup/test/main.cpp rename to src/replica/backup/test/main.cpp diff --git a/src/rdsn/src/replica/backup/test/replica_backup_manager_test.cpp b/src/replica/backup/test/replica_backup_manager_test.cpp similarity index 100% rename from src/rdsn/src/replica/backup/test/replica_backup_manager_test.cpp rename to src/replica/backup/test/replica_backup_manager_test.cpp diff --git a/src/rdsn/src/replica/backup/test/run.sh b/src/replica/backup/test/run.sh similarity index 100% rename from src/rdsn/src/replica/backup/test/run.sh rename to src/replica/backup/test/run.sh diff --git a/src/rdsn/src/replica/bulk_load/replica_bulk_loader.cpp b/src/replica/bulk_load/replica_bulk_loader.cpp similarity index 100% rename from src/rdsn/src/replica/bulk_load/replica_bulk_loader.cpp rename to src/replica/bulk_load/replica_bulk_loader.cpp diff --git a/src/rdsn/src/replica/bulk_load/replica_bulk_loader.h b/src/replica/bulk_load/replica_bulk_loader.h similarity index 100% rename from src/rdsn/src/replica/bulk_load/replica_bulk_loader.h rename to src/replica/bulk_load/replica_bulk_loader.h diff --git a/src/rdsn/src/replica/bulk_load/test/CMakeLists.txt b/src/replica/bulk_load/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/bulk_load/test/CMakeLists.txt rename to src/replica/bulk_load/test/CMakeLists.txt diff --git a/src/rdsn/src/replica/bulk_load/test/config-test.ini b/src/replica/bulk_load/test/config-test.ini similarity index 100% rename from src/rdsn/src/replica/bulk_load/test/config-test.ini rename to src/replica/bulk_load/test/config-test.ini diff --git a/src/rdsn/src/replica/bulk_load/test/main.cpp b/src/replica/bulk_load/test/main.cpp similarity index 100% rename from src/rdsn/src/replica/bulk_load/test/main.cpp rename to src/replica/bulk_load/test/main.cpp diff --git a/src/rdsn/src/replica/bulk_load/test/replica_bulk_loader_test.cpp b/src/replica/bulk_load/test/replica_bulk_loader_test.cpp similarity index 100% rename from src/rdsn/src/replica/bulk_load/test/replica_bulk_loader_test.cpp rename to src/replica/bulk_load/test/replica_bulk_loader_test.cpp diff --git a/src/rdsn/src/replica/bulk_load/test/run.sh b/src/replica/bulk_load/test/run.sh similarity index 100% rename from src/rdsn/src/replica/bulk_load/test/run.sh rename to src/replica/bulk_load/test/run.sh diff --git a/src/rdsn/src/replica/disk_cleaner.cpp b/src/replica/disk_cleaner.cpp similarity index 100% rename from src/rdsn/src/replica/disk_cleaner.cpp rename to src/replica/disk_cleaner.cpp diff --git a/src/rdsn/src/replica/disk_cleaner.h b/src/replica/disk_cleaner.h similarity index 100% rename from src/rdsn/src/replica/disk_cleaner.h rename to src/replica/disk_cleaner.h diff --git a/src/rdsn/src/replica/duplication/duplication_pipeline.cpp b/src/replica/duplication/duplication_pipeline.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/duplication_pipeline.cpp rename to src/replica/duplication/duplication_pipeline.cpp diff --git a/src/rdsn/src/replica/duplication/duplication_pipeline.h b/src/replica/duplication/duplication_pipeline.h similarity index 100% rename from src/rdsn/src/replica/duplication/duplication_pipeline.h rename to src/replica/duplication/duplication_pipeline.h diff --git a/src/rdsn/src/replica/duplication/duplication_sync_timer.cpp b/src/replica/duplication/duplication_sync_timer.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/duplication_sync_timer.cpp rename to src/replica/duplication/duplication_sync_timer.cpp diff --git a/src/rdsn/src/replica/duplication/duplication_sync_timer.h b/src/replica/duplication/duplication_sync_timer.h similarity index 100% rename from src/rdsn/src/replica/duplication/duplication_sync_timer.h rename to src/replica/duplication/duplication_sync_timer.h diff --git a/src/rdsn/src/replica/duplication/load_from_private_log.cpp b/src/replica/duplication/load_from_private_log.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/load_from_private_log.cpp rename to src/replica/duplication/load_from_private_log.cpp diff --git a/src/rdsn/src/replica/duplication/load_from_private_log.h b/src/replica/duplication/load_from_private_log.h similarity index 100% rename from src/rdsn/src/replica/duplication/load_from_private_log.h rename to src/replica/duplication/load_from_private_log.h diff --git a/src/rdsn/src/replica/duplication/mutation_batch.cpp b/src/replica/duplication/mutation_batch.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/mutation_batch.cpp rename to src/replica/duplication/mutation_batch.cpp diff --git a/src/rdsn/src/replica/duplication/mutation_batch.h b/src/replica/duplication/mutation_batch.h similarity index 100% rename from src/rdsn/src/replica/duplication/mutation_batch.h rename to src/replica/duplication/mutation_batch.h diff --git a/src/rdsn/src/replica/duplication/mutation_duplicator.h b/src/replica/duplication/mutation_duplicator.h similarity index 100% rename from src/rdsn/src/replica/duplication/mutation_duplicator.h rename to src/replica/duplication/mutation_duplicator.h diff --git a/src/rdsn/src/replica/duplication/replica_duplicator.cpp b/src/replica/duplication/replica_duplicator.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/replica_duplicator.cpp rename to src/replica/duplication/replica_duplicator.cpp diff --git a/src/rdsn/src/replica/duplication/replica_duplicator.h b/src/replica/duplication/replica_duplicator.h similarity index 100% rename from src/rdsn/src/replica/duplication/replica_duplicator.h rename to src/replica/duplication/replica_duplicator.h diff --git a/src/rdsn/src/replica/duplication/replica_duplicator_manager.cpp b/src/replica/duplication/replica_duplicator_manager.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/replica_duplicator_manager.cpp rename to src/replica/duplication/replica_duplicator_manager.cpp diff --git a/src/rdsn/src/replica/duplication/replica_duplicator_manager.h b/src/replica/duplication/replica_duplicator_manager.h similarity index 100% rename from src/rdsn/src/replica/duplication/replica_duplicator_manager.h rename to src/replica/duplication/replica_duplicator_manager.h diff --git a/src/rdsn/src/replica/duplication/replica_follower.cpp b/src/replica/duplication/replica_follower.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/replica_follower.cpp rename to src/replica/duplication/replica_follower.cpp diff --git a/src/rdsn/src/replica/duplication/replica_follower.h b/src/replica/duplication/replica_follower.h similarity index 100% rename from src/rdsn/src/replica/duplication/replica_follower.h rename to src/replica/duplication/replica_follower.h diff --git a/src/rdsn/src/replica/duplication/test/CMakeLists.txt b/src/replica/duplication/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/duplication/test/CMakeLists.txt rename to src/replica/duplication/test/CMakeLists.txt diff --git a/src/rdsn/src/replica/duplication/test/config-test.ini b/src/replica/duplication/test/config-test.ini similarity index 100% rename from src/rdsn/src/replica/duplication/test/config-test.ini rename to src/replica/duplication/test/config-test.ini diff --git a/src/rdsn/src/replica/duplication/test/duplication_sync_timer_test.cpp b/src/replica/duplication/test/duplication_sync_timer_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/duplication_sync_timer_test.cpp rename to src/replica/duplication/test/duplication_sync_timer_test.cpp diff --git a/src/rdsn/src/replica/duplication/test/duplication_test_base.h b/src/replica/duplication/test/duplication_test_base.h similarity index 100% rename from src/rdsn/src/replica/duplication/test/duplication_test_base.h rename to src/replica/duplication/test/duplication_test_base.h diff --git a/src/rdsn/src/replica/duplication/test/load_from_private_log_test.cpp b/src/replica/duplication/test/load_from_private_log_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/load_from_private_log_test.cpp rename to src/replica/duplication/test/load_from_private_log_test.cpp diff --git a/src/rdsn/src/replica/duplication/test/log.1.0.all_loaded_are_write_empties b/src/replica/duplication/test/log.1.0.all_loaded_are_write_empties similarity index 100% rename from src/rdsn/src/replica/duplication/test/log.1.0.all_loaded_are_write_empties rename to src/replica/duplication/test/log.1.0.all_loaded_are_write_empties diff --git a/src/rdsn/src/replica/duplication/test/log.1.0.handle_real_private_log b/src/replica/duplication/test/log.1.0.handle_real_private_log similarity index 100% rename from src/rdsn/src/replica/duplication/test/log.1.0.handle_real_private_log rename to src/replica/duplication/test/log.1.0.handle_real_private_log diff --git a/src/rdsn/src/replica/duplication/test/log.1.0.handle_real_private_log2 b/src/replica/duplication/test/log.1.0.handle_real_private_log2 similarity index 100% rename from src/rdsn/src/replica/duplication/test/log.1.0.handle_real_private_log2 rename to src/replica/duplication/test/log.1.0.handle_real_private_log2 diff --git a/src/rdsn/src/replica/duplication/test/main.cpp b/src/replica/duplication/test/main.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/main.cpp rename to src/replica/duplication/test/main.cpp diff --git a/src/rdsn/src/replica/duplication/test/mutation_batch_test.cpp b/src/replica/duplication/test/mutation_batch_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/mutation_batch_test.cpp rename to src/replica/duplication/test/mutation_batch_test.cpp diff --git a/src/rdsn/src/replica/duplication/test/replica_duplicator_manager_test.cpp b/src/replica/duplication/test/replica_duplicator_manager_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/replica_duplicator_manager_test.cpp rename to src/replica/duplication/test/replica_duplicator_manager_test.cpp diff --git a/src/rdsn/src/replica/duplication/test/replica_duplicator_test.cpp b/src/replica/duplication/test/replica_duplicator_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/replica_duplicator_test.cpp rename to src/replica/duplication/test/replica_duplicator_test.cpp diff --git a/src/rdsn/src/replica/duplication/test/replica_follower_test.cpp b/src/replica/duplication/test/replica_follower_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/replica_follower_test.cpp rename to src/replica/duplication/test/replica_follower_test.cpp diff --git a/src/rdsn/src/replica/duplication/test/replica_http_service_test.cpp b/src/replica/duplication/test/replica_http_service_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/replica_http_service_test.cpp rename to src/replica/duplication/test/replica_http_service_test.cpp diff --git a/src/rdsn/src/replica/duplication/test/run.sh b/src/replica/duplication/test/run.sh similarity index 100% rename from src/rdsn/src/replica/duplication/test/run.sh rename to src/replica/duplication/test/run.sh diff --git a/src/rdsn/src/replica/duplication/test/ship_mutation_test.cpp b/src/replica/duplication/test/ship_mutation_test.cpp similarity index 100% rename from src/rdsn/src/replica/duplication/test/ship_mutation_test.cpp rename to src/replica/duplication/test/ship_mutation_test.cpp diff --git a/src/rdsn/src/replica/log_block.cpp b/src/replica/log_block.cpp similarity index 100% rename from src/rdsn/src/replica/log_block.cpp rename to src/replica/log_block.cpp diff --git a/src/rdsn/src/replica/log_block.h b/src/replica/log_block.h similarity index 100% rename from src/rdsn/src/replica/log_block.h rename to src/replica/log_block.h diff --git a/src/rdsn/src/replica/log_file.cpp b/src/replica/log_file.cpp similarity index 100% rename from src/rdsn/src/replica/log_file.cpp rename to src/replica/log_file.cpp diff --git a/src/rdsn/src/replica/log_file.h b/src/replica/log_file.h similarity index 100% rename from src/rdsn/src/replica/log_file.h rename to src/replica/log_file.h diff --git a/src/rdsn/src/replica/log_file_stream.h b/src/replica/log_file_stream.h similarity index 100% rename from src/rdsn/src/replica/log_file_stream.h rename to src/replica/log_file_stream.h diff --git a/src/rdsn/src/replica/mutation.cpp b/src/replica/mutation.cpp similarity index 100% rename from src/rdsn/src/replica/mutation.cpp rename to src/replica/mutation.cpp diff --git a/src/rdsn/src/replica/mutation.h b/src/replica/mutation.h similarity index 100% rename from src/rdsn/src/replica/mutation.h rename to src/replica/mutation.h diff --git a/src/rdsn/src/replica/mutation_cache.cpp b/src/replica/mutation_cache.cpp similarity index 100% rename from src/rdsn/src/replica/mutation_cache.cpp rename to src/replica/mutation_cache.cpp diff --git a/src/rdsn/src/replica/mutation_cache.h b/src/replica/mutation_cache.h similarity index 100% rename from src/rdsn/src/replica/mutation_cache.h rename to src/replica/mutation_cache.h diff --git a/src/rdsn/src/replica/mutation_log.cpp b/src/replica/mutation_log.cpp similarity index 100% rename from src/rdsn/src/replica/mutation_log.cpp rename to src/replica/mutation_log.cpp diff --git a/src/rdsn/src/replica/mutation_log.h b/src/replica/mutation_log.h similarity index 100% rename from src/rdsn/src/replica/mutation_log.h rename to src/replica/mutation_log.h diff --git a/src/rdsn/src/replica/mutation_log_replay.cpp b/src/replica/mutation_log_replay.cpp similarity index 100% rename from src/rdsn/src/replica/mutation_log_replay.cpp rename to src/replica/mutation_log_replay.cpp diff --git a/src/rdsn/src/replica/mutation_log_utils.cpp b/src/replica/mutation_log_utils.cpp similarity index 100% rename from src/rdsn/src/replica/mutation_log_utils.cpp rename to src/replica/mutation_log_utils.cpp diff --git a/src/rdsn/src/replica/mutation_log_utils.h b/src/replica/mutation_log_utils.h similarity index 100% rename from src/rdsn/src/replica/mutation_log_utils.h rename to src/replica/mutation_log_utils.h diff --git a/src/rdsn/src/replica/prepare_list.cpp b/src/replica/prepare_list.cpp similarity index 100% rename from src/rdsn/src/replica/prepare_list.cpp rename to src/replica/prepare_list.cpp diff --git a/src/rdsn/src/replica/prepare_list.h b/src/replica/prepare_list.h similarity index 100% rename from src/rdsn/src/replica/prepare_list.h rename to src/replica/prepare_list.h diff --git a/src/rdsn/src/replica/replica.cpp b/src/replica/replica.cpp similarity index 100% rename from src/rdsn/src/replica/replica.cpp rename to src/replica/replica.cpp diff --git a/src/rdsn/src/replica/replica.h b/src/replica/replica.h similarity index 100% rename from src/rdsn/src/replica/replica.h rename to src/replica/replica.h diff --git a/src/rdsn/src/replica/replica_2pc.cpp b/src/replica/replica_2pc.cpp similarity index 100% rename from src/rdsn/src/replica/replica_2pc.cpp rename to src/replica/replica_2pc.cpp diff --git a/src/rdsn/src/replica/replica_backup.cpp b/src/replica/replica_backup.cpp similarity index 100% rename from src/rdsn/src/replica/replica_backup.cpp rename to src/replica/replica_backup.cpp diff --git a/src/rdsn/src/replica/replica_base.h b/src/replica/replica_base.h similarity index 100% rename from src/rdsn/src/replica/replica_base.h rename to src/replica/replica_base.h diff --git a/src/rdsn/src/replica/replica_check.cpp b/src/replica/replica_check.cpp similarity index 100% rename from src/rdsn/src/replica/replica_check.cpp rename to src/replica/replica_check.cpp diff --git a/src/rdsn/src/replica/replica_chkpt.cpp b/src/replica/replica_chkpt.cpp similarity index 100% rename from src/rdsn/src/replica/replica_chkpt.cpp rename to src/replica/replica_chkpt.cpp diff --git a/src/rdsn/src/replica/replica_config.cpp b/src/replica/replica_config.cpp similarity index 100% rename from src/rdsn/src/replica/replica_config.cpp rename to src/replica/replica_config.cpp diff --git a/src/rdsn/src/replica/replica_context.cpp b/src/replica/replica_context.cpp similarity index 100% rename from src/rdsn/src/replica/replica_context.cpp rename to src/replica/replica_context.cpp diff --git a/src/rdsn/src/replica/replica_context.h b/src/replica/replica_context.h similarity index 100% rename from src/rdsn/src/replica/replica_context.h rename to src/replica/replica_context.h diff --git a/src/rdsn/src/replica/replica_disk_migrator.cpp b/src/replica/replica_disk_migrator.cpp similarity index 100% rename from src/rdsn/src/replica/replica_disk_migrator.cpp rename to src/replica/replica_disk_migrator.cpp diff --git a/src/rdsn/src/replica/replica_disk_migrator.h b/src/replica/replica_disk_migrator.h similarity index 100% rename from src/rdsn/src/replica/replica_disk_migrator.h rename to src/replica/replica_disk_migrator.h diff --git a/src/rdsn/src/replica/replica_failover.cpp b/src/replica/replica_failover.cpp similarity index 100% rename from src/rdsn/src/replica/replica_failover.cpp rename to src/replica/replica_failover.cpp diff --git a/src/rdsn/src/replica/replica_http_service.cpp b/src/replica/replica_http_service.cpp similarity index 100% rename from src/rdsn/src/replica/replica_http_service.cpp rename to src/replica/replica_http_service.cpp diff --git a/src/rdsn/src/replica/replica_http_service.h b/src/replica/replica_http_service.h similarity index 100% rename from src/rdsn/src/replica/replica_http_service.h rename to src/replica/replica_http_service.h diff --git a/src/rdsn/src/replica/replica_init.cpp b/src/replica/replica_init.cpp similarity index 100% rename from src/rdsn/src/replica/replica_init.cpp rename to src/replica/replica_init.cpp diff --git a/src/rdsn/src/replica/replica_learn.cpp b/src/replica/replica_learn.cpp similarity index 100% rename from src/rdsn/src/replica/replica_learn.cpp rename to src/replica/replica_learn.cpp diff --git a/src/rdsn/src/replica/replica_restore.cpp b/src/replica/replica_restore.cpp similarity index 100% rename from src/rdsn/src/replica/replica_restore.cpp rename to src/replica/replica_restore.cpp diff --git a/src/rdsn/src/replica/replica_stub.cpp b/src/replica/replica_stub.cpp similarity index 100% rename from src/rdsn/src/replica/replica_stub.cpp rename to src/replica/replica_stub.cpp diff --git a/src/rdsn/src/replica/replica_stub.h b/src/replica/replica_stub.h similarity index 100% rename from src/rdsn/src/replica/replica_stub.h rename to src/replica/replica_stub.h diff --git a/src/rdsn/src/replica/replica_test_utils.cpp b/src/replica/replica_test_utils.cpp similarity index 100% rename from src/rdsn/src/replica/replica_test_utils.cpp rename to src/replica/replica_test_utils.cpp diff --git a/src/rdsn/src/replica/replica_test_utils.h b/src/replica/replica_test_utils.h similarity index 100% rename from src/rdsn/src/replica/replica_test_utils.h rename to src/replica/replica_test_utils.h diff --git a/src/rdsn/src/replica/replica_throttle.cpp b/src/replica/replica_throttle.cpp similarity index 100% rename from src/rdsn/src/replica/replica_throttle.cpp rename to src/replica/replica_throttle.cpp diff --git a/src/rdsn/src/replica/replication_app_base.cpp b/src/replica/replication_app_base.cpp similarity index 100% rename from src/rdsn/src/replica/replication_app_base.cpp rename to src/replica/replication_app_base.cpp diff --git a/src/rdsn/src/replica/replication_app_base.h b/src/replica/replication_app_base.h similarity index 100% rename from src/rdsn/src/replica/replication_app_base.h rename to src/replica/replication_app_base.h diff --git a/src/rdsn/src/replica/replication_service_app.cpp b/src/replica/replication_service_app.cpp similarity index 100% rename from src/rdsn/src/replica/replication_service_app.cpp rename to src/replica/replication_service_app.cpp diff --git a/src/rdsn/src/replica/replication_service_app.h b/src/replica/replication_service_app.h similarity index 100% rename from src/rdsn/src/replica/replication_service_app.h rename to src/replica/replication_service_app.h diff --git a/src/rdsn/src/replica/split/replica_split_manager.cpp b/src/replica/split/replica_split_manager.cpp similarity index 100% rename from src/rdsn/src/replica/split/replica_split_manager.cpp rename to src/replica/split/replica_split_manager.cpp diff --git a/src/rdsn/src/replica/split/replica_split_manager.h b/src/replica/split/replica_split_manager.h similarity index 100% rename from src/rdsn/src/replica/split/replica_split_manager.h rename to src/replica/split/replica_split_manager.h diff --git a/src/rdsn/src/replica/split/test/CMakeLists.txt b/src/replica/split/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/split/test/CMakeLists.txt rename to src/replica/split/test/CMakeLists.txt diff --git a/src/rdsn/src/replica/split/test/config-test.ini b/src/replica/split/test/config-test.ini similarity index 100% rename from src/rdsn/src/replica/split/test/config-test.ini rename to src/replica/split/test/config-test.ini diff --git a/src/rdsn/src/replica/split/test/main.cpp b/src/replica/split/test/main.cpp similarity index 100% rename from src/rdsn/src/replica/split/test/main.cpp rename to src/replica/split/test/main.cpp diff --git a/src/rdsn/src/replica/split/test/replica_split_test.cpp b/src/replica/split/test/replica_split_test.cpp similarity index 100% rename from src/rdsn/src/replica/split/test/replica_split_test.cpp rename to src/replica/split/test/replica_split_test.cpp diff --git a/src/rdsn/src/replica/split/test/run.sh b/src/replica/split/test/run.sh similarity index 100% rename from src/rdsn/src/replica/split/test/run.sh rename to src/replica/split/test/run.sh diff --git a/src/rdsn/src/replica/storage/CMakeLists.txt b/src/replica/storage/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/storage/CMakeLists.txt rename to src/replica/storage/CMakeLists.txt diff --git a/src/rdsn/src/replica/storage/simple_kv/CMakeLists.txt b/src/replica/storage/simple_kv/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/CMakeLists.txt rename to src/replica/storage/simple_kv/CMakeLists.txt diff --git a/src/rdsn/src/replica/storage/simple_kv/clear.sh b/src/replica/storage/simple_kv/clear.sh similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/clear.sh rename to src/replica/storage/simple_kv/clear.sh diff --git a/src/rdsn/src/replica/storage/simple_kv/config.ini b/src/replica/storage/simple_kv/config.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/config.ini rename to src/replica/storage/simple_kv/config.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/run.sh b/src/replica/storage/simple_kv/run.sh similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/run.sh rename to src/replica/storage/simple_kv/run.sh diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.app.example.h b/src/replica/storage/simple_kv/simple_kv.app.example.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.app.example.h rename to src/replica/storage/simple_kv/simple_kv.app.example.h diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.client.h b/src/replica/storage/simple_kv/simple_kv.client.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.client.h rename to src/replica/storage/simple_kv/simple_kv.client.h diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.code.definition.h b/src/replica/storage/simple_kv/simple_kv.code.definition.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.code.definition.h rename to src/replica/storage/simple_kv/simple_kv.code.definition.h diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.main.cpp b/src/replica/storage/simple_kv/simple_kv.main.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.main.cpp rename to src/replica/storage/simple_kv/simple_kv.main.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.server.h b/src/replica/storage/simple_kv/simple_kv.server.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.server.h rename to src/replica/storage/simple_kv/simple_kv.server.h diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.server.impl.cpp b/src/replica/storage/simple_kv/simple_kv.server.impl.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.server.impl.cpp rename to src/replica/storage/simple_kv/simple_kv.server.impl.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.server.impl.h b/src/replica/storage/simple_kv/simple_kv.server.impl.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.server.impl.h rename to src/replica/storage/simple_kv/simple_kv.server.impl.h diff --git a/src/rdsn/src/replica/storage/simple_kv/simple_kv.thrift b/src/replica/storage/simple_kv/simple_kv.thrift similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/simple_kv.thrift rename to src/replica/storage/simple_kv/simple_kv.thrift diff --git a/src/rdsn/src/replica/storage/simple_kv/test/CMakeLists.txt b/src/replica/storage/simple_kv/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/CMakeLists.txt rename to src/replica/storage/simple_kv/test/CMakeLists.txt diff --git a/src/rdsn/src/replica/storage/simple_kv/test/README.md b/src/replica/storage/simple_kv/test/README.md similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/README.md rename to src/replica/storage/simple_kv/test/README.md diff --git a/src/rdsn/src/replica/storage/simple_kv/test/addcase.sh b/src/replica/storage/simple_kv/test/addcase.sh similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/addcase.sh rename to src/replica/storage/simple_kv/test/addcase.sh diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-000.act b/src/replica/storage/simple_kv/test/case-000.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-000.act rename to src/replica/storage/simple_kv/test/case-000.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-000.ini b/src/replica/storage/simple_kv/test/case-000.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-000.ini rename to src/replica/storage/simple_kv/test/case-000.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-001.act b/src/replica/storage/simple_kv/test/case-001.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-001.act rename to src/replica/storage/simple_kv/test/case-001.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-001.ini b/src/replica/storage/simple_kv/test/case-001.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-001.ini rename to src/replica/storage/simple_kv/test/case-001.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-002.act b/src/replica/storage/simple_kv/test/case-002.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-002.act rename to src/replica/storage/simple_kv/test/case-002.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-002.ini b/src/replica/storage/simple_kv/test/case-002.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-002.ini rename to src/replica/storage/simple_kv/test/case-002.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-003.act b/src/replica/storage/simple_kv/test/case-003.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-003.act rename to src/replica/storage/simple_kv/test/case-003.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-003.ini b/src/replica/storage/simple_kv/test/case-003.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-003.ini rename to src/replica/storage/simple_kv/test/case-003.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-004.act b/src/replica/storage/simple_kv/test/case-004.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-004.act rename to src/replica/storage/simple_kv/test/case-004.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-004.ini b/src/replica/storage/simple_kv/test/case-004.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-004.ini rename to src/replica/storage/simple_kv/test/case-004.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-005.act b/src/replica/storage/simple_kv/test/case-005.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-005.act rename to src/replica/storage/simple_kv/test/case-005.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-005.ini b/src/replica/storage/simple_kv/test/case-005.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-005.ini rename to src/replica/storage/simple_kv/test/case-005.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-006.act b/src/replica/storage/simple_kv/test/case-006.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-006.act rename to src/replica/storage/simple_kv/test/case-006.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-006.ini b/src/replica/storage/simple_kv/test/case-006.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-006.ini rename to src/replica/storage/simple_kv/test/case-006.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-100.act b/src/replica/storage/simple_kv/test/case-100.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-100.act rename to src/replica/storage/simple_kv/test/case-100.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-100.ini b/src/replica/storage/simple_kv/test/case-100.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-100.ini rename to src/replica/storage/simple_kv/test/case-100.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-101.act b/src/replica/storage/simple_kv/test/case-101.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-101.act rename to src/replica/storage/simple_kv/test/case-101.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-101.ini b/src/replica/storage/simple_kv/test/case-101.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-101.ini rename to src/replica/storage/simple_kv/test/case-101.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-102.act b/src/replica/storage/simple_kv/test/case-102.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-102.act rename to src/replica/storage/simple_kv/test/case-102.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-102.ini b/src/replica/storage/simple_kv/test/case-102.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-102.ini rename to src/replica/storage/simple_kv/test/case-102.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-103.act b/src/replica/storage/simple_kv/test/case-103.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-103.act rename to src/replica/storage/simple_kv/test/case-103.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-103.ini b/src/replica/storage/simple_kv/test/case-103.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-103.ini rename to src/replica/storage/simple_kv/test/case-103.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-104.act b/src/replica/storage/simple_kv/test/case-104.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-104.act rename to src/replica/storage/simple_kv/test/case-104.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-104.ini b/src/replica/storage/simple_kv/test/case-104.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-104.ini rename to src/replica/storage/simple_kv/test/case-104.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-105.act b/src/replica/storage/simple_kv/test/case-105.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-105.act rename to src/replica/storage/simple_kv/test/case-105.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-105.ini b/src/replica/storage/simple_kv/test/case-105.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-105.ini rename to src/replica/storage/simple_kv/test/case-105.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-106.act b/src/replica/storage/simple_kv/test/case-106.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-106.act rename to src/replica/storage/simple_kv/test/case-106.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-106.ini b/src/replica/storage/simple_kv/test/case-106.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-106.ini rename to src/replica/storage/simple_kv/test/case-106.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-107.act b/src/replica/storage/simple_kv/test/case-107.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-107.act rename to src/replica/storage/simple_kv/test/case-107.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-107.ini b/src/replica/storage/simple_kv/test/case-107.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-107.ini rename to src/replica/storage/simple_kv/test/case-107.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-108.act b/src/replica/storage/simple_kv/test/case-108.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-108.act rename to src/replica/storage/simple_kv/test/case-108.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-108.ini b/src/replica/storage/simple_kv/test/case-108.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-108.ini rename to src/replica/storage/simple_kv/test/case-108.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-109.act b/src/replica/storage/simple_kv/test/case-109.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-109.act rename to src/replica/storage/simple_kv/test/case-109.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-109.ini b/src/replica/storage/simple_kv/test/case-109.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-109.ini rename to src/replica/storage/simple_kv/test/case-109.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-200.act b/src/replica/storage/simple_kv/test/case-200.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-200.act rename to src/replica/storage/simple_kv/test/case-200.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-200.ini b/src/replica/storage/simple_kv/test/case-200.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-200.ini rename to src/replica/storage/simple_kv/test/case-200.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-201.act b/src/replica/storage/simple_kv/test/case-201.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-201.act rename to src/replica/storage/simple_kv/test/case-201.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-201.ini b/src/replica/storage/simple_kv/test/case-201.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-201.ini rename to src/replica/storage/simple_kv/test/case-201.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-202-0.act b/src/replica/storage/simple_kv/test/case-202-0.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-202-0.act rename to src/replica/storage/simple_kv/test/case-202-0.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-202-0.ini b/src/replica/storage/simple_kv/test/case-202-0.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-202-0.ini rename to src/replica/storage/simple_kv/test/case-202-0.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-202-1.act b/src/replica/storage/simple_kv/test/case-202-1.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-202-1.act rename to src/replica/storage/simple_kv/test/case-202-1.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-202-1.ini b/src/replica/storage/simple_kv/test/case-202-1.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-202-1.ini rename to src/replica/storage/simple_kv/test/case-202-1.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-203-0.act b/src/replica/storage/simple_kv/test/case-203-0.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-203-0.act rename to src/replica/storage/simple_kv/test/case-203-0.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-203-0.ini b/src/replica/storage/simple_kv/test/case-203-0.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-203-0.ini rename to src/replica/storage/simple_kv/test/case-203-0.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-204.act b/src/replica/storage/simple_kv/test/case-204.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-204.act rename to src/replica/storage/simple_kv/test/case-204.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-204.ini b/src/replica/storage/simple_kv/test/case-204.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-204.ini rename to src/replica/storage/simple_kv/test/case-204.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-205.act b/src/replica/storage/simple_kv/test/case-205.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-205.act rename to src/replica/storage/simple_kv/test/case-205.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-205.ini b/src/replica/storage/simple_kv/test/case-205.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-205.ini rename to src/replica/storage/simple_kv/test/case-205.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-206.act b/src/replica/storage/simple_kv/test/case-206.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-206.act rename to src/replica/storage/simple_kv/test/case-206.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-206.ini b/src/replica/storage/simple_kv/test/case-206.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-206.ini rename to src/replica/storage/simple_kv/test/case-206.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-207.act b/src/replica/storage/simple_kv/test/case-207.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-207.act rename to src/replica/storage/simple_kv/test/case-207.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-207.ini b/src/replica/storage/simple_kv/test/case-207.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-207.ini rename to src/replica/storage/simple_kv/test/case-207.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-208.act b/src/replica/storage/simple_kv/test/case-208.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-208.act rename to src/replica/storage/simple_kv/test/case-208.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-208.ini b/src/replica/storage/simple_kv/test/case-208.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-208.ini rename to src/replica/storage/simple_kv/test/case-208.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-209.act b/src/replica/storage/simple_kv/test/case-209.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-209.act rename to src/replica/storage/simple_kv/test/case-209.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-209.ini b/src/replica/storage/simple_kv/test/case-209.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-209.ini rename to src/replica/storage/simple_kv/test/case-209.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-210.act b/src/replica/storage/simple_kv/test/case-210.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-210.act rename to src/replica/storage/simple_kv/test/case-210.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-210.ini b/src/replica/storage/simple_kv/test/case-210.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-210.ini rename to src/replica/storage/simple_kv/test/case-210.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-211.act b/src/replica/storage/simple_kv/test/case-211.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-211.act rename to src/replica/storage/simple_kv/test/case-211.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-211.ini b/src/replica/storage/simple_kv/test/case-211.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-211.ini rename to src/replica/storage/simple_kv/test/case-211.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-212.act b/src/replica/storage/simple_kv/test/case-212.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-212.act rename to src/replica/storage/simple_kv/test/case-212.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-212.ini b/src/replica/storage/simple_kv/test/case-212.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-212.ini rename to src/replica/storage/simple_kv/test/case-212.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-213.act b/src/replica/storage/simple_kv/test/case-213.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-213.act rename to src/replica/storage/simple_kv/test/case-213.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-213.ini b/src/replica/storage/simple_kv/test/case-213.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-213.ini rename to src/replica/storage/simple_kv/test/case-213.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-214.act b/src/replica/storage/simple_kv/test/case-214.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-214.act rename to src/replica/storage/simple_kv/test/case-214.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-214.ini b/src/replica/storage/simple_kv/test/case-214.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-214.ini rename to src/replica/storage/simple_kv/test/case-214.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-215.act b/src/replica/storage/simple_kv/test/case-215.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-215.act rename to src/replica/storage/simple_kv/test/case-215.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-215.ini b/src/replica/storage/simple_kv/test/case-215.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-215.ini rename to src/replica/storage/simple_kv/test/case-215.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-216.act b/src/replica/storage/simple_kv/test/case-216.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-216.act rename to src/replica/storage/simple_kv/test/case-216.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-216.ini b/src/replica/storage/simple_kv/test/case-216.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-216.ini rename to src/replica/storage/simple_kv/test/case-216.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-300-0.act b/src/replica/storage/simple_kv/test/case-300-0.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-300-0.act rename to src/replica/storage/simple_kv/test/case-300-0.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-300-0.ini b/src/replica/storage/simple_kv/test/case-300-0.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-300-0.ini rename to src/replica/storage/simple_kv/test/case-300-0.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-300-1.act b/src/replica/storage/simple_kv/test/case-300-1.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-300-1.act rename to src/replica/storage/simple_kv/test/case-300-1.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-300-1.ini b/src/replica/storage/simple_kv/test/case-300-1.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-300-1.ini rename to src/replica/storage/simple_kv/test/case-300-1.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-300-2.act b/src/replica/storage/simple_kv/test/case-300-2.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-300-2.act rename to src/replica/storage/simple_kv/test/case-300-2.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-300-2.ini b/src/replica/storage/simple_kv/test/case-300-2.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-300-2.ini rename to src/replica/storage/simple_kv/test/case-300-2.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-301.act b/src/replica/storage/simple_kv/test/case-301.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-301.act rename to src/replica/storage/simple_kv/test/case-301.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-301.ini b/src/replica/storage/simple_kv/test/case-301.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-301.ini rename to src/replica/storage/simple_kv/test/case-301.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-302.act b/src/replica/storage/simple_kv/test/case-302.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-302.act rename to src/replica/storage/simple_kv/test/case-302.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-302.ini b/src/replica/storage/simple_kv/test/case-302.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-302.ini rename to src/replica/storage/simple_kv/test/case-302.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-303.act b/src/replica/storage/simple_kv/test/case-303.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-303.act rename to src/replica/storage/simple_kv/test/case-303.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-303.ini b/src/replica/storage/simple_kv/test/case-303.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-303.ini rename to src/replica/storage/simple_kv/test/case-303.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-304.act b/src/replica/storage/simple_kv/test/case-304.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-304.act rename to src/replica/storage/simple_kv/test/case-304.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-304.ini b/src/replica/storage/simple_kv/test/case-304.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-304.ini rename to src/replica/storage/simple_kv/test/case-304.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-305.act b/src/replica/storage/simple_kv/test/case-305.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-305.act rename to src/replica/storage/simple_kv/test/case-305.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-305.ini b/src/replica/storage/simple_kv/test/case-305.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-305.ini rename to src/replica/storage/simple_kv/test/case-305.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-306.act b/src/replica/storage/simple_kv/test/case-306.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-306.act rename to src/replica/storage/simple_kv/test/case-306.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-306.ini b/src/replica/storage/simple_kv/test/case-306.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-306.ini rename to src/replica/storage/simple_kv/test/case-306.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-307.act b/src/replica/storage/simple_kv/test/case-307.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-307.act rename to src/replica/storage/simple_kv/test/case-307.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-307.ini b/src/replica/storage/simple_kv/test/case-307.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-307.ini rename to src/replica/storage/simple_kv/test/case-307.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-400.act b/src/replica/storage/simple_kv/test/case-400.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-400.act rename to src/replica/storage/simple_kv/test/case-400.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-400.ini b/src/replica/storage/simple_kv/test/case-400.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-400.ini rename to src/replica/storage/simple_kv/test/case-400.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-401.act b/src/replica/storage/simple_kv/test/case-401.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-401.act rename to src/replica/storage/simple_kv/test/case-401.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-401.ini b/src/replica/storage/simple_kv/test/case-401.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-401.ini rename to src/replica/storage/simple_kv/test/case-401.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-402.act b/src/replica/storage/simple_kv/test/case-402.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-402.act rename to src/replica/storage/simple_kv/test/case-402.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-402.ini b/src/replica/storage/simple_kv/test/case-402.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-402.ini rename to src/replica/storage/simple_kv/test/case-402.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-600.act b/src/replica/storage/simple_kv/test/case-600.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-600.act rename to src/replica/storage/simple_kv/test/case-600.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-600.ini b/src/replica/storage/simple_kv/test/case-600.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-600.ini rename to src/replica/storage/simple_kv/test/case-600.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-601.act b/src/replica/storage/simple_kv/test/case-601.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-601.act rename to src/replica/storage/simple_kv/test/case-601.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-601.ini b/src/replica/storage/simple_kv/test/case-601.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-601.ini rename to src/replica/storage/simple_kv/test/case-601.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-602.act b/src/replica/storage/simple_kv/test/case-602.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-602.act rename to src/replica/storage/simple_kv/test/case-602.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-602.ini b/src/replica/storage/simple_kv/test/case-602.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-602.ini rename to src/replica/storage/simple_kv/test/case-602.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-603.act b/src/replica/storage/simple_kv/test/case-603.act similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-603.act rename to src/replica/storage/simple_kv/test/case-603.act diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case-603.ini b/src/replica/storage/simple_kv/test/case-603.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case-603.ini rename to src/replica/storage/simple_kv/test/case-603.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case.cpp b/src/replica/storage/simple_kv/test/case.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case.cpp rename to src/replica/storage/simple_kv/test/case.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/test/case.h b/src/replica/storage/simple_kv/test/case.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/case.h rename to src/replica/storage/simple_kv/test/case.h diff --git a/src/rdsn/src/replica/storage/simple_kv/test/checker.cpp b/src/replica/storage/simple_kv/test/checker.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/checker.cpp rename to src/replica/storage/simple_kv/test/checker.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/test/checker.h b/src/replica/storage/simple_kv/test/checker.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/checker.h rename to src/replica/storage/simple_kv/test/checker.h diff --git a/src/rdsn/src/replica/storage/simple_kv/test/clear.sh b/src/replica/storage/simple_kv/test/clear.sh similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/clear.sh rename to src/replica/storage/simple_kv/test/clear.sh diff --git a/src/rdsn/src/replica/storage/simple_kv/test/client.cpp b/src/replica/storage/simple_kv/test/client.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/client.cpp rename to src/replica/storage/simple_kv/test/client.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/test/client.h b/src/replica/storage/simple_kv/test/client.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/client.h rename to src/replica/storage/simple_kv/test/client.h diff --git a/src/rdsn/src/replica/storage/simple_kv/test/common.cpp b/src/replica/storage/simple_kv/test/common.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/common.cpp rename to src/replica/storage/simple_kv/test/common.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/test/common.h b/src/replica/storage/simple_kv/test/common.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/common.h rename to src/replica/storage/simple_kv/test/common.h diff --git a/src/rdsn/src/replica/storage/simple_kv/test/config.ini b/src/replica/storage/simple_kv/test/config.ini similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/config.ini rename to src/replica/storage/simple_kv/test/config.ini diff --git a/src/rdsn/src/replica/storage/simple_kv/test/injector.cpp b/src/replica/storage/simple_kv/test/injector.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/injector.cpp rename to src/replica/storage/simple_kv/test/injector.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/test/injector.h b/src/replica/storage/simple_kv/test/injector.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/injector.h rename to src/replica/storage/simple_kv/test/injector.h diff --git a/src/rdsn/src/replica/storage/simple_kv/test/rep_tests.pdf b/src/replica/storage/simple_kv/test/rep_tests.pdf similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/rep_tests.pdf rename to src/replica/storage/simple_kv/test/rep_tests.pdf diff --git a/src/rdsn/src/replica/storage/simple_kv/test/run.sh b/src/replica/storage/simple_kv/test/run.sh similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/run.sh rename to src/replica/storage/simple_kv/test/run.sh diff --git a/src/rdsn/src/replica/storage/simple_kv/test/simple_kv.main.cpp b/src/replica/storage/simple_kv/test/simple_kv.main.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/simple_kv.main.cpp rename to src/replica/storage/simple_kv/test/simple_kv.main.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/test/simple_kv.server.impl.cpp b/src/replica/storage/simple_kv/test/simple_kv.server.impl.cpp similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/simple_kv.server.impl.cpp rename to src/replica/storage/simple_kv/test/simple_kv.server.impl.cpp diff --git a/src/rdsn/src/replica/storage/simple_kv/test/simple_kv.server.impl.h b/src/replica/storage/simple_kv/test/simple_kv.server.impl.h similarity index 100% rename from src/rdsn/src/replica/storage/simple_kv/test/simple_kv.server.impl.h rename to src/replica/storage/simple_kv/test/simple_kv.server.impl.h diff --git a/src/rdsn/src/replica/test/CMakeLists.txt b/src/replica/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/replica/test/CMakeLists.txt rename to src/replica/test/CMakeLists.txt diff --git a/src/rdsn/src/replica/test/backup_block_service_mock.h b/src/replica/test/backup_block_service_mock.h similarity index 100% rename from src/rdsn/src/replica/test/backup_block_service_mock.h rename to src/replica/test/backup_block_service_mock.h diff --git a/src/rdsn/src/replica/test/clear.sh b/src/replica/test/clear.sh similarity index 100% rename from src/rdsn/src/replica/test/clear.sh rename to src/replica/test/clear.sh diff --git a/src/rdsn/src/replica/test/cold_backup_context_test.cpp b/src/replica/test/cold_backup_context_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/cold_backup_context_test.cpp rename to src/replica/test/cold_backup_context_test.cpp diff --git a/src/rdsn/src/replica/test/config-test.ini b/src/replica/test/config-test.ini similarity index 100% rename from src/rdsn/src/replica/test/config-test.ini rename to src/replica/test/config-test.ini diff --git a/src/rdsn/src/replica/test/log_block_test.cpp b/src/replica/test/log_block_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/log_block_test.cpp rename to src/replica/test/log_block_test.cpp diff --git a/src/rdsn/src/replica/test/log_file_test.cpp b/src/replica/test/log_file_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/log_file_test.cpp rename to src/replica/test/log_file_test.cpp diff --git a/src/rdsn/src/replica/test/main.cpp b/src/replica/test/main.cpp similarity index 100% rename from src/rdsn/src/replica/test/main.cpp rename to src/replica/test/main.cpp diff --git a/src/rdsn/src/replica/test/mock_utils.h b/src/replica/test/mock_utils.h similarity index 100% rename from src/rdsn/src/replica/test/mock_utils.h rename to src/replica/test/mock_utils.h diff --git a/src/rdsn/src/replica/test/mutation_log_learn_test.cpp b/src/replica/test/mutation_log_learn_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/mutation_log_learn_test.cpp rename to src/replica/test/mutation_log_learn_test.cpp diff --git a/src/rdsn/src/replica/test/mutation_log_test.cpp b/src/replica/test/mutation_log_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/mutation_log_test.cpp rename to src/replica/test/mutation_log_test.cpp diff --git a/src/rdsn/src/replica/test/open_replica_test.cpp b/src/replica/test/open_replica_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/open_replica_test.cpp rename to src/replica/test/open_replica_test.cpp diff --git a/src/rdsn/src/replica/test/replica_disk_migrate_test.cpp b/src/replica/test/replica_disk_migrate_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/replica_disk_migrate_test.cpp rename to src/replica/test/replica_disk_migrate_test.cpp diff --git a/src/rdsn/src/replica/test/replica_disk_test.cpp b/src/replica/test/replica_disk_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/replica_disk_test.cpp rename to src/replica/test/replica_disk_test.cpp diff --git a/src/rdsn/src/replica/test/replica_disk_test_base.h b/src/replica/test/replica_disk_test_base.h similarity index 100% rename from src/rdsn/src/replica/test/replica_disk_test_base.h rename to src/replica/test/replica_disk_test_base.h diff --git a/src/rdsn/src/replica/test/replica_learn_test.cpp b/src/replica/test/replica_learn_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/replica_learn_test.cpp rename to src/replica/test/replica_learn_test.cpp diff --git a/src/rdsn/src/replica/test/replica_test.cpp b/src/replica/test/replica_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/replica_test.cpp rename to src/replica/test/replica_test.cpp diff --git a/src/rdsn/src/replica/test/replica_test_base.h b/src/replica/test/replica_test_base.h similarity index 100% rename from src/rdsn/src/replica/test/replica_test_base.h rename to src/replica/test/replica_test_base.h diff --git a/src/rdsn/src/replica/test/replication_service_test_app.h b/src/replica/test/replication_service_test_app.h similarity index 100% rename from src/rdsn/src/replica/test/replication_service_test_app.h rename to src/replica/test/replication_service_test_app.h diff --git a/src/rdsn/src/replica/test/run.sh b/src/replica/test/run.sh similarity index 100% rename from src/rdsn/src/replica/test/run.sh rename to src/replica/test/run.sh diff --git a/src/rdsn/src/replica/test/throttling_controller_test.cpp b/src/replica/test/throttling_controller_test.cpp similarity index 100% rename from src/rdsn/src/replica/test/throttling_controller_test.cpp rename to src/replica/test/throttling_controller_test.cpp diff --git a/src/rdsn/src/runtime/CMakeLists.txt b/src/runtime/CMakeLists.txt similarity index 100% rename from src/rdsn/src/runtime/CMakeLists.txt rename to src/runtime/CMakeLists.txt diff --git a/src/rdsn/src/runtime/api_layer1.h b/src/runtime/api_layer1.h similarity index 100% rename from src/rdsn/src/runtime/api_layer1.h rename to src/runtime/api_layer1.h diff --git a/src/rdsn/src/runtime/api_task.h b/src/runtime/api_task.h similarity index 100% rename from src/rdsn/src/runtime/api_task.h rename to src/runtime/api_task.h diff --git a/src/rdsn/src/runtime/app_model.h b/src/runtime/app_model.h similarity index 100% rename from src/rdsn/src/runtime/app_model.h rename to src/runtime/app_model.h diff --git a/src/rdsn/src/runtime/build_config.h b/src/runtime/build_config.h similarity index 100% rename from src/rdsn/src/runtime/build_config.h rename to src/runtime/build_config.h diff --git a/src/rdsn/src/runtime/core_main.cpp b/src/runtime/core_main.cpp similarity index 100% rename from src/rdsn/src/runtime/core_main.cpp rename to src/runtime/core_main.cpp diff --git a/src/rdsn/src/runtime/env.sim.cpp b/src/runtime/env.sim.cpp similarity index 100% rename from src/rdsn/src/runtime/env.sim.cpp rename to src/runtime/env.sim.cpp diff --git a/src/rdsn/src/runtime/env.sim.h b/src/runtime/env.sim.h similarity index 100% rename from src/rdsn/src/runtime/env.sim.h rename to src/runtime/env.sim.h diff --git a/src/rdsn/src/runtime/env_provider.h b/src/runtime/env_provider.h similarity index 100% rename from src/rdsn/src/runtime/env_provider.h rename to src/runtime/env_provider.h diff --git a/src/rdsn/src/runtime/fault_injector.cpp b/src/runtime/fault_injector.cpp similarity index 100% rename from src/rdsn/src/runtime/fault_injector.cpp rename to src/runtime/fault_injector.cpp diff --git a/src/rdsn/src/runtime/fault_injector.h b/src/runtime/fault_injector.h similarity index 100% rename from src/rdsn/src/runtime/fault_injector.h rename to src/runtime/fault_injector.h diff --git a/src/rdsn/src/runtime/global_config.cpp b/src/runtime/global_config.cpp similarity index 100% rename from src/rdsn/src/runtime/global_config.cpp rename to src/runtime/global_config.cpp diff --git a/src/rdsn/src/runtime/global_config.h b/src/runtime/global_config.h similarity index 100% rename from src/rdsn/src/runtime/global_config.h rename to src/runtime/global_config.h diff --git a/src/rdsn/src/runtime/message_utils.cpp b/src/runtime/message_utils.cpp similarity index 100% rename from src/rdsn/src/runtime/message_utils.cpp rename to src/runtime/message_utils.cpp diff --git a/src/rdsn/src/runtime/message_utils.h b/src/runtime/message_utils.h similarity index 100% rename from src/rdsn/src/runtime/message_utils.h rename to src/runtime/message_utils.h diff --git a/src/rdsn/src/runtime/nativerun.cpp b/src/runtime/nativerun.cpp similarity index 100% rename from src/rdsn/src/runtime/nativerun.cpp rename to src/runtime/nativerun.cpp diff --git a/src/rdsn/src/runtime/nativerun.h b/src/runtime/nativerun.h similarity index 100% rename from src/rdsn/src/runtime/nativerun.h rename to src/runtime/nativerun.h diff --git a/src/rdsn/src/runtime/node_scoper.h b/src/runtime/node_scoper.h similarity index 100% rename from src/rdsn/src/runtime/node_scoper.h rename to src/runtime/node_scoper.h diff --git a/src/rdsn/src/runtime/pipeline.h b/src/runtime/pipeline.h similarity index 100% rename from src/rdsn/src/runtime/pipeline.h rename to src/runtime/pipeline.h diff --git a/src/rdsn/src/runtime/profiler.cpp b/src/runtime/profiler.cpp similarity index 100% rename from src/rdsn/src/runtime/profiler.cpp rename to src/runtime/profiler.cpp diff --git a/src/rdsn/src/runtime/profiler.h b/src/runtime/profiler.h similarity index 100% rename from src/rdsn/src/runtime/profiler.h rename to src/runtime/profiler.h diff --git a/src/rdsn/src/runtime/profiler_header.h b/src/runtime/profiler_header.h similarity index 100% rename from src/rdsn/src/runtime/profiler_header.h rename to src/runtime/profiler_header.h diff --git a/src/rdsn/src/runtime/providers.common.cpp b/src/runtime/providers.common.cpp similarity index 100% rename from src/rdsn/src/runtime/providers.common.cpp rename to src/runtime/providers.common.cpp diff --git a/src/rdsn/src/runtime/providers.common.h b/src/runtime/providers.common.h similarity index 100% rename from src/rdsn/src/runtime/providers.common.h rename to src/runtime/providers.common.h diff --git a/src/rdsn/src/runtime/rpc/CMakeLists.txt b/src/runtime/rpc/CMakeLists.txt similarity index 100% rename from src/rdsn/src/runtime/rpc/CMakeLists.txt rename to src/runtime/rpc/CMakeLists.txt diff --git a/src/rdsn/src/runtime/rpc/asio_net_provider.cpp b/src/runtime/rpc/asio_net_provider.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/asio_net_provider.cpp rename to src/runtime/rpc/asio_net_provider.cpp diff --git a/src/rdsn/src/runtime/rpc/asio_net_provider.h b/src/runtime/rpc/asio_net_provider.h similarity index 100% rename from src/rdsn/src/runtime/rpc/asio_net_provider.h rename to src/runtime/rpc/asio_net_provider.h diff --git a/src/rdsn/src/runtime/rpc/asio_rpc_session.cpp b/src/runtime/rpc/asio_rpc_session.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/asio_rpc_session.cpp rename to src/runtime/rpc/asio_rpc_session.cpp diff --git a/src/rdsn/src/runtime/rpc/asio_rpc_session.h b/src/runtime/rpc/asio_rpc_session.h similarity index 100% rename from src/rdsn/src/runtime/rpc/asio_rpc_session.h rename to src/runtime/rpc/asio_rpc_session.h diff --git a/src/rdsn/src/runtime/rpc/dsn_message_parser.cpp b/src/runtime/rpc/dsn_message_parser.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/dsn_message_parser.cpp rename to src/runtime/rpc/dsn_message_parser.cpp diff --git a/src/rdsn/src/runtime/rpc/dsn_message_parser.h b/src/runtime/rpc/dsn_message_parser.h similarity index 100% rename from src/rdsn/src/runtime/rpc/dsn_message_parser.h rename to src/runtime/rpc/dsn_message_parser.h diff --git a/src/rdsn/src/runtime/rpc/group_address.h b/src/runtime/rpc/group_address.h similarity index 100% rename from src/rdsn/src/runtime/rpc/group_address.h rename to src/runtime/rpc/group_address.h diff --git a/src/rdsn/src/runtime/rpc/message_parser.cpp b/src/runtime/rpc/message_parser.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/message_parser.cpp rename to src/runtime/rpc/message_parser.cpp diff --git a/src/rdsn/src/runtime/rpc/message_parser.h b/src/runtime/rpc/message_parser.h similarity index 100% rename from src/rdsn/src/runtime/rpc/message_parser.h rename to src/runtime/rpc/message_parser.h diff --git a/src/rdsn/src/runtime/rpc/message_parser_manager.h b/src/runtime/rpc/message_parser_manager.h similarity index 100% rename from src/rdsn/src/runtime/rpc/message_parser_manager.h rename to src/runtime/rpc/message_parser_manager.h diff --git a/src/rdsn/src/runtime/rpc/network.cpp b/src/runtime/rpc/network.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/network.cpp rename to src/runtime/rpc/network.cpp diff --git a/src/rdsn/src/runtime/rpc/network.h b/src/runtime/rpc/network.h similarity index 100% rename from src/rdsn/src/runtime/rpc/network.h rename to src/runtime/rpc/network.h diff --git a/src/rdsn/src/runtime/rpc/network.sim.cpp b/src/runtime/rpc/network.sim.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/network.sim.cpp rename to src/runtime/rpc/network.sim.cpp diff --git a/src/rdsn/src/runtime/rpc/network.sim.h b/src/runtime/rpc/network.sim.h similarity index 100% rename from src/rdsn/src/runtime/rpc/network.sim.h rename to src/runtime/rpc/network.sim.h diff --git a/src/rdsn/src/runtime/rpc/raw_message_parser.cpp b/src/runtime/rpc/raw_message_parser.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/raw_message_parser.cpp rename to src/runtime/rpc/raw_message_parser.cpp diff --git a/src/rdsn/src/runtime/rpc/raw_message_parser.h b/src/runtime/rpc/raw_message_parser.h similarity index 100% rename from src/rdsn/src/runtime/rpc/raw_message_parser.h rename to src/runtime/rpc/raw_message_parser.h diff --git a/src/rdsn/src/runtime/rpc/request_meta.thrift b/src/runtime/rpc/request_meta.thrift similarity index 100% rename from src/rdsn/src/runtime/rpc/request_meta.thrift rename to src/runtime/rpc/request_meta.thrift diff --git a/src/rdsn/src/runtime/rpc/rpc_engine.cpp b/src/runtime/rpc/rpc_engine.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/rpc_engine.cpp rename to src/runtime/rpc/rpc_engine.cpp diff --git a/src/rdsn/src/runtime/rpc/rpc_engine.h b/src/runtime/rpc/rpc_engine.h similarity index 100% rename from src/rdsn/src/runtime/rpc/rpc_engine.h rename to src/runtime/rpc/rpc_engine.h diff --git a/src/rdsn/src/runtime/rpc/rpc_holder.h b/src/runtime/rpc/rpc_holder.h similarity index 100% rename from src/rdsn/src/runtime/rpc/rpc_holder.h rename to src/runtime/rpc/rpc_holder.h diff --git a/src/rdsn/src/runtime/rpc/rpc_message.cpp b/src/runtime/rpc/rpc_message.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/rpc_message.cpp rename to src/runtime/rpc/rpc_message.cpp diff --git a/src/rdsn/src/runtime/rpc/rpc_message.h b/src/runtime/rpc/rpc_message.h similarity index 100% rename from src/rdsn/src/runtime/rpc/rpc_message.h rename to src/runtime/rpc/rpc_message.h diff --git a/src/rdsn/src/runtime/rpc/rpc_stream.h b/src/runtime/rpc/rpc_stream.h similarity index 100% rename from src/rdsn/src/runtime/rpc/rpc_stream.h rename to src/runtime/rpc/rpc_stream.h diff --git a/src/rdsn/src/runtime/rpc/rpc_task.cpp b/src/runtime/rpc/rpc_task.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/rpc_task.cpp rename to src/runtime/rpc/rpc_task.cpp diff --git a/src/rdsn/src/runtime/rpc/serialization.h b/src/runtime/rpc/serialization.h similarity index 100% rename from src/rdsn/src/runtime/rpc/serialization.h rename to src/runtime/rpc/serialization.h diff --git a/src/rdsn/src/runtime/rpc/thrift_message_parser.cpp b/src/runtime/rpc/thrift_message_parser.cpp similarity index 100% rename from src/rdsn/src/runtime/rpc/thrift_message_parser.cpp rename to src/runtime/rpc/thrift_message_parser.cpp diff --git a/src/rdsn/src/runtime/rpc/thrift_message_parser.h b/src/runtime/rpc/thrift_message_parser.h similarity index 100% rename from src/rdsn/src/runtime/rpc/thrift_message_parser.h rename to src/runtime/rpc/thrift_message_parser.h diff --git a/src/rdsn/src/runtime/scheduler.cpp b/src/runtime/scheduler.cpp similarity index 100% rename from src/rdsn/src/runtime/scheduler.cpp rename to src/runtime/scheduler.cpp diff --git a/src/rdsn/src/runtime/scheduler.h b/src/runtime/scheduler.h similarity index 100% rename from src/rdsn/src/runtime/scheduler.h rename to src/runtime/scheduler.h diff --git a/src/rdsn/src/runtime/security/CMakeLists.txt b/src/runtime/security/CMakeLists.txt similarity index 100% rename from src/rdsn/src/runtime/security/CMakeLists.txt rename to src/runtime/security/CMakeLists.txt diff --git a/src/rdsn/src/runtime/security/access_controller.cpp b/src/runtime/security/access_controller.cpp similarity index 100% rename from src/rdsn/src/runtime/security/access_controller.cpp rename to src/runtime/security/access_controller.cpp diff --git a/src/rdsn/src/runtime/security/access_controller.h b/src/runtime/security/access_controller.h similarity index 100% rename from src/rdsn/src/runtime/security/access_controller.h rename to src/runtime/security/access_controller.h diff --git a/src/rdsn/src/runtime/security/client_negotiation.cpp b/src/runtime/security/client_negotiation.cpp similarity index 100% rename from src/rdsn/src/runtime/security/client_negotiation.cpp rename to src/runtime/security/client_negotiation.cpp diff --git a/src/rdsn/src/runtime/security/client_negotiation.h b/src/runtime/security/client_negotiation.h similarity index 100% rename from src/rdsn/src/runtime/security/client_negotiation.h rename to src/runtime/security/client_negotiation.h diff --git a/src/rdsn/src/runtime/security/init.cpp b/src/runtime/security/init.cpp similarity index 100% rename from src/rdsn/src/runtime/security/init.cpp rename to src/runtime/security/init.cpp diff --git a/src/rdsn/src/runtime/security/init.h b/src/runtime/security/init.h similarity index 100% rename from src/rdsn/src/runtime/security/init.h rename to src/runtime/security/init.h diff --git a/src/rdsn/src/runtime/security/kinit_context.cpp b/src/runtime/security/kinit_context.cpp similarity index 100% rename from src/rdsn/src/runtime/security/kinit_context.cpp rename to src/runtime/security/kinit_context.cpp diff --git a/src/rdsn/src/runtime/security/kinit_context.h b/src/runtime/security/kinit_context.h similarity index 100% rename from src/rdsn/src/runtime/security/kinit_context.h rename to src/runtime/security/kinit_context.h diff --git a/src/rdsn/src/runtime/security/meta_access_controller.cpp b/src/runtime/security/meta_access_controller.cpp similarity index 100% rename from src/rdsn/src/runtime/security/meta_access_controller.cpp rename to src/runtime/security/meta_access_controller.cpp diff --git a/src/rdsn/src/runtime/security/meta_access_controller.h b/src/runtime/security/meta_access_controller.h similarity index 100% rename from src/rdsn/src/runtime/security/meta_access_controller.h rename to src/runtime/security/meta_access_controller.h diff --git a/src/rdsn/src/runtime/security/negotiation.cpp b/src/runtime/security/negotiation.cpp similarity index 100% rename from src/rdsn/src/runtime/security/negotiation.cpp rename to src/runtime/security/negotiation.cpp diff --git a/src/rdsn/src/runtime/security/negotiation.h b/src/runtime/security/negotiation.h similarity index 100% rename from src/rdsn/src/runtime/security/negotiation.h rename to src/runtime/security/negotiation.h diff --git a/src/rdsn/src/runtime/security/negotiation_manager.cpp b/src/runtime/security/negotiation_manager.cpp similarity index 100% rename from src/rdsn/src/runtime/security/negotiation_manager.cpp rename to src/runtime/security/negotiation_manager.cpp diff --git a/src/rdsn/src/runtime/security/negotiation_manager.h b/src/runtime/security/negotiation_manager.h similarity index 100% rename from src/rdsn/src/runtime/security/negotiation_manager.h rename to src/runtime/security/negotiation_manager.h diff --git a/src/rdsn/src/runtime/security/negotiation_utils.h b/src/runtime/security/negotiation_utils.h similarity index 100% rename from src/rdsn/src/runtime/security/negotiation_utils.h rename to src/runtime/security/negotiation_utils.h diff --git a/src/rdsn/src/runtime/security/replica_access_controller.cpp b/src/runtime/security/replica_access_controller.cpp similarity index 100% rename from src/rdsn/src/runtime/security/replica_access_controller.cpp rename to src/runtime/security/replica_access_controller.cpp diff --git a/src/rdsn/src/runtime/security/replica_access_controller.h b/src/runtime/security/replica_access_controller.h similarity index 100% rename from src/rdsn/src/runtime/security/replica_access_controller.h rename to src/runtime/security/replica_access_controller.h diff --git a/src/rdsn/src/runtime/security/sasl_client_wrapper.cpp b/src/runtime/security/sasl_client_wrapper.cpp similarity index 100% rename from src/rdsn/src/runtime/security/sasl_client_wrapper.cpp rename to src/runtime/security/sasl_client_wrapper.cpp diff --git a/src/rdsn/src/runtime/security/sasl_client_wrapper.h b/src/runtime/security/sasl_client_wrapper.h similarity index 100% rename from src/rdsn/src/runtime/security/sasl_client_wrapper.h rename to src/runtime/security/sasl_client_wrapper.h diff --git a/src/rdsn/src/runtime/security/sasl_init.cpp b/src/runtime/security/sasl_init.cpp similarity index 100% rename from src/rdsn/src/runtime/security/sasl_init.cpp rename to src/runtime/security/sasl_init.cpp diff --git a/src/rdsn/src/runtime/security/sasl_init.h b/src/runtime/security/sasl_init.h similarity index 100% rename from src/rdsn/src/runtime/security/sasl_init.h rename to src/runtime/security/sasl_init.h diff --git a/src/rdsn/src/runtime/security/sasl_server_wrapper.cpp b/src/runtime/security/sasl_server_wrapper.cpp similarity index 100% rename from src/rdsn/src/runtime/security/sasl_server_wrapper.cpp rename to src/runtime/security/sasl_server_wrapper.cpp diff --git a/src/rdsn/src/runtime/security/sasl_server_wrapper.h b/src/runtime/security/sasl_server_wrapper.h similarity index 100% rename from src/rdsn/src/runtime/security/sasl_server_wrapper.h rename to src/runtime/security/sasl_server_wrapper.h diff --git a/src/rdsn/src/runtime/security/sasl_wrapper.cpp b/src/runtime/security/sasl_wrapper.cpp similarity index 100% rename from src/rdsn/src/runtime/security/sasl_wrapper.cpp rename to src/runtime/security/sasl_wrapper.cpp diff --git a/src/rdsn/src/runtime/security/sasl_wrapper.h b/src/runtime/security/sasl_wrapper.h similarity index 100% rename from src/rdsn/src/runtime/security/sasl_wrapper.h rename to src/runtime/security/sasl_wrapper.h diff --git a/src/rdsn/src/runtime/security/security.thrift b/src/runtime/security/security.thrift similarity index 98% rename from src/rdsn/src/runtime/security/security.thrift rename to src/runtime/security/security.thrift index 79ed4550e4..0e3d4f0ce1 100644 --- a/src/rdsn/src/runtime/security/security.thrift +++ b/src/runtime/security/security.thrift @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -include "../../../../../idl/dsn.thrift" +include "../../../idl/dsn.thrift" namespace cpp dsn.security diff --git a/src/rdsn/src/runtime/security/server_negotiation.cpp b/src/runtime/security/server_negotiation.cpp similarity index 100% rename from src/rdsn/src/runtime/security/server_negotiation.cpp rename to src/runtime/security/server_negotiation.cpp diff --git a/src/rdsn/src/runtime/security/server_negotiation.h b/src/runtime/security/server_negotiation.h similarity index 100% rename from src/rdsn/src/runtime/security/server_negotiation.h rename to src/runtime/security/server_negotiation.h diff --git a/src/rdsn/src/runtime/serverlet.h b/src/runtime/serverlet.h similarity index 100% rename from src/rdsn/src/runtime/serverlet.h rename to src/runtime/serverlet.h diff --git a/src/rdsn/src/runtime/service_api_c.cpp b/src/runtime/service_api_c.cpp similarity index 100% rename from src/rdsn/src/runtime/service_api_c.cpp rename to src/runtime/service_api_c.cpp diff --git a/src/rdsn/src/runtime/service_app.h b/src/runtime/service_app.h similarity index 100% rename from src/rdsn/src/runtime/service_app.h rename to src/runtime/service_app.h diff --git a/src/rdsn/src/runtime/service_engine.cpp b/src/runtime/service_engine.cpp similarity index 100% rename from src/rdsn/src/runtime/service_engine.cpp rename to src/runtime/service_engine.cpp diff --git a/src/rdsn/src/runtime/service_engine.h b/src/runtime/service_engine.h similarity index 100% rename from src/rdsn/src/runtime/service_engine.h rename to src/runtime/service_engine.h diff --git a/src/rdsn/src/runtime/sim_clock.h b/src/runtime/sim_clock.h similarity index 100% rename from src/rdsn/src/runtime/sim_clock.h rename to src/runtime/sim_clock.h diff --git a/src/rdsn/src/runtime/simulator.cpp b/src/runtime/simulator.cpp similarity index 100% rename from src/rdsn/src/runtime/simulator.cpp rename to src/runtime/simulator.cpp diff --git a/src/rdsn/src/runtime/simulator.h b/src/runtime/simulator.h similarity index 100% rename from src/rdsn/src/runtime/simulator.h rename to src/runtime/simulator.h diff --git a/src/rdsn/src/runtime/task/CMakeLists.txt b/src/runtime/task/CMakeLists.txt similarity index 100% rename from src/rdsn/src/runtime/task/CMakeLists.txt rename to src/runtime/task/CMakeLists.txt diff --git a/src/rdsn/src/runtime/task/async_calls.h b/src/runtime/task/async_calls.h similarity index 100% rename from src/rdsn/src/runtime/task/async_calls.h rename to src/runtime/task/async_calls.h diff --git a/src/rdsn/src/runtime/task/future_types.h b/src/runtime/task/future_types.h similarity index 100% rename from src/rdsn/src/runtime/task/future_types.h rename to src/runtime/task/future_types.h diff --git a/src/rdsn/src/runtime/task/hpc_task_queue.cpp b/src/runtime/task/hpc_task_queue.cpp similarity index 100% rename from src/rdsn/src/runtime/task/hpc_task_queue.cpp rename to src/runtime/task/hpc_task_queue.cpp diff --git a/src/rdsn/src/runtime/task/hpc_task_queue.h b/src/runtime/task/hpc_task_queue.h similarity index 100% rename from src/rdsn/src/runtime/task/hpc_task_queue.h rename to src/runtime/task/hpc_task_queue.h diff --git a/src/rdsn/src/runtime/task/simple_task_queue.cpp b/src/runtime/task/simple_task_queue.cpp similarity index 100% rename from src/rdsn/src/runtime/task/simple_task_queue.cpp rename to src/runtime/task/simple_task_queue.cpp diff --git a/src/rdsn/src/runtime/task/simple_task_queue.h b/src/runtime/task/simple_task_queue.h similarity index 100% rename from src/rdsn/src/runtime/task/simple_task_queue.h rename to src/runtime/task/simple_task_queue.h diff --git a/src/rdsn/src/runtime/task/task.cpp b/src/runtime/task/task.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task.cpp rename to src/runtime/task/task.cpp diff --git a/src/rdsn/src/runtime/task/task.h b/src/runtime/task/task.h similarity index 100% rename from src/rdsn/src/runtime/task/task.h rename to src/runtime/task/task.h diff --git a/src/rdsn/src/runtime/task/task_code.cpp b/src/runtime/task/task_code.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task_code.cpp rename to src/runtime/task/task_code.cpp diff --git a/src/rdsn/src/runtime/task/task_code.h b/src/runtime/task/task_code.h similarity index 100% rename from src/rdsn/src/runtime/task/task_code.h rename to src/runtime/task/task_code.h diff --git a/src/rdsn/src/runtime/task/task_engine.cpp b/src/runtime/task/task_engine.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task_engine.cpp rename to src/runtime/task/task_engine.cpp diff --git a/src/rdsn/src/runtime/task/task_engine.h b/src/runtime/task/task_engine.h similarity index 100% rename from src/rdsn/src/runtime/task/task_engine.h rename to src/runtime/task/task_engine.h diff --git a/src/rdsn/src/runtime/task/task_engine.sim.cpp b/src/runtime/task/task_engine.sim.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task_engine.sim.cpp rename to src/runtime/task/task_engine.sim.cpp diff --git a/src/rdsn/src/runtime/task/task_engine.sim.h b/src/runtime/task/task_engine.sim.h similarity index 100% rename from src/rdsn/src/runtime/task/task_engine.sim.h rename to src/runtime/task/task_engine.sim.h diff --git a/src/rdsn/src/runtime/task/task_queue.cpp b/src/runtime/task/task_queue.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task_queue.cpp rename to src/runtime/task/task_queue.cpp diff --git a/src/rdsn/src/runtime/task/task_queue.h b/src/runtime/task/task_queue.h similarity index 100% rename from src/rdsn/src/runtime/task/task_queue.h rename to src/runtime/task/task_queue.h diff --git a/src/rdsn/src/runtime/task/task_spec.cpp b/src/runtime/task/task_spec.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task_spec.cpp rename to src/runtime/task/task_spec.cpp diff --git a/src/rdsn/src/runtime/task/task_spec.h b/src/runtime/task/task_spec.h similarity index 100% rename from src/rdsn/src/runtime/task/task_spec.h rename to src/runtime/task/task_spec.h diff --git a/src/rdsn/src/runtime/task/task_tracker.cpp b/src/runtime/task/task_tracker.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task_tracker.cpp rename to src/runtime/task/task_tracker.cpp diff --git a/src/rdsn/src/runtime/task/task_tracker.h b/src/runtime/task/task_tracker.h similarity index 100% rename from src/rdsn/src/runtime/task/task_tracker.h rename to src/runtime/task/task_tracker.h diff --git a/src/rdsn/src/runtime/task/task_worker.cpp b/src/runtime/task/task_worker.cpp similarity index 100% rename from src/rdsn/src/runtime/task/task_worker.cpp rename to src/runtime/task/task_worker.cpp diff --git a/src/rdsn/src/runtime/task/task_worker.h b/src/runtime/task/task_worker.h similarity index 100% rename from src/rdsn/src/runtime/task/task_worker.h rename to src/runtime/task/task_worker.h diff --git a/src/rdsn/src/runtime/task/timer_service.h b/src/runtime/task/timer_service.h similarity index 100% rename from src/rdsn/src/runtime/task/timer_service.h rename to src/runtime/task/timer_service.h diff --git a/src/rdsn/src/runtime/test/CMakeLists.txt b/src/runtime/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/runtime/test/CMakeLists.txt rename to src/runtime/test/CMakeLists.txt diff --git a/src/rdsn/src/runtime/test/async_call.cpp b/src/runtime/test/async_call.cpp similarity index 100% rename from src/rdsn/src/runtime/test/async_call.cpp rename to src/runtime/test/async_call.cpp diff --git a/src/rdsn/src/runtime/test/clear.sh b/src/runtime/test/clear.sh similarity index 100% rename from src/rdsn/src/runtime/test/clear.sh rename to src/runtime/test/clear.sh diff --git a/src/rdsn/src/runtime/test/client_negotiation_test.cpp b/src/runtime/test/client_negotiation_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/client_negotiation_test.cpp rename to src/runtime/test/client_negotiation_test.cpp diff --git a/src/rdsn/src/runtime/test/command.txt b/src/runtime/test/command.txt similarity index 100% rename from src/rdsn/src/runtime/test/command.txt rename to src/runtime/test/command.txt diff --git a/src/rdsn/src/runtime/test/config-test-corrupt-message.ini b/src/runtime/test/config-test-corrupt-message.ini similarity index 100% rename from src/rdsn/src/runtime/test/config-test-corrupt-message.ini rename to src/runtime/test/config-test-corrupt-message.ini diff --git a/src/rdsn/src/runtime/test/config-test-sim.ini b/src/runtime/test/config-test-sim.ini similarity index 100% rename from src/rdsn/src/runtime/test/config-test-sim.ini rename to src/runtime/test/config-test-sim.ini diff --git a/src/rdsn/src/runtime/test/config-test.ini b/src/runtime/test/config-test.ini similarity index 100% rename from src/rdsn/src/runtime/test/config-test.ini rename to src/runtime/test/config-test.ini diff --git a/src/rdsn/src/runtime/test/corrupt_message.cpp b/src/runtime/test/corrupt_message.cpp similarity index 100% rename from src/rdsn/src/runtime/test/corrupt_message.cpp rename to src/runtime/test/corrupt_message.cpp diff --git a/src/rdsn/src/runtime/test/gtest.filter b/src/runtime/test/gtest.filter similarity index 100% rename from src/rdsn/src/runtime/test/gtest.filter rename to src/runtime/test/gtest.filter diff --git a/src/rdsn/src/runtime/test/lpc.cpp b/src/runtime/test/lpc.cpp similarity index 100% rename from src/rdsn/src/runtime/test/lpc.cpp rename to src/runtime/test/lpc.cpp diff --git a/src/rdsn/src/runtime/test/main.cpp b/src/runtime/test/main.cpp similarity index 100% rename from src/rdsn/src/runtime/test/main.cpp rename to src/runtime/test/main.cpp diff --git a/src/rdsn/src/runtime/test/message_reader_test.cpp b/src/runtime/test/message_reader_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/message_reader_test.cpp rename to src/runtime/test/message_reader_test.cpp diff --git a/src/rdsn/src/runtime/test/message_utils_test.cpp b/src/runtime/test/message_utils_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/message_utils_test.cpp rename to src/runtime/test/message_utils_test.cpp diff --git a/src/rdsn/src/runtime/test/meta_access_controller_test.cpp b/src/runtime/test/meta_access_controller_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/meta_access_controller_test.cpp rename to src/runtime/test/meta_access_controller_test.cpp diff --git a/src/rdsn/src/runtime/test/negotiation_manager_test.cpp b/src/runtime/test/negotiation_manager_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/negotiation_manager_test.cpp rename to src/runtime/test/negotiation_manager_test.cpp diff --git a/src/rdsn/src/runtime/test/netprovider.cpp b/src/runtime/test/netprovider.cpp similarity index 100% rename from src/rdsn/src/runtime/test/netprovider.cpp rename to src/runtime/test/netprovider.cpp diff --git a/src/rdsn/src/runtime/test/pipeline_test.cpp b/src/runtime/test/pipeline_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/pipeline_test.cpp rename to src/runtime/test/pipeline_test.cpp diff --git a/src/rdsn/src/runtime/test/replica_access_controller_test.cpp b/src/runtime/test/replica_access_controller_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/replica_access_controller_test.cpp rename to src/runtime/test/replica_access_controller_test.cpp diff --git a/src/rdsn/src/runtime/test/rpc.cpp b/src/runtime/test/rpc.cpp similarity index 100% rename from src/rdsn/src/runtime/test/rpc.cpp rename to src/runtime/test/rpc.cpp diff --git a/src/rdsn/src/runtime/test/rpc_holder_test.cpp b/src/runtime/test/rpc_holder_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/rpc_holder_test.cpp rename to src/runtime/test/rpc_holder_test.cpp diff --git a/src/rdsn/src/runtime/test/rpc_message.cpp b/src/runtime/test/rpc_message.cpp similarity index 100% rename from src/rdsn/src/runtime/test/rpc_message.cpp rename to src/runtime/test/rpc_message.cpp diff --git a/src/rdsn/src/runtime/test/run.sh b/src/runtime/test/run.sh similarity index 100% rename from src/rdsn/src/runtime/test/run.sh rename to src/runtime/test/run.sh diff --git a/src/rdsn/src/runtime/test/server_negotiation_test.cpp b/src/runtime/test/server_negotiation_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/server_negotiation_test.cpp rename to src/runtime/test/server_negotiation_test.cpp diff --git a/src/rdsn/src/runtime/test/service_api_c.cpp b/src/runtime/test/service_api_c.cpp similarity index 100% rename from src/rdsn/src/runtime/test/service_api_c.cpp rename to src/runtime/test/service_api_c.cpp diff --git a/src/rdsn/src/runtime/test/sim_lock.cpp b/src/runtime/test/sim_lock.cpp similarity index 100% rename from src/rdsn/src/runtime/test/sim_lock.cpp rename to src/runtime/test/sim_lock.cpp diff --git a/src/rdsn/src/runtime/test/task_engine.cpp b/src/runtime/test/task_engine.cpp similarity index 100% rename from src/rdsn/src/runtime/test/task_engine.cpp rename to src/runtime/test/task_engine.cpp diff --git a/src/rdsn/src/runtime/test/task_test.cpp b/src/runtime/test/task_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/task_test.cpp rename to src/runtime/test/task_test.cpp diff --git a/src/rdsn/src/runtime/test/test_utils.h b/src/runtime/test/test_utils.h similarity index 100% rename from src/rdsn/src/runtime/test/test_utils.h rename to src/runtime/test/test_utils.h diff --git a/src/rdsn/src/runtime/test/thrift_message_parser_test.cpp b/src/runtime/test/thrift_message_parser_test.cpp similarity index 100% rename from src/rdsn/src/runtime/test/thrift_message_parser_test.cpp rename to src/runtime/test/thrift_message_parser_test.cpp diff --git a/src/rdsn/src/runtime/threadpool_code.cpp b/src/runtime/threadpool_code.cpp similarity index 100% rename from src/rdsn/src/runtime/threadpool_code.cpp rename to src/runtime/threadpool_code.cpp diff --git a/src/rdsn/src/runtime/tool_api.cpp b/src/runtime/tool_api.cpp similarity index 100% rename from src/rdsn/src/runtime/tool_api.cpp rename to src/runtime/tool_api.cpp diff --git a/src/rdsn/src/runtime/tool_api.h b/src/runtime/tool_api.h similarity index 100% rename from src/rdsn/src/runtime/tool_api.h rename to src/runtime/tool_api.h diff --git a/src/rdsn/src/runtime/tracer.cpp b/src/runtime/tracer.cpp similarity index 100% rename from src/rdsn/src/runtime/tracer.cpp rename to src/runtime/tracer.cpp diff --git a/src/rdsn/src/runtime/tracer.h b/src/runtime/tracer.h similarity index 100% rename from src/rdsn/src/runtime/tracer.h rename to src/runtime/tracer.h diff --git a/src/rdsn/src/runtime/zlocks.cpp b/src/runtime/zlocks.cpp similarity index 100% rename from src/rdsn/src/runtime/zlocks.cpp rename to src/runtime/zlocks.cpp diff --git a/src/rdsn/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt similarity index 100% rename from src/rdsn/src/tools/CMakeLists.txt rename to src/tools/CMakeLists.txt diff --git a/src/rdsn/src/tools/mutation_log_tool.cpp b/src/tools/mutation_log_tool.cpp similarity index 100% rename from src/rdsn/src/tools/mutation_log_tool.cpp rename to src/tools/mutation_log_tool.cpp diff --git a/src/rdsn/src/tools/mutation_log_tool.h b/src/tools/mutation_log_tool.h similarity index 100% rename from src/rdsn/src/tools/mutation_log_tool.h rename to src/tools/mutation_log_tool.h diff --git a/src/rdsn/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt similarity index 100% rename from src/rdsn/src/utils/CMakeLists.txt rename to src/utils/CMakeLists.txt diff --git a/src/rdsn/src/utils/TokenBucket.h b/src/utils/TokenBucket.h similarity index 100% rename from src/rdsn/src/utils/TokenBucket.h rename to src/utils/TokenBucket.h diff --git a/src/rdsn/src/utils/absl/base/internal/invoke.h b/src/utils/absl/base/internal/invoke.h similarity index 100% rename from src/rdsn/src/utils/absl/base/internal/invoke.h rename to src/utils/absl/base/internal/invoke.h diff --git a/src/rdsn/src/utils/absl/utility/utility.h b/src/utils/absl/utility/utility.h similarity index 100% rename from src/rdsn/src/utils/absl/utility/utility.h rename to src/utils/absl/utility/utility.h diff --git a/src/rdsn/src/utils/alloc.cpp b/src/utils/alloc.cpp similarity index 100% rename from src/rdsn/src/utils/alloc.cpp rename to src/utils/alloc.cpp diff --git a/src/rdsn/src/utils/alloc.h b/src/utils/alloc.h similarity index 100% rename from src/rdsn/src/utils/alloc.h rename to src/utils/alloc.h diff --git a/src/rdsn/src/utils/api_utilities.h b/src/utils/api_utilities.h similarity index 100% rename from src/rdsn/src/utils/api_utilities.h rename to src/utils/api_utilities.h diff --git a/src/rdsn/src/utils/apply.h b/src/utils/apply.h similarity index 100% rename from src/rdsn/src/utils/apply.h rename to src/utils/apply.h diff --git a/src/rdsn/src/utils/autoref_ptr.h b/src/utils/autoref_ptr.h similarity index 100% rename from src/rdsn/src/utils/autoref_ptr.h rename to src/utils/autoref_ptr.h diff --git a/src/rdsn/src/utils/binary_reader.cpp b/src/utils/binary_reader.cpp similarity index 100% rename from src/rdsn/src/utils/binary_reader.cpp rename to src/utils/binary_reader.cpp diff --git a/src/rdsn/src/utils/binary_reader.h b/src/utils/binary_reader.h similarity index 100% rename from src/rdsn/src/utils/binary_reader.h rename to src/utils/binary_reader.h diff --git a/src/rdsn/src/utils/binary_writer.cpp b/src/utils/binary_writer.cpp similarity index 100% rename from src/rdsn/src/utils/binary_writer.cpp rename to src/utils/binary_writer.cpp diff --git a/src/rdsn/src/utils/binary_writer.h b/src/utils/binary_writer.h similarity index 100% rename from src/rdsn/src/utils/binary_writer.h rename to src/utils/binary_writer.h diff --git a/src/rdsn/src/utils/blob.h b/src/utils/blob.h similarity index 100% rename from src/rdsn/src/utils/blob.h rename to src/utils/blob.h diff --git a/src/rdsn/src/utils/casts.h b/src/utils/casts.h similarity index 100% rename from src/rdsn/src/utils/casts.h rename to src/utils/casts.h diff --git a/src/rdsn/src/utils/chrono_literals.h b/src/utils/chrono_literals.h similarity index 100% rename from src/rdsn/src/utils/chrono_literals.h rename to src/utils/chrono_literals.h diff --git a/src/rdsn/src/utils/clock.cpp b/src/utils/clock.cpp similarity index 100% rename from src/rdsn/src/utils/clock.cpp rename to src/utils/clock.cpp diff --git a/src/rdsn/src/utils/clock.h b/src/utils/clock.h similarity index 100% rename from src/rdsn/src/utils/clock.h rename to src/utils/clock.h diff --git a/src/rdsn/src/utils/command_manager.cpp b/src/utils/command_manager.cpp similarity index 100% rename from src/rdsn/src/utils/command_manager.cpp rename to src/utils/command_manager.cpp diff --git a/src/rdsn/src/utils/command_manager.h b/src/utils/command_manager.h similarity index 100% rename from src/rdsn/src/utils/command_manager.h rename to src/utils/command_manager.h diff --git a/src/rdsn/src/utils/config_api.cpp b/src/utils/config_api.cpp similarity index 100% rename from src/rdsn/src/utils/config_api.cpp rename to src/utils/config_api.cpp diff --git a/src/rdsn/src/utils/config_api.h b/src/utils/config_api.h similarity index 100% rename from src/rdsn/src/utils/config_api.h rename to src/utils/config_api.h diff --git a/src/rdsn/src/utils/config_helper.h b/src/utils/config_helper.h similarity index 100% rename from src/rdsn/src/utils/config_helper.h rename to src/utils/config_helper.h diff --git a/src/rdsn/src/utils/configuration.cpp b/src/utils/configuration.cpp similarity index 100% rename from src/rdsn/src/utils/configuration.cpp rename to src/utils/configuration.cpp diff --git a/src/rdsn/src/utils/configuration.h b/src/utils/configuration.h similarity index 100% rename from src/rdsn/src/utils/configuration.h rename to src/utils/configuration.h diff --git a/src/rdsn/src/utils/coredump.h b/src/utils/coredump.h similarity index 100% rename from src/rdsn/src/utils/coredump.h rename to src/utils/coredump.h diff --git a/src/rdsn/src/utils/coredump.posix.cpp b/src/utils/coredump.posix.cpp similarity index 100% rename from src/rdsn/src/utils/coredump.posix.cpp rename to src/utils/coredump.posix.cpp diff --git a/src/rdsn/src/utils/crc.cpp b/src/utils/crc.cpp similarity index 100% rename from src/rdsn/src/utils/crc.cpp rename to src/utils/crc.cpp diff --git a/src/rdsn/src/utils/crc.h b/src/utils/crc.h similarity index 100% rename from src/rdsn/src/utils/crc.h rename to src/utils/crc.h diff --git a/src/rdsn/src/utils/customizable_id.h b/src/utils/customizable_id.h similarity index 100% rename from src/rdsn/src/utils/customizable_id.h rename to src/utils/customizable_id.h diff --git a/src/rdsn/src/utils/defer.h b/src/utils/defer.h similarity index 100% rename from src/rdsn/src/utils/defer.h rename to src/utils/defer.h diff --git a/src/rdsn/src/utils/distributed_lock_service.h b/src/utils/distributed_lock_service.h similarity index 100% rename from src/rdsn/src/utils/distributed_lock_service.h rename to src/utils/distributed_lock_service.h diff --git a/src/rdsn/src/utils/dlib.h b/src/utils/dlib.h similarity index 100% rename from src/rdsn/src/utils/dlib.h rename to src/utils/dlib.h diff --git a/src/rdsn/src/utils/endians.h b/src/utils/endians.h similarity index 100% rename from src/rdsn/src/utils/endians.h rename to src/utils/endians.h diff --git a/src/rdsn/src/utils/enum_helper.h b/src/utils/enum_helper.h similarity index 100% rename from src/rdsn/src/utils/enum_helper.h rename to src/utils/enum_helper.h diff --git a/src/rdsn/src/utils/error_code.cpp b/src/utils/error_code.cpp similarity index 100% rename from src/rdsn/src/utils/error_code.cpp rename to src/utils/error_code.cpp diff --git a/src/rdsn/src/utils/error_code.h b/src/utils/error_code.h similarity index 100% rename from src/rdsn/src/utils/error_code.h rename to src/utils/error_code.h diff --git a/src/rdsn/src/utils/errors.h b/src/utils/errors.h similarity index 100% rename from src/rdsn/src/utils/errors.h rename to src/utils/errors.h diff --git a/src/rdsn/src/utils/exp_delay.h b/src/utils/exp_delay.h similarity index 100% rename from src/rdsn/src/utils/exp_delay.h rename to src/utils/exp_delay.h diff --git a/src/rdsn/src/utils/extensible_object.h b/src/utils/extensible_object.h similarity index 100% rename from src/rdsn/src/utils/extensible_object.h rename to src/utils/extensible_object.h diff --git a/src/rdsn/src/utils/factory_store.h b/src/utils/factory_store.h similarity index 100% rename from src/rdsn/src/utils/factory_store.h rename to src/utils/factory_store.h diff --git a/src/rdsn/src/utils/fail_point.cpp b/src/utils/fail_point.cpp similarity index 100% rename from src/rdsn/src/utils/fail_point.cpp rename to src/utils/fail_point.cpp diff --git a/src/rdsn/src/utils/fail_point.h b/src/utils/fail_point.h similarity index 100% rename from src/rdsn/src/utils/fail_point.h rename to src/utils/fail_point.h diff --git a/src/rdsn/src/utils/fail_point_impl.h b/src/utils/fail_point_impl.h similarity index 100% rename from src/rdsn/src/utils/fail_point_impl.h rename to src/utils/fail_point_impl.h diff --git a/src/rdsn/src/utils/filesystem.cpp b/src/utils/filesystem.cpp similarity index 100% rename from src/rdsn/src/utils/filesystem.cpp rename to src/utils/filesystem.cpp diff --git a/src/rdsn/src/utils/filesystem.h b/src/utils/filesystem.h similarity index 100% rename from src/rdsn/src/utils/filesystem.h rename to src/utils/filesystem.h diff --git a/src/rdsn/src/utils/fixed_size_buffer_pool.h b/src/utils/fixed_size_buffer_pool.h similarity index 100% rename from src/rdsn/src/utils/fixed_size_buffer_pool.h rename to src/utils/fixed_size_buffer_pool.h diff --git a/src/rdsn/src/utils/flags.cpp b/src/utils/flags.cpp similarity index 100% rename from src/rdsn/src/utils/flags.cpp rename to src/utils/flags.cpp diff --git a/src/rdsn/src/utils/flags.h b/src/utils/flags.h similarity index 100% rename from src/rdsn/src/utils/flags.h rename to src/utils/flags.h diff --git a/src/rdsn/src/utils/fmt_logging.h b/src/utils/fmt_logging.h similarity index 100% rename from src/rdsn/src/utils/fmt_logging.h rename to src/utils/fmt_logging.h diff --git a/src/rdsn/src/utils/function_traits.h b/src/utils/function_traits.h similarity index 100% rename from src/rdsn/src/utils/function_traits.h rename to src/utils/function_traits.h diff --git a/src/rdsn/src/utils/gpid.cpp b/src/utils/gpid.cpp similarity index 100% rename from src/rdsn/src/utils/gpid.cpp rename to src/utils/gpid.cpp diff --git a/src/rdsn/src/utils/hpc_locks/autoresetevent.h b/src/utils/hpc_locks/autoresetevent.h similarity index 100% rename from src/rdsn/src/utils/hpc_locks/autoresetevent.h rename to src/utils/hpc_locks/autoresetevent.h diff --git a/src/rdsn/src/utils/hpc_locks/autoreseteventcondvar.h b/src/utils/hpc_locks/autoreseteventcondvar.h similarity index 100% rename from src/rdsn/src/utils/hpc_locks/autoreseteventcondvar.h rename to src/utils/hpc_locks/autoreseteventcondvar.h diff --git a/src/rdsn/src/utils/hpc_locks/benaphore.h b/src/utils/hpc_locks/benaphore.h similarity index 100% rename from src/rdsn/src/utils/hpc_locks/benaphore.h rename to src/utils/hpc_locks/benaphore.h diff --git a/src/rdsn/src/utils/hpc_locks/bitfield.h b/src/utils/hpc_locks/bitfield.h similarity index 100% rename from src/rdsn/src/utils/hpc_locks/bitfield.h rename to src/utils/hpc_locks/bitfield.h diff --git a/src/rdsn/src/utils/hpc_locks/readme.txt b/src/utils/hpc_locks/readme.txt similarity index 100% rename from src/rdsn/src/utils/hpc_locks/readme.txt rename to src/utils/hpc_locks/readme.txt diff --git a/src/rdsn/src/utils/hpc_locks/rwlock.h b/src/utils/hpc_locks/rwlock.h similarity index 100% rename from src/rdsn/src/utils/hpc_locks/rwlock.h rename to src/utils/hpc_locks/rwlock.h diff --git a/src/rdsn/src/utils/hpc_locks/sema.h b/src/utils/hpc_locks/sema.h similarity index 100% rename from src/rdsn/src/utils/hpc_locks/sema.h rename to src/utils/hpc_locks/sema.h diff --git a/src/rdsn/src/utils/je_ctl.cpp b/src/utils/je_ctl.cpp similarity index 100% rename from src/rdsn/src/utils/je_ctl.cpp rename to src/utils/je_ctl.cpp diff --git a/src/rdsn/src/utils/je_ctl.h b/src/utils/je_ctl.h similarity index 100% rename from src/rdsn/src/utils/je_ctl.h rename to src/utils/je_ctl.h diff --git a/src/rdsn/src/utils/join_point.h b/src/utils/join_point.h similarity index 100% rename from src/rdsn/src/utils/join_point.h rename to src/utils/join_point.h diff --git a/src/rdsn/src/utils/latency_tracer.cpp b/src/utils/latency_tracer.cpp similarity index 100% rename from src/rdsn/src/utils/latency_tracer.cpp rename to src/utils/latency_tracer.cpp diff --git a/src/rdsn/src/utils/latency_tracer.h b/src/utils/latency_tracer.h similarity index 100% rename from src/rdsn/src/utils/latency_tracer.h rename to src/utils/latency_tracer.h diff --git a/src/rdsn/src/utils/link.h b/src/utils/link.h similarity index 100% rename from src/rdsn/src/utils/link.h rename to src/utils/link.h diff --git a/src/rdsn/src/utils/lockp.std.h b/src/utils/lockp.std.h similarity index 100% rename from src/rdsn/src/utils/lockp.std.h rename to src/utils/lockp.std.h diff --git a/src/rdsn/src/utils/logging.cpp b/src/utils/logging.cpp similarity index 100% rename from src/rdsn/src/utils/logging.cpp rename to src/utils/logging.cpp diff --git a/src/rdsn/src/utils/logging_provider.h b/src/utils/logging_provider.h similarity index 100% rename from src/rdsn/src/utils/logging_provider.h rename to src/utils/logging_provider.h diff --git a/src/rdsn/src/utils/long_adder.cpp b/src/utils/long_adder.cpp similarity index 100% rename from src/rdsn/src/utils/long_adder.cpp rename to src/utils/long_adder.cpp diff --git a/src/rdsn/src/utils/long_adder.h b/src/utils/long_adder.h similarity index 100% rename from src/rdsn/src/utils/long_adder.h rename to src/utils/long_adder.h diff --git a/src/rdsn/src/utils/long_adder_bench/CMakeLists.txt b/src/utils/long_adder_bench/CMakeLists.txt similarity index 100% rename from src/rdsn/src/utils/long_adder_bench/CMakeLists.txt rename to src/utils/long_adder_bench/CMakeLists.txt diff --git a/src/rdsn/src/utils/long_adder_bench/long_adder_bench.cpp b/src/utils/long_adder_bench/long_adder_bench.cpp similarity index 100% rename from src/rdsn/src/utils/long_adder_bench/long_adder_bench.cpp rename to src/utils/long_adder_bench/long_adder_bench.cpp diff --git a/src/rdsn/src/utils/math.cpp b/src/utils/math.cpp similarity index 100% rename from src/rdsn/src/utils/math.cpp rename to src/utils/math.cpp diff --git a/src/rdsn/src/utils/math.h b/src/utils/math.h similarity index 100% rename from src/rdsn/src/utils/math.h rename to src/utils/math.h diff --git a/src/rdsn/src/utils/memutil.h b/src/utils/memutil.h similarity index 100% rename from src/rdsn/src/utils/memutil.h rename to src/utils/memutil.h diff --git a/src/rdsn/src/utils/metrics.cpp b/src/utils/metrics.cpp similarity index 100% rename from src/rdsn/src/utils/metrics.cpp rename to src/utils/metrics.cpp diff --git a/src/rdsn/src/utils/metrics.h b/src/utils/metrics.h similarity index 100% rename from src/rdsn/src/utils/metrics.h rename to src/utils/metrics.h diff --git a/src/rdsn/src/utils/nth_element.h b/src/utils/nth_element.h similarity index 100% rename from src/rdsn/src/utils/nth_element.h rename to src/utils/nth_element.h diff --git a/src/rdsn/src/utils/optional.h b/src/utils/optional.h similarity index 100% rename from src/rdsn/src/utils/optional.h rename to src/utils/optional.h diff --git a/src/rdsn/src/utils/output_utils.cpp b/src/utils/output_utils.cpp similarity index 100% rename from src/rdsn/src/utils/output_utils.cpp rename to src/utils/output_utils.cpp diff --git a/src/rdsn/src/utils/output_utils.h b/src/utils/output_utils.h similarity index 100% rename from src/rdsn/src/utils/output_utils.h rename to src/utils/output_utils.h diff --git a/src/rdsn/src/utils/ports.h b/src/utils/ports.h similarity index 100% rename from src/rdsn/src/utils/ports.h rename to src/utils/ports.h diff --git a/src/rdsn/src/utils/preloadable.h b/src/utils/preloadable.h similarity index 100% rename from src/rdsn/src/utils/preloadable.h rename to src/utils/preloadable.h diff --git a/src/rdsn/src/utils/priority_queue.h b/src/utils/priority_queue.h similarity index 100% rename from src/rdsn/src/utils/priority_queue.h rename to src/utils/priority_queue.h diff --git a/src/rdsn/src/utils/process_utils.cpp b/src/utils/process_utils.cpp similarity index 100% rename from src/rdsn/src/utils/process_utils.cpp rename to src/utils/process_utils.cpp diff --git a/src/rdsn/src/utils/process_utils.h b/src/utils/process_utils.h similarity index 100% rename from src/rdsn/src/utils/process_utils.h rename to src/utils/process_utils.h diff --git a/src/rdsn/src/utils/rand.cpp b/src/utils/rand.cpp similarity index 100% rename from src/rdsn/src/utils/rand.cpp rename to src/utils/rand.cpp diff --git a/src/rdsn/src/utils/rand.h b/src/utils/rand.h similarity index 100% rename from src/rdsn/src/utils/rand.h rename to src/utils/rand.h diff --git a/src/rdsn/src/utils/rpc_address.cpp b/src/utils/rpc_address.cpp similarity index 100% rename from src/rdsn/src/utils/rpc_address.cpp rename to src/utils/rpc_address.cpp diff --git a/src/rdsn/src/utils/rpc_address.h b/src/utils/rpc_address.h similarity index 100% rename from src/rdsn/src/utils/rpc_address.h rename to src/utils/rpc_address.h diff --git a/src/rdsn/src/utils/safe_strerror_posix.cpp b/src/utils/safe_strerror_posix.cpp similarity index 100% rename from src/rdsn/src/utils/safe_strerror_posix.cpp rename to src/utils/safe_strerror_posix.cpp diff --git a/src/rdsn/src/utils/safe_strerror_posix.h b/src/utils/safe_strerror_posix.h similarity index 100% rename from src/rdsn/src/utils/safe_strerror_posix.h rename to src/utils/safe_strerror_posix.h diff --git a/src/rdsn/src/utils/shared_io_service.cpp b/src/utils/shared_io_service.cpp similarity index 100% rename from src/rdsn/src/utils/shared_io_service.cpp rename to src/utils/shared_io_service.cpp diff --git a/src/rdsn/src/utils/shared_io_service.h b/src/utils/shared_io_service.h similarity index 100% rename from src/rdsn/src/utils/shared_io_service.h rename to src/utils/shared_io_service.h diff --git a/src/rdsn/src/utils/simple_logger.cpp b/src/utils/simple_logger.cpp similarity index 100% rename from src/rdsn/src/utils/simple_logger.cpp rename to src/utils/simple_logger.cpp diff --git a/src/rdsn/src/utils/simple_logger.h b/src/utils/simple_logger.h similarity index 100% rename from src/rdsn/src/utils/simple_logger.h rename to src/utils/simple_logger.h diff --git a/src/rdsn/src/utils/singleton.h b/src/utils/singleton.h similarity index 100% rename from src/rdsn/src/utils/singleton.h rename to src/utils/singleton.h diff --git a/src/rdsn/src/utils/singleton_store.h b/src/utils/singleton_store.h similarity index 100% rename from src/rdsn/src/utils/singleton_store.h rename to src/utils/singleton_store.h diff --git a/src/rdsn/src/utils/smart_pointers.h b/src/utils/smart_pointers.h similarity index 100% rename from src/rdsn/src/utils/smart_pointers.h rename to src/utils/smart_pointers.h diff --git a/src/rdsn/src/utils/string_conv.h b/src/utils/string_conv.h similarity index 100% rename from src/rdsn/src/utils/string_conv.h rename to src/utils/string_conv.h diff --git a/src/rdsn/src/utils/string_splitter.h b/src/utils/string_splitter.h similarity index 100% rename from src/rdsn/src/utils/string_splitter.h rename to src/utils/string_splitter.h diff --git a/src/rdsn/src/utils/string_view.cpp b/src/utils/string_view.cpp similarity index 100% rename from src/rdsn/src/utils/string_view.cpp rename to src/utils/string_view.cpp diff --git a/src/rdsn/src/utils/string_view.h b/src/utils/string_view.h similarity index 100% rename from src/rdsn/src/utils/string_view.h rename to src/utils/string_view.h diff --git a/src/rdsn/src/utils/strings.cpp b/src/utils/strings.cpp similarity index 100% rename from src/rdsn/src/utils/strings.cpp rename to src/utils/strings.cpp diff --git a/src/rdsn/src/utils/strings.h b/src/utils/strings.h similarity index 100% rename from src/rdsn/src/utils/strings.h rename to src/utils/strings.h diff --git a/src/rdsn/src/utils/synchronize.h b/src/utils/synchronize.h similarity index 100% rename from src/rdsn/src/utils/synchronize.h rename to src/utils/synchronize.h diff --git a/src/rdsn/src/utils/sys_exit_hook.h b/src/utils/sys_exit_hook.h similarity index 100% rename from src/rdsn/src/utils/sys_exit_hook.h rename to src/utils/sys_exit_hook.h diff --git a/src/rdsn/src/utils/test/CMakeLists.txt b/src/utils/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/utils/test/CMakeLists.txt rename to src/utils/test/CMakeLists.txt diff --git a/src/rdsn/src/utils/test/TokenBucketTest.cpp b/src/utils/test/TokenBucketTest.cpp similarity index 100% rename from src/rdsn/src/utils/test/TokenBucketTest.cpp rename to src/utils/test/TokenBucketTest.cpp diff --git a/src/rdsn/src/utils/test/TokenBucketTest.h b/src/utils/test/TokenBucketTest.h similarity index 100% rename from src/rdsn/src/utils/test/TokenBucketTest.h rename to src/utils/test/TokenBucketTest.h diff --git a/src/rdsn/src/utils/test/address.cpp b/src/utils/test/address.cpp similarity index 100% rename from src/rdsn/src/utils/test/address.cpp rename to src/utils/test/address.cpp diff --git a/src/rdsn/src/utils/test/autoref_ptr_test.cpp b/src/utils/test/autoref_ptr_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/autoref_ptr_test.cpp rename to src/utils/test/autoref_ptr_test.cpp diff --git a/src/rdsn/src/utils/test/binary_reader_test.cpp b/src/utils/test/binary_reader_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/binary_reader_test.cpp rename to src/utils/test/binary_reader_test.cpp diff --git a/src/rdsn/src/utils/test/clear.sh b/src/utils/test/clear.sh similarity index 100% rename from src/rdsn/src/utils/test/clear.sh rename to src/utils/test/clear.sh diff --git a/src/rdsn/src/utils/test/command_manager.cpp b/src/utils/test/command_manager.cpp similarity index 100% rename from src/rdsn/src/utils/test/command_manager.cpp rename to src/utils/test/command_manager.cpp diff --git a/src/rdsn/src/utils/test/config-bad-section.ini b/src/utils/test/config-bad-section.ini similarity index 100% rename from src/rdsn/src/utils/test/config-bad-section.ini rename to src/utils/test/config-bad-section.ini diff --git a/src/rdsn/src/utils/test/config-dup-key.ini b/src/utils/test/config-dup-key.ini similarity index 100% rename from src/rdsn/src/utils/test/config-dup-key.ini rename to src/utils/test/config-dup-key.ini diff --git a/src/rdsn/src/utils/test/config-dup-section.ini b/src/utils/test/config-dup-section.ini similarity index 100% rename from src/rdsn/src/utils/test/config-dup-section.ini rename to src/utils/test/config-dup-section.ini diff --git a/src/rdsn/src/utils/test/config-empty.ini b/src/utils/test/config-empty.ini similarity index 100% rename from src/rdsn/src/utils/test/config-empty.ini rename to src/utils/test/config-empty.ini diff --git a/src/rdsn/src/utils/test/config-no-key.ini b/src/utils/test/config-no-key.ini similarity index 100% rename from src/rdsn/src/utils/test/config-no-key.ini rename to src/utils/test/config-no-key.ini diff --git a/src/rdsn/src/utils/test/config-no-section.ini b/src/utils/test/config-no-section.ini similarity index 100% rename from src/rdsn/src/utils/test/config-no-section.ini rename to src/utils/test/config-no-section.ini diff --git a/src/rdsn/src/utils/test/config-null-section.ini b/src/utils/test/config-null-section.ini similarity index 100% rename from src/rdsn/src/utils/test/config-null-section.ini rename to src/utils/test/config-null-section.ini diff --git a/src/rdsn/src/utils/test/config-sample.ini b/src/utils/test/config-sample.ini similarity index 100% rename from src/rdsn/src/utils/test/config-sample.ini rename to src/utils/test/config-sample.ini diff --git a/src/rdsn/src/utils/test/config-unmatch-section.ini b/src/utils/test/config-unmatch-section.ini similarity index 100% rename from src/rdsn/src/utils/test/config-unmatch-section.ini rename to src/utils/test/config-unmatch-section.ini diff --git a/src/rdsn/src/utils/test/configuration.cpp b/src/utils/test/configuration.cpp similarity index 100% rename from src/rdsn/src/utils/test/configuration.cpp rename to src/utils/test/configuration.cpp diff --git a/src/rdsn/src/utils/test/endian_test.cpp b/src/utils/test/endian_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/endian_test.cpp rename to src/utils/test/endian_test.cpp diff --git a/src/rdsn/src/utils/test/env.cpp b/src/utils/test/env.cpp similarity index 100% rename from src/rdsn/src/utils/test/env.cpp rename to src/utils/test/env.cpp diff --git a/src/rdsn/src/utils/test/fail_point_test.cpp b/src/utils/test/fail_point_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/fail_point_test.cpp rename to src/utils/test/fail_point_test.cpp diff --git a/src/rdsn/src/utils/test/file_system_test.cpp b/src/utils/test/file_system_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/file_system_test.cpp rename to src/utils/test/file_system_test.cpp diff --git a/src/rdsn/src/utils/test/file_utils.cpp b/src/utils/test/file_utils.cpp similarity index 100% rename from src/rdsn/src/utils/test/file_utils.cpp rename to src/utils/test/file_utils.cpp diff --git a/src/rdsn/src/utils/test/flag_test.cpp b/src/utils/test/flag_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/flag_test.cpp rename to src/utils/test/flag_test.cpp diff --git a/src/rdsn/src/utils/test/fmt_logging_test.cpp b/src/utils/test/fmt_logging_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/fmt_logging_test.cpp rename to src/utils/test/fmt_logging_test.cpp diff --git a/src/rdsn/src/utils/test/hostname_test.cpp b/src/utils/test/hostname_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/hostname_test.cpp rename to src/utils/test/hostname_test.cpp diff --git a/src/rdsn/src/utils/test/je_ctl_test.cpp b/src/utils/test/je_ctl_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/je_ctl_test.cpp rename to src/utils/test/je_ctl_test.cpp diff --git a/src/rdsn/src/utils/test/join_point_test.cpp b/src/utils/test/join_point_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/join_point_test.cpp rename to src/utils/test/join_point_test.cpp diff --git a/src/rdsn/src/utils/test/json_helper_test.cpp b/src/utils/test/json_helper_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/json_helper_test.cpp rename to src/utils/test/json_helper_test.cpp diff --git a/src/rdsn/src/utils/test/latency_tracer_test.cpp b/src/utils/test/latency_tracer_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/latency_tracer_test.cpp rename to src/utils/test/latency_tracer_test.cpp diff --git a/src/rdsn/src/utils/test/lock.std.cpp b/src/utils/test/lock.std.cpp similarity index 100% rename from src/rdsn/src/utils/test/lock.std.cpp rename to src/utils/test/lock.std.cpp diff --git a/src/rdsn/src/utils/test/logger.cpp b/src/utils/test/logger.cpp similarity index 100% rename from src/rdsn/src/utils/test/logger.cpp rename to src/utils/test/logger.cpp diff --git a/src/rdsn/src/utils/test/logging.cpp b/src/utils/test/logging.cpp similarity index 100% rename from src/rdsn/src/utils/test/logging.cpp rename to src/utils/test/logging.cpp diff --git a/src/rdsn/src/utils/test/long_adder_test.cpp b/src/utils/test/long_adder_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/long_adder_test.cpp rename to src/utils/test/long_adder_test.cpp diff --git a/src/rdsn/src/utils/test/main.cpp b/src/utils/test/main.cpp similarity index 100% rename from src/rdsn/src/utils/test/main.cpp rename to src/utils/test/main.cpp diff --git a/src/rdsn/src/utils/test/memutil_test.cpp b/src/utils/test/memutil_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/memutil_test.cpp rename to src/utils/test/memutil_test.cpp diff --git a/src/rdsn/src/utils/test/metrics_test.cpp b/src/utils/test/metrics_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/metrics_test.cpp rename to src/utils/test/metrics_test.cpp diff --git a/src/rdsn/src/utils/test/nth_element_bench/CMakeLists.txt b/src/utils/test/nth_element_bench/CMakeLists.txt similarity index 100% rename from src/rdsn/src/utils/test/nth_element_bench/CMakeLists.txt rename to src/utils/test/nth_element_bench/CMakeLists.txt diff --git a/src/rdsn/src/utils/test/nth_element_bench/nth_element_bench.cpp b/src/utils/test/nth_element_bench/nth_element_bench.cpp similarity index 100% rename from src/rdsn/src/utils/test/nth_element_bench/nth_element_bench.cpp rename to src/utils/test/nth_element_bench/nth_element_bench.cpp diff --git a/src/rdsn/src/utils/test/nth_element_test.cpp b/src/utils/test/nth_element_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/nth_element_test.cpp rename to src/utils/test/nth_element_test.cpp diff --git a/src/rdsn/src/utils/test/nth_element_utils.h b/src/utils/test/nth_element_utils.h similarity index 100% rename from src/rdsn/src/utils/test/nth_element_utils.h rename to src/utils/test/nth_element_utils.h diff --git a/src/rdsn/src/utils/test/output_utils_test.cpp b/src/utils/test/output_utils_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/output_utils_test.cpp rename to src/utils/test/output_utils_test.cpp diff --git a/src/rdsn/src/utils/test/percentile_utils.h b/src/utils/test/percentile_utils.h similarity index 100% rename from src/rdsn/src/utils/test/percentile_utils.h rename to src/utils/test/percentile_utils.h diff --git a/src/rdsn/src/utils/test/priority_queue.cpp b/src/utils/test/priority_queue.cpp similarity index 100% rename from src/rdsn/src/utils/test/priority_queue.cpp rename to src/utils/test/priority_queue.cpp diff --git a/src/rdsn/src/utils/test/rand_test.cpp b/src/utils/test/rand_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/rand_test.cpp rename to src/utils/test/rand_test.cpp diff --git a/src/rdsn/src/utils/test/run.sh b/src/utils/test/run.sh similarity index 100% rename from src/rdsn/src/utils/test/run.sh rename to src/utils/test/run.sh diff --git a/src/rdsn/src/utils/test/sema.cpp b/src/utils/test/sema.cpp similarity index 100% rename from src/rdsn/src/utils/test/sema.cpp rename to src/utils/test/sema.cpp diff --git a/src/rdsn/src/utils/test/smart_pointers_test.cpp b/src/utils/test/smart_pointers_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/smart_pointers_test.cpp rename to src/utils/test/smart_pointers_test.cpp diff --git a/src/rdsn/src/utils/test/string_conv_test.cpp b/src/utils/test/string_conv_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/string_conv_test.cpp rename to src/utils/test/string_conv_test.cpp diff --git a/src/rdsn/src/utils/test/string_view_test.cpp b/src/utils/test/string_view_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/string_view_test.cpp rename to src/utils/test/string_view_test.cpp diff --git a/src/rdsn/src/utils/test/time_utils_test.cpp b/src/utils/test/time_utils_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/time_utils_test.cpp rename to src/utils/test/time_utils_test.cpp diff --git a/src/rdsn/src/utils/test/token_bucket_throttling_controller_test.cpp b/src/utils/test/token_bucket_throttling_controller_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/token_bucket_throttling_controller_test.cpp rename to src/utils/test/token_bucket_throttling_controller_test.cpp diff --git a/src/rdsn/src/utils/test/token_buckets_test.cpp b/src/utils/test/token_buckets_test.cpp similarity index 100% rename from src/rdsn/src/utils/test/token_buckets_test.cpp rename to src/utils/test/token_buckets_test.cpp diff --git a/src/rdsn/src/utils/test/utils.cpp b/src/utils/test/utils.cpp similarity index 100% rename from src/rdsn/src/utils/test/utils.cpp rename to src/utils/test/utils.cpp diff --git a/src/rdsn/src/utils/thread_access_checker.cpp b/src/utils/thread_access_checker.cpp similarity index 100% rename from src/rdsn/src/utils/thread_access_checker.cpp rename to src/utils/thread_access_checker.cpp diff --git a/src/rdsn/src/utils/thread_access_checker.h b/src/utils/thread_access_checker.h similarity index 100% rename from src/rdsn/src/utils/thread_access_checker.h rename to src/utils/thread_access_checker.h diff --git a/src/rdsn/src/utils/threadpool_code.h b/src/utils/threadpool_code.h similarity index 100% rename from src/rdsn/src/utils/threadpool_code.h rename to src/utils/threadpool_code.h diff --git a/src/rdsn/src/utils/threadpool_spec.h b/src/utils/threadpool_spec.h similarity index 100% rename from src/rdsn/src/utils/threadpool_spec.h rename to src/utils/threadpool_spec.h diff --git a/src/rdsn/src/utils/throttling_controller.cpp b/src/utils/throttling_controller.cpp similarity index 100% rename from src/rdsn/src/utils/throttling_controller.cpp rename to src/utils/throttling_controller.cpp diff --git a/src/rdsn/src/utils/throttling_controller.h b/src/utils/throttling_controller.h similarity index 100% rename from src/rdsn/src/utils/throttling_controller.h rename to src/utils/throttling_controller.h diff --git a/src/rdsn/src/utils/time_utils.cpp b/src/utils/time_utils.cpp similarity index 100% rename from src/rdsn/src/utils/time_utils.cpp rename to src/utils/time_utils.cpp diff --git a/src/rdsn/src/utils/time_utils.h b/src/utils/time_utils.h similarity index 100% rename from src/rdsn/src/utils/time_utils.h rename to src/utils/time_utils.h diff --git a/src/rdsn/src/utils/timer.h b/src/utils/timer.h similarity index 100% rename from src/rdsn/src/utils/timer.h rename to src/utils/timer.h diff --git a/src/rdsn/src/utils/token_bucket_throttling_controller.cpp b/src/utils/token_bucket_throttling_controller.cpp similarity index 100% rename from src/rdsn/src/utils/token_bucket_throttling_controller.cpp rename to src/utils/token_bucket_throttling_controller.cpp diff --git a/src/rdsn/src/utils/token_bucket_throttling_controller.h b/src/utils/token_bucket_throttling_controller.h similarity index 100% rename from src/rdsn/src/utils/token_bucket_throttling_controller.h rename to src/utils/token_bucket_throttling_controller.h diff --git a/src/rdsn/src/utils/token_buckets.cpp b/src/utils/token_buckets.cpp similarity index 100% rename from src/rdsn/src/utils/token_buckets.cpp rename to src/utils/token_buckets.cpp diff --git a/src/rdsn/src/utils/token_buckets.h b/src/utils/token_buckets.h similarity index 100% rename from src/rdsn/src/utils/token_buckets.h rename to src/utils/token_buckets.h diff --git a/src/rdsn/src/utils/uniq_timestamp_us.h b/src/utils/uniq_timestamp_us.h similarity index 100% rename from src/rdsn/src/utils/uniq_timestamp_us.h rename to src/utils/uniq_timestamp_us.h diff --git a/src/rdsn/src/utils/utils.cpp b/src/utils/utils.cpp similarity index 100% rename from src/rdsn/src/utils/utils.cpp rename to src/utils/utils.cpp diff --git a/src/rdsn/src/utils/utils.h b/src/utils/utils.h similarity index 100% rename from src/rdsn/src/utils/utils.h rename to src/utils/utils.h diff --git a/src/rdsn/src/utils/work_queue.h b/src/utils/work_queue.h similarity index 100% rename from src/rdsn/src/utils/work_queue.h rename to src/utils/work_queue.h diff --git a/src/rdsn/src/utils/zlock_provider.h b/src/utils/zlock_provider.h similarity index 100% rename from src/rdsn/src/utils/zlock_provider.h rename to src/utils/zlock_provider.h diff --git a/src/rdsn/src/utils/zlocks.h b/src/utils/zlocks.h similarity index 100% rename from src/rdsn/src/utils/zlocks.h rename to src/utils/zlocks.h diff --git a/src/rdsn/src/zookeeper/CMakeLists.txt b/src/zookeeper/CMakeLists.txt similarity index 100% rename from src/rdsn/src/zookeeper/CMakeLists.txt rename to src/zookeeper/CMakeLists.txt diff --git a/src/rdsn/src/zookeeper/distributed_lock_service_zookeeper.cpp b/src/zookeeper/distributed_lock_service_zookeeper.cpp similarity index 100% rename from src/rdsn/src/zookeeper/distributed_lock_service_zookeeper.cpp rename to src/zookeeper/distributed_lock_service_zookeeper.cpp diff --git a/src/rdsn/src/zookeeper/distributed_lock_service_zookeeper.h b/src/zookeeper/distributed_lock_service_zookeeper.h similarity index 100% rename from src/rdsn/src/zookeeper/distributed_lock_service_zookeeper.h rename to src/zookeeper/distributed_lock_service_zookeeper.h diff --git a/src/rdsn/src/zookeeper/lock_struct.cpp b/src/zookeeper/lock_struct.cpp similarity index 100% rename from src/rdsn/src/zookeeper/lock_struct.cpp rename to src/zookeeper/lock_struct.cpp diff --git a/src/rdsn/src/zookeeper/lock_struct.h b/src/zookeeper/lock_struct.h similarity index 100% rename from src/rdsn/src/zookeeper/lock_struct.h rename to src/zookeeper/lock_struct.h diff --git a/src/rdsn/src/zookeeper/lock_types.h b/src/zookeeper/lock_types.h similarity index 100% rename from src/rdsn/src/zookeeper/lock_types.h rename to src/zookeeper/lock_types.h diff --git a/src/rdsn/src/zookeeper/test/CMakeLists.txt b/src/zookeeper/test/CMakeLists.txt similarity index 100% rename from src/rdsn/src/zookeeper/test/CMakeLists.txt rename to src/zookeeper/test/CMakeLists.txt diff --git a/src/rdsn/src/zookeeper/test/clear.sh b/src/zookeeper/test/clear.sh similarity index 100% rename from src/rdsn/src/zookeeper/test/clear.sh rename to src/zookeeper/test/clear.sh diff --git a/src/rdsn/src/zookeeper/test/config-test.ini b/src/zookeeper/test/config-test.ini similarity index 100% rename from src/rdsn/src/zookeeper/test/config-test.ini rename to src/zookeeper/test/config-test.ini diff --git a/src/rdsn/src/zookeeper/test/distributed_lock_zookeeper.cpp b/src/zookeeper/test/distributed_lock_zookeeper.cpp similarity index 100% rename from src/rdsn/src/zookeeper/test/distributed_lock_zookeeper.cpp rename to src/zookeeper/test/distributed_lock_zookeeper.cpp diff --git a/src/rdsn/src/zookeeper/test/main.cpp b/src/zookeeper/test/main.cpp similarity index 100% rename from src/rdsn/src/zookeeper/test/main.cpp rename to src/zookeeper/test/main.cpp diff --git a/src/rdsn/src/zookeeper/test/run.sh b/src/zookeeper/test/run.sh similarity index 100% rename from src/rdsn/src/zookeeper/test/run.sh rename to src/zookeeper/test/run.sh diff --git a/src/rdsn/src/zookeeper/zookeeper_error.cpp b/src/zookeeper/zookeeper_error.cpp similarity index 100% rename from src/rdsn/src/zookeeper/zookeeper_error.cpp rename to src/zookeeper/zookeeper_error.cpp diff --git a/src/rdsn/src/zookeeper/zookeeper_error.h b/src/zookeeper/zookeeper_error.h similarity index 100% rename from src/rdsn/src/zookeeper/zookeeper_error.h rename to src/zookeeper/zookeeper_error.h diff --git a/src/rdsn/src/zookeeper/zookeeper_session.cpp b/src/zookeeper/zookeeper_session.cpp similarity index 100% rename from src/rdsn/src/zookeeper/zookeeper_session.cpp rename to src/zookeeper/zookeeper_session.cpp diff --git a/src/rdsn/src/zookeeper/zookeeper_session.h b/src/zookeeper/zookeeper_session.h similarity index 100% rename from src/rdsn/src/zookeeper/zookeeper_session.h rename to src/zookeeper/zookeeper_session.h diff --git a/src/rdsn/src/zookeeper/zookeeper_session_mgr.cpp b/src/zookeeper/zookeeper_session_mgr.cpp similarity index 100% rename from src/rdsn/src/zookeeper/zookeeper_session_mgr.cpp rename to src/zookeeper/zookeeper_session_mgr.cpp diff --git a/src/rdsn/src/zookeeper/zookeeper_session_mgr.h b/src/zookeeper/zookeeper_session_mgr.h similarity index 100% rename from src/rdsn/src/zookeeper/zookeeper_session_mgr.h rename to src/zookeeper/zookeeper_session_mgr.h