命令的执行

processInlineBuffer(networking.c)——》  processCommand(redis.c)——》lookupCommand(redis.c)——》dictFetchValue(dict.c)
——》 call(redis.c)[调用命令的实现函数,执行命令]

例如:

getCommand(t_string.c)——》getGenericCommand(t_string.c)——》lookupKeyReadOrReply(db.c)——》lookupKeyRead(db.c)——》lookupKey(db.c)——》addReplyBulk(networking.c)——》addReply(networking.c)——》 prepareClientToWrite——》 sendReplyToClie

results matching ""

    No results matching ""