From 00bb36867828403f42009a50d8a75d2444853bb1 Mon Sep 17 00:00:00 2001 From: Smilencer <527646889@qq.com> Date: Thu, 31 Dec 2020 15:13:59 +0800 Subject: [PATCH] fix(hotkey): add replication_enums of `detect_action::QUERY` (#718) --- include/dsn/dist/replication/replication_enums.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dsn/dist/replication/replication_enums.h b/include/dsn/dist/replication/replication_enums.h index 8b4f19bf00..bd3adcec6a 100644 --- a/include/dsn/dist/replication/replication_enums.h +++ b/include/dsn/dist/replication/replication_enums.h @@ -98,6 +98,7 @@ ENUM_END2(replication::hotkey_type::type, hotkey_type) ENUM_BEGIN2(replication::detect_action::type, detect_action, replication::detect_action::START) ENUM_REG(replication::detect_action::START) ENUM_REG(replication::detect_action::STOP) +ENUM_REG(replication::detect_action::QUERY) ENUM_END2(replication::detect_action::type, detect_action) ENUM_BEGIN2(replication::split_status::type, split_status, replication::split_status::NOT_SPLIT) @@ -116,4 +117,4 @@ ENUM_REG(replication::disk_migration_status::MOVING) ENUM_REG(replication::disk_migration_status::MOVED) ENUM_REG(replication::disk_migration_status::CLOSED) ENUM_END2(replication::disk_migration_status::type, disk_migration_status) -} +} // namespace dsn