Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dnetworking.c369 if (c->flags & (CLIENT_MASTER|CLIENT_SLAVE) && !(c->flags & CLIENT_MONITOR)) { in addReplyErrorLength()
817 if ((c->flags & CLIENT_SLAVE) && in unlinkClient()
874 if ((c->flags & CLIENT_SLAVE) && !(c->flags & CLIENT_MONITOR)) { in freeClient()
909 if (c->flags & CLIENT_SLAVE) { in freeClient()
921 if (c->flags & CLIENT_SLAVE && listLength(server.slaves) == 0) in freeClient()
1038 !(c->flags & CLIENT_SLAVE)) break; in writeToClient()
1219 if (querylen == 0 && c->flags & CLIENT_SLAVE) in processInlineBuffer()
1430 if (!(c->flags & CLIENT_SLAVE) && clientsArePaused()) break; in processInputBuffer()
1651 if (client->flags & CLIENT_SLAVE) { in catClientInfoString()
2046 if ((c->flags & CLIENT_SLAVE) && !(c->flags & CLIENT_MONITOR)) in getClientType()
[all …]
H A Dreplication.c509 c->flags |= CLIENT_SLAVE; in masterTryPartialResynchronization()
598 slave->flags &= ~CLIENT_SLAVE; in startBgsaveForReplication()
631 if (c->flags & CLIENT_SLAVE) return; in syncCommand()
690 c->flags |= CLIENT_SLAVE; in syncCommand()
818 if (!(c->flags & CLIENT_SLAVE)) return; in replconfCommand()
2045 if (c->flags & CLIENT_SLAVE) in replicaofCommand()
H A Dserver.c824 !(c->flags & CLIENT_SLAVE) && /* no timeout for slaves */ in clientsCronHandleTimeout()
3695 if (c->flags & CLIENT_SLAVE) return; in monitorCommand()
3697 c->flags |= (CLIENT_SLAVE|CLIENT_MONITOR); in monitorCommand()
H A Dobject.c1010 if (c->flags & CLIENT_SLAVE && !(c->flags & CLIENT_MONITOR)) in getMemoryOverheadData()
H A Dserver.h229 #define CLIENT_SLAVE (1<<0) /* This client is a slave server */ macro