在头文件的注释中说明Maat_cmd_append、Maat_cmd函数的删除操作可能失败,需要重试。

This commit is contained in:
zhengchao
2017-08-07 18:00:49 +08:00
parent e4341ebea1
commit d45a8e543b

View File

@@ -133,6 +133,8 @@ int Maat_format_cmd(struct Maat_cmd_t* cmd, char* buffer, int size);
// REGION_EXPR and REGION_SIMILARITY need to escape input string.
char* Maat_str_escape(char* dst,int size,const char*src);
//Deletion failed due to not complete synchronize with Redis.
//To make sure the delete command is excecuted, user should try again after MAAT_OPT_SCANDIR_INTERVAL_MS ms.
// The following functions are NOT thread safe.
int Maat_cmd(Maat_feather_t feather,struct Maat_cmd_t* cmd,enum MAAT_OPERATION op);