Lines Matching refs:error_code
5452 …Query(client *c, struct redisCommand *cmd, robj **argv, int argc, int *hashslot, int *error_code) { in getNodeByQuery() argument
5465 if (error_code) *error_code = CLUSTER_REDIR_NONE; in getNodeByQuery()
5520 if (error_code) in getNodeByQuery()
5521 *error_code = CLUSTER_REDIR_DOWN_UNBOUND; in getNodeByQuery()
5544 if (error_code) in getNodeByQuery()
5545 *error_code = CLUSTER_REDIR_CROSS_SLOT; in getNodeByQuery()
5571 if (error_code) *error_code = CLUSTER_REDIR_DOWN_STATE; in getNodeByQuery()
5587 if (error_code) *error_code = CLUSTER_REDIR_ASK; in getNodeByQuery()
5599 if (error_code) *error_code = CLUSTER_REDIR_UNSTABLE; in getNodeByQuery()
5620 if (n != myself && error_code) *error_code = CLUSTER_REDIR_MOVED; in getNodeByQuery()
5631 void clusterRedirectClient(client *c, clusterNode *n, int hashslot, int error_code) { in clusterRedirectClient() argument
5632 if (error_code == CLUSTER_REDIR_CROSS_SLOT) { in clusterRedirectClient()
5634 } else if (error_code == CLUSTER_REDIR_UNSTABLE) { in clusterRedirectClient()
5639 } else if (error_code == CLUSTER_REDIR_DOWN_STATE) { in clusterRedirectClient()
5641 } else if (error_code == CLUSTER_REDIR_DOWN_UNBOUND) { in clusterRedirectClient()
5643 } else if (error_code == CLUSTER_REDIR_MOVED || in clusterRedirectClient()
5644 error_code == CLUSTER_REDIR_ASK) in clusterRedirectClient()
5648 (error_code == CLUSTER_REDIR_ASK) ? "ASK" : "MOVED", in clusterRedirectClient()