Searched refs:CLIENT_READONLY (Results 1 – 5 of 5) sorted by relevance
542 c->flags &= ~(CLIENT_READONLY|CLIENT_ASKING); in luaRedisGenericCommand()543 c->flags |= server.lua_caller->flags & (CLIENT_READONLY|CLIENT_ASKING); in luaRedisGenericCommand()
5410 c->flags |= CLIENT_READONLY; in readonlyCommand()5416 c->flags &= ~CLIENT_READONLY; in readwriteCommand()5609 if (c->flags & CLIENT_READONLY && in getNodeByQuery()
2791 c->flags &= ~(CLIENT_READONLY|CLIENT_ASKING); in RM_Call()2792 c->flags |= ctx->client->flags & (CLIENT_READONLY|CLIENT_ASKING); in RM_Call()
1666 if (client->flags & CLIENT_READONLY) *p++ = 'r'; in catClientInfoString()
247 #define CLIENT_READONLY (1<<17) /* Cluster client is in read-only state. */ macro