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

feat(bulk-load): meta server start bulk load #454

Merged
merged 10 commits into from
May 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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