add macro: SF_CLUSTER_ERROR_NOT_LEADER

pull/1/head
YuQing 2021-07-05 16:07:11 +08:00
parent 77b3938a80
commit 10ce86d879
1 changed files with 1 additions and 0 deletions

View File

@ -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