Searched refs:CLIENT_MASTER (Results 1 – 9 of 9) sorted by relevance
222 if ((c->flags & CLIENT_MASTER) && in prepareClientToWrite()370 char* to = c->flags & CLIENT_MASTER? "master": "replica"; in addReplyErrorLength()371 char* from = c->flags & CLIENT_MASTER? "replica": "master"; in addReplyErrorLength()862 if (server.master && c->flags & CLIENT_MASTER) { in freeClient()928 if (c->flags & CLIENT_MASTER) replicationHandleMasterDisconnection(); in freeClient()1439 if (server.lua_timedout && c->flags & CLIENT_MASTER) break; in processInputBuffer()1504 if (!(c->flags & CLIENT_MASTER)) { in processInputBufferAndReplicate()1558 } else if (c->flags & CLIENT_MASTER) { in readQueryFromClient()1568 if (c->flags & CLIENT_MASTER) c->read_reploff += nread; in readQueryFromClient()1657 if (client->flags & CLIENT_MASTER) *p++ = 'M'; in catClientInfoString()[all …]
148 !(c->flags & CLIENT_MASTER) && c->mstate.cmd_flags & CMD_WRITE) in execCommand()
498 !(server.lua_caller->flags & CLIENT_MASTER)) in luaRedisGenericCommand()539 !(server.lua_caller->flags & CLIENT_MASTER)) in luaRedisGenericCommand()1524 } else if (server.lua_caller->flags & CLIENT_MASTER) { in scriptCommand()
825 !(c->flags & CLIENT_MASTER) && /* no timeout for masters */ in clientsCronHandleTimeout()882 if (c->flags & CLIENT_MASTER) { in clientsCronResizeQueryBuffer()2598 !(c->flags & CLIENT_MASTER) && in processCommand()2600 server.lua_caller->flags & CLIENT_MASTER) && in processCommand()2678 !(c->flags & CLIENT_MASTER) && in processCommand()
1081 server.master->flags |= CLIENT_MASTER; in replicationCreateMasterClient()2235 server.cached_master->flags &= ~CLIENT_MASTER; in replicationDiscardCachedMaster()
1086 if (c && writable_slave && !(c->flags & CLIENT_MASTER)) in setExpire()
1450 if (ctx->client->flags & CLIENT_MASTER) in RM_GetContextFlags()2789 if (server.cluster_enabled && !(ctx->client->flags & CLIENT_MASTER)) { in RM_Call()
230 #define CLIENT_MASTER (1<<1) /* This client is a master server */ macro
1679 Make pending buffer processing safe for CLIENT_MASTER client.