From d7185608d7b110b82f0be8039bbcd4903099e361 Mon Sep 17 00:00:00 2001 From: HeYuchen <377710264@qq.com> Date: Fri, 12 Mar 2021 14:19:35 +0800 Subject: [PATCH] fix(split): register update_child_partition_count rpc handler (#783) --- src/replica/replica_stub.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/replica/replica_stub.cpp b/src/replica/replica_stub.cpp index 833c8d61fc..6fbf60619d 100644 --- a/src/replica/replica_stub.cpp +++ b/src/replica/replica_stub.cpp @@ -2086,6 +2086,9 @@ void replica_stub::open_service() RPC_REPLICA_DISK_MIGRATE, "disk_migrate_replica", &replica_stub::on_disk_migrate); register_rpc_handler_with_rpc_holder( RPC_QUERY_APP_INFO, "query_app_info", &replica_stub::on_query_app_info); + register_rpc_handler_with_rpc_holder(RPC_SPLIT_UPDATE_CHILD_PARTITION_COUNT, + "update_child_group_partition_count", + &replica_stub::on_update_child_group_partition_count); register_rpc_handler_with_rpc_holder(RPC_SPLIT_NOTIFY_CATCH_UP, "child_notify_catch_up", &replica_stub::on_notify_primary_split_catch_up);