1、提供Maat_cmd_flushDB函数用于重置redis数据库,重置操作后版本号加1。
2、当ZRANGEBYSCORE结果为空的时(日志Got nothing after ),会全量加载。 3、exec_serial_rule事务失败时,重试5次。
This commit is contained in:
@@ -151,5 +151,6 @@ int Maat_cmd_set_lines(Maat_feather_t feather,const struct Maat_line_t** line_ru
|
||||
//If the key does not exist, it is set to 0 before performing the operation.
|
||||
long long Maat_cmd_incrby(Maat_feather_t feather,const char* key, int increment);
|
||||
int Maat_cmd_select(Maat_feather_t feather, int label_id, int * output_ids, unsigned int size);
|
||||
int Maat_cmd_flushDB(Maat_feather_t feather);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user