空版本号不再触发全量。
This commit is contained in:
@@ -588,9 +588,9 @@ int get_rm_key_list(redisContext *c, long long instance_version, long long desir
|
|||||||
}while(rule_num==0&&target_version<=redis_version&&cumulative_off==1);
|
}while(rule_num==0&&target_version<=redis_version&&cumulative_off==1);
|
||||||
if(rule_num==0)
|
if(rule_num==0)
|
||||||
{
|
{
|
||||||
MESA_handle_runtime_log(logger, RLOG_LV_FATAL, maat_redis_monitor,"Got nothing after ZRANGEBYSCORE %s (%lld %lld, cumulative %s"
|
MESA_handle_runtime_log(logger, RLOG_LV_DEBUG, maat_redis_monitor,"Got nothing after ZRANGEBYSCORE %s (%lld %lld, cumulative %s"
|
||||||
,rm_status_sset,instance_version,target_version-1,cumulative_off==1?"OFF":"ON");
|
,rm_status_sset,instance_version,target_version-1,cumulative_off==1?"OFF":"ON");
|
||||||
goto FULL_UPDATE;
|
return 0;
|
||||||
}
|
}
|
||||||
MESA_handle_runtime_log(logger, RLOG_LV_INFO, maat_redis_monitor,
|
MESA_handle_runtime_log(logger, RLOG_LV_INFO, maat_redis_monitor,
|
||||||
"Inc Update form instance_version %lld to %lld (%d entries).",instance_version,target_version,rule_num);
|
"Inc Update form instance_version %lld to %lld (%d entries).",instance_version,target_version,rule_num);
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
#include "stream_fuzzy_hash.h"
|
#include "stream_fuzzy_hash.h"
|
||||||
#include "gram_index_engine.h"
|
#include "gram_index_engine.h"
|
||||||
|
|
||||||
int MAAT_FRAME_VERSION_2_5_20181216=1;
|
int MAAT_FRAME_VERSION_2_5_20181217=1;
|
||||||
|
|
||||||
const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin",
|
const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin",
|
||||||
"unicode_ascii_esc","unicode_ascii_aligned","unicode_ncr_dec","unicode_ncr_hex","url_encode_gb2312","url_encode_utf8",""};
|
"unicode_ascii_esc","unicode_ascii_aligned","unicode_ncr_dec","unicode_ncr_hex","url_encode_gb2312","url_encode_utf8",""};
|
||||||
|
|||||||
Reference in New Issue
Block a user