Home
last modified time | relevance | path

Searched refs:CLIENT_READONLY (Results 1 – 5 of 5) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dscripting.c542 c->flags &= ~(CLIENT_READONLY|CLIENT_ASKING); in luaRedisGenericCommand()
543 c->flags |= server.lua_caller->flags & (CLIENT_READONLY|CLIENT_ASKING); in luaRedisGenericCommand()
H A Dcluster.c5410 c->flags |= CLIENT_READONLY; in readonlyCommand()
5416 c->flags &= ~CLIENT_READONLY; in readwriteCommand()
5609 if (c->flags & CLIENT_READONLY && in getNodeByQuery()
H A Dmodule.c2791 c->flags &= ~(CLIENT_READONLY|CLIENT_ASKING); in RM_Call()
2792 c->flags |= ctx->client->flags & (CLIENT_READONLY|CLIENT_ASKING); in RM_Call()
H A Dnetworking.c1666 if (client->flags & CLIENT_READONLY) *p++ = 'r'; in catClientInfoString()
H A Dserver.h247 #define CLIENT_READONLY (1<<17) /* Cluster client is in read-only state. */ macro