diff --git a/src/entry/Maat_command.cpp b/src/entry/Maat_command.cpp index abba07e..df16fcd 100644 --- a/src/entry/Maat_command.cpp +++ b/src/entry/Maat_command.cpp @@ -1733,6 +1733,10 @@ void redis_monitor_traverse(long long version, struct source_redis_ctx* m { return; } + else + { + version=0;//Trigger full update when reconnect to redis. + } } rule_num=get_rm_key_list(mr_ctx->read_ctx, version, feather->load_version_from, &new_version, feather->table_mgr, &rule_list, &update_type, logger, feather->cumulative_update_off); diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 4b9054d..8027645 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -57,7 +57,7 @@ extern "C" } #endif -int MAAT_FRAME_VERSION_3_1_20_20210513=1; +int MAAT_FRAME_VERSION_3_1_21_20210513=1; int is_valid_table_name(const char* str) {