Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
feat(bulk-load): meta server start bulk load (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
hycdong authored May 9, 2020
1 parent 54b4dda commit 8d5d321
Show file tree
Hide file tree
Showing 12 changed files with 837 additions and 3 deletions.
117 changes: 117 additions & 0 deletions include/dsn/dist/replication/replication_types.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/dist/replication/common/replication_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ void replication_options::initialize()

bulk_load_provider_root = dsn_config_get_value_string("replication",
"bulk_load_provider_root",
"bulk_load_root",
"bulk_load_provider_root",
"bulk load root on remote file provider");

replica_helper::load_meta_servers(meta_servers);
Expand Down
2 changes: 2 additions & 0 deletions src/dist/replication/common/replication_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ namespace replication {
typedef std::unordered_map<::dsn::rpc_address, partition_status::type> node_statuses;
typedef std::unordered_map<::dsn::rpc_address, dsn::task_ptr> node_tasks;

typedef rpc_holder<start_bulk_load_request, start_bulk_load_response> start_bulk_load_rpc;

class replication_options
{
public:
Expand Down
Loading

0 comments on commit 8d5d321

Please sign in to comment.