Home
last modified time | relevance | path

Searched refs:CLIENT_SLAVE (Results 1 – 4 of 4) sorted by relevance

/redis-3.2.3/src/
H A Dnetworking.c807 if ((c->flags & CLIENT_SLAVE) && !(c->flags & CLIENT_MONITOR)) { in freeClient()
841 if (c->flags & CLIENT_SLAVE) { in freeClient()
853 if (c->flags & CLIENT_SLAVE && listLength(server.slaves) == 0) in freeClient()
1084 if (querylen == 0 && c->flags & CLIENT_SLAVE) in processInlineBuffer()
1265 if (!(c->flags & CLIENT_SLAVE) && clientsArePaused()) break; in processInputBuffer()
1425 if (client->flags & CLIENT_SLAVE) { in catClientInfoString()
1741 if ((c->flags & CLIENT_SLAVE) && !(c->flags & CLIENT_MONITOR)) in getClientType()
1900 if (c->flags & (CLIENT_SLAVE|CLIENT_BLOCKED)) continue; in clientsArePaused()
H A Dreplication.c458 c->flags |= CLIENT_SLAVE; in masterTryPartialResynchronization()
533 slave->flags &= ~CLIENT_SLAVE; in startBgsaveForReplication()
566 if (c->flags & CLIENT_SLAVE) return; in syncCommand()
625 c->flags |= CLIENT_SLAVE; in syncCommand()
744 if (!(c->flags & CLIENT_SLAVE)) return; in replconfCommand()
H A Dserver.c928 !(c->flags & CLIENT_SLAVE) && /* no timeout for slaves */ in clientsCronHandleTimeout()
3313 if (c->flags & CLIENT_SLAVE) return; in monitorCommand()
3315 c->flags |= (CLIENT_SLAVE|CLIENT_MONITOR); in monitorCommand()
H A Dserver.h245 #define CLIENT_SLAVE (1<<0) /* This client is a slave server */ macro