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