From 10ce86d8798359a65578463fa2f6af1c737ad12b Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Mon, 5 Jul 2021 16:07:11 +0800 Subject: [PATCH] add macro: SF_CLUSTER_ERROR_NOT_LEADER --- src/sf_define.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sf_define.h b/src/sf_define.h index 7cb5d17..7ca2d94 100644 --- a/src/sf_define.h +++ b/src/sf_define.h @@ -45,6 +45,7 @@ #define SF_NIO_TASK_STAGE_FETCH(task) task->nio_stages.current #define SF_SESSION_ERROR_NOT_EXIST 9992 +#define SF_CLUSTER_ERROR_NOT_LEADER 9996 #define SF_CLUSTER_ERROR_LEADER_VERSION_INCONSISTENT 9997 #define SF_CLUSTER_ERROR_BINLOG_INCONSISTENT 9998 #define SF_CLUSTER_ERROR_LEADER_INCONSISTENT 9999