From 26ca04a8a2d46ee243e97cc80535c7c1e28d5c56 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) --- src/module.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/module.c b/src/module.c index 17b72d059..02a3b1ddc 100644 --- a/src/module.c +++ b/src/module.c @@ -1917,6 +1917,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) {