From 90e8da536e919a99a14790a057acb3853a668591 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Tue, 22 Sep 2020 12:11:19 +0300 Subject: [PATCH] RM_GetContextFlags - document missing flags (#7821) (cherry picked from commit 78c80b3f8c4d37884ee387ef44abdd83664ee448) --- src/module.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/module.c b/src/module.c index 4cb4cfe20..feaff0223 100644 --- a/src/module.c +++ b/src/module.c @@ -1922,6 +1922,12 @@ int RM_GetSelectedDb(RedisModuleCtx *ctx) { * * * REDISMODULE_CTX_FLAGS_ACTIVE_CHILD: There is currently some background * process active (RDB, AUX or module). + * + * * REDISMODULE_CTX_FLAGS_MULTI_DIRTY: The next EXEC will fail due to dirty + * CAS (touched keys). + * + * * REDISMODULE_CTX_FLAGS_IS_CHILD: Redis is currently running inside + * background child process. */ int RM_GetContextFlags(RedisModuleCtx *ctx) {