From bca82da68b67afa711aa8fc79ae0cbe739b6aca4 Mon Sep 17 00:00:00 2001 From: levy Date: Fri, 3 Sep 2021 09:32:32 +0800 Subject: [PATCH 1/3] fix --- src/meta/partition_guardian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/partition_guardian.h b/src/meta/partition_guardian.h index 3794405170..1d20551f20 100644 --- a/src/meta/partition_guardian.h +++ b/src/meta/partition_guardian.h @@ -34,7 +34,7 @@ class partition_guardian typedef partition_guardian *(*factory)(meta_service *svc); explicit partition_guardian(meta_service *svc); - ~partition_guardian() = default; + virtual ~partition_guardian() = default; virtual pc_status cure(meta_view view, const dsn::gpid &gpid, configuration_proposal_action &action); From 2305f1826897956fb4c47c4f4d519a697fbad7c8 Mon Sep 17 00:00:00 2001 From: levy Date: Fri, 3 Sep 2021 09:32:52 +0800 Subject: [PATCH 2/3] fix --- src/meta/partition_guardian.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meta/partition_guardian.h b/src/meta/partition_guardian.h index 1d20551f20..64e561747e 100644 --- a/src/meta/partition_guardian.h +++ b/src/meta/partition_guardian.h @@ -38,6 +38,7 @@ class partition_guardian virtual pc_status cure(meta_view view, const dsn::gpid &gpid, configuration_proposal_action &action); + void reconfig(meta_view view, const configuration_update_request &request); void register_ctrl_commands(); void unregister_ctrl_commands(); From aa025d7e52320612097f75baa9ecd68a15fd1637 Mon Sep 17 00:00:00 2001 From: levy Date: Fri, 3 Sep 2021 09:33:04 +0800 Subject: [PATCH 3/3] fix --- src/meta/partition_guardian.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/meta/partition_guardian.h b/src/meta/partition_guardian.h index 64e561747e..1d20551f20 100644 --- a/src/meta/partition_guardian.h +++ b/src/meta/partition_guardian.h @@ -38,7 +38,6 @@ class partition_guardian virtual pc_status cure(meta_view view, const dsn::gpid &gpid, configuration_proposal_action &action); - void reconfig(meta_view view, const configuration_update_request &request); void register_ctrl_commands(); void unregister_ctrl_commands();