Revoke when disable vote.

This commit is contained in:
obdev
2022-11-03 01:38:35 +00:00
committed by wangzelin.wzl
parent 77839a046e
commit 5f258b9d5c
9 changed files with 36 additions and 32 deletions

View File

@ -43,6 +43,12 @@ public:
UNUSED(new_member_list);
return ret;
}
int revoke(const RoleChangeReason &reason)
{
UNUSED(reason);
int ret = OB_SUCCESS;
return ret;
}
int set_priority(ElectionPriority *) override final { return OB_SUCCESS; }
int reset_priority() override final { return OB_SUCCESS; }
// 获取选举当前的角色