Searched refs:CLIENT_MASTER (Results 1 – 5 of 5) sorted by relevance
165 if ((c->flags & CLIENT_MASTER) && in prepareClientToWrite()794 if (server.master && c->flags & CLIENT_MASTER) { in freeClient()860 if (c->flags & CLIENT_MASTER) replicationHandleMasterDisconnection(); in freeClient()972 if (!(c->flags & CLIENT_MASTER)) c->lastinteraction = server.unixtime; in writeToClient()1349 if (c->flags & CLIENT_MASTER) c->reploff += nread; in readQueryFromClient()1431 if (client->flags & CLIENT_MASTER) *p++ = 'M'; in catClientInfoString()1740 if (c->flags & CLIENT_MASTER) return CLIENT_TYPE_MASTER; in getClientType()
929 !(c->flags & CLIENT_MASTER) && /* no timeout for masters */ in clientsCronHandleTimeout()2382 !(c->flags & CLIENT_MASTER) && in processCommand()2384 server.lua_caller->flags & CLIENT_MASTER) && in processCommand()2460 !(c->flags & CLIENT_MASTER) && in processCommand()
970 server.master->flags |= CLIENT_MASTER; in replicationCreateMasterClient()1937 server.cached_master->flags &= ~CLIENT_MASTER; in replicationDiscardCachedMaster()
484 !(server.lua_caller->flags & CLIENT_MASTER)) in luaRedisGenericCommand()517 !(server.lua_caller->flags & CLIENT_MASTER)) in luaRedisGenericCommand()
246 #define CLIENT_MASTER (1<<1) /* This client is a master server */ macro