TSG-6345 redis断开期间redis内的数据发生变化,且版本号未发生回滚,导致maat无法加载新配置。 修复方法: 重连redis后,触发全量配置更新。
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user