These error codes indicate election module errors.
ERROR 7000 (HY000): The log buffer is full
Error code in OceanBase Database: 7000
Cause: The log buffer of the election module is full, the bandwidth usage of the election module exceeds the expectation, too many logs are generated, or the size of the log
bufferis too small.Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7001(HY000): The log buffer is empty
Error code in OceanBase Database: 7001
Cause: This error code is not in use.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7002 (HY000): The object is not running
Error code in OceanBase Database: 7002
Cause: No scheduled task of the election object is started.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7003 (HY000): The object is running
Error code in OceanBase Database: 7003
Cause: The election object repeatedly calls the startup process.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7004 (HY000): Election does not reach majority
Error code in OceanBase Database: 7004
Cause: The number of votes received during the election does not reach the majority threshold. Election without the leader or re-election with the leader failed due to downtime, network latency, clock offset, or high CPU load.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7005 (HY000): The server is not valid
Error code in OceanBase Database: 7005
Cause: The network address of the target server is invalid during leader switchover.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7006 (HY000): The leader is not valid
Error code in OceanBase Database: 7006
Cause: The network address of the leader recorded by the OBServer node is invalid.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7007 (HY000): The leader lease is expired
Error code in OceanBase Database: 7007
Cause: The election lease of the leader or followers has expired due to downtime, network latency, clock offset, or high CPU load.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7010 (HY000): The message is not valid
Error code in OceanBase Database: 7010
Cause: The received election message is invalid.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7011 (HY000): The message is not intime
Error code in OceanBase Database: 7011
Cause: The election message is not received within the window period specified in the protocol due to network latency, clock offset, or high CPU load.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7012 (HY000): The server is not candidate
Error code in OceanBase Database: 7012
Cause: The object for leader switchover is not in the local member list, or the election message sender determines that the object is not in its member list.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7013 (HY000): The server is not candidate or voter
Error code in OceanBase Database: 7013
Cause: The sender of the received voting message is not in the local member list.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7014 (HY000): Election protocol error
Error code in OceanBase Database: 7014
Cause: A protocol error occurred. The network latency or clock offset exceeds the expectation, resulting in two leaders.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7015 (HY000): The task run time out of range
Error code in OceanBase Database: 7015
Cause: The scheduled election task is not executed as scheduled due to a high CPU load.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7021 (HY000): Last operation has not done
Error code in OceanBase Database: 7021
Cause: A leader switchover task was triggered before the previous task was completed.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7022 (HY000): Current server is not leader
Error code in OceanBase Database: 7022
Cause: The object of the leader switchover task is no longer the leader.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7024 (HY000): There is not prepare message
Error code in OceanBase Database: 7024
Cause: No valid local canvassing message is found during vote statistics.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7025 (HY000): There is more than one prepare message
Error code in OceanBase Database: 7025
Cause: The virtual group for election received more than one canvassing request from the leader in a re-election cycle, and an internal code error occurred.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7027 (HY000): Election manager is running
Error code in OceanBase Database: 7027
Cause:
ElectionMgris started multiple times.Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7030 (HY000): Election async log init error
Error code in OceanBase Database: 7030
Cause: Election log initialization failed.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7031 (HY000): Election waiting leader message
Error code in OceanBase Database: 7031
Cause: During leader switchover, the original leader receives no voting response from the new leader.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7032 (HY000): Election group not exist
Error code in OceanBase Database: 7032
Cause: A message was received from a virtual group that is not in the local list.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7033 (HY000): unexpected eg_version
Error code in OceanBase Database: 7033
Cause: A message was received from a virtual group of an earlier version due to unstable network latency.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7034 (HY000): election_group_mgr is running
Error code in OceanBase Database: 7034
Cause:
ObElectionGroupMgris started multiple times.Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7035 (HY000): Election manager is not running
Error code in OceanBase Database: 7035
Cause:
ObElectionGroupMgris not started.Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7036 (HY000): Receive change leader msg and vote msg with same T1 timestamp
Error code in OceanBase Database: 7036
Cause: The OBServer node receives both re-election and leader switchover messages in the same election cycle.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7037 (HY000): Receive duplicated prepare/vote msg with same T1 timestamp
Error code in OceanBase Database: 7037
Cause: The OBServer node receives duplicate re-election or leader switchover messages in the same election cycle.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 7038 (HY000): T1 timestamp is not match
Error code in OceanBase Database: 7038
Cause: The cycle of election messages cached in the election message buffer does not meet the expectation.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.