Home
last modified time | relevance | path

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

/redis-3.2.3/src/
H A Dnetworking.c165 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()
H A Dserver.c929 !(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()
H A Dreplication.c970 server.master->flags |= CLIENT_MASTER; in replicationCreateMasterClient()
1937 server.cached_master->flags &= ~CLIENT_MASTER; in replicationDiscardCachedMaster()
H A Dscripting.c484 !(server.lua_caller->flags & CLIENT_MASTER)) in luaRedisGenericCommand()
517 !(server.lua_caller->flags & CLIENT_MASTER)) in luaRedisGenericCommand()
H A Dserver.h246 #define CLIENT_MASTER (1<<1) /* This client is a master server */ macro