These error codes indicate RootService errors.
ERROR 4507 (42000): Convert error
Error code in OceanBase Database: 4507
Cause: An IP address is included in a string.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4512 (HY000): RootServer state error
Error code in OceanBase Database: 4512
Cause: The current status of the RootServer does not support the operation.
Solution: Check the current status of the RootServer. You can query the
__all_virtual_core_meta_tabletable to check whether the RootServer is online.
ERROR 4515 (HY000): No replica is valid
Error code in OceanBase Database: 4515
Cause: The replica status is invalid.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4519 (HY000): Iteration was stopped
Error code in OceanBase Database: 4519
Cause: This error code does not indicate an error but indicates that the MemTable iteration ends.
Solution: Troubleshooting is not required.
ERROR 4530 (HY000): Zone info \'%s\' not exist
Error code in OceanBase Database: 4530
Cause: The specified zone does not exist. Generally, this error occurs during a major compaction of a specified zone or a switchover of the primary zone.
Solution: Check whether the specified zone exists. You can query the
__all_zonetable to obtain the required information.
ERROR 4544 (42000): Root not integrated
Error code in OceanBase Database: 4544
Cause: During a rotating major compaction, the system checks whether the available replicas in each partition constitute the majority of replicas in the current partition. This error occurs if the available replicas in a partition are fewer than the majority of replicas.
Solution: Immediately check why the majority of replicas in the partition are unavailable.
ERROR 4547 (HY000): global merge not started
Error code in OceanBase Database: 4547
Cause: This error occurs in the precheck before a manual rotating major compaction. A manual major compaction is not allowed for a cluster if no major freeze has been initiated for the cluster.
Solution: Check whether a major freeze has been initiated for the cluster.
ERROR 4548 (HY000): merge already started
Error code in OceanBase Database: 4548
Cause: This error occurs in the precheck before a manual rotating major compaction. If a manual major compaction has been initiated for a zone, you cannot initiate another manual major compaction for the cluster.
Solution: Check whether a manual major compaction has been initiated for the zone.
ERROR 4549 (HY000): rootservice already exist
Error code in OceanBase Database: 4549
Cause: This code is returned in the self-check before the current RootService replica starts. If another RootService replica is already running, the current RootService replica does not start.
Solution: Troubleshooting is not required.
ERROR 4550 (HY000): rootservice is shutdown
Error code in OceanBase Database: 4550
Cause: The RootService replica that receives the current request is inactive because no leader is elected or the request is sent to a follower.
Solution: Retry the request. If no leader is elected for RootService replicas, further troubleshooting is required.
ERROR 4551 (HY000): server migrate in denied
Error code in OceanBase Database: 4551
Cause: An OBServer node may fail to execute a
balance taskdue to full disk usage or excessive partitions. In this case, the OBServer node returns thebalance taskexecution failure with this error code to the RootService.Solution: The RootService automatically stops scheduling tasks to the OBServer node and then re-schedules tasks to the OBServer node after the specified period elapses. If the OBServer node continuously returns this error code, check whether the disk is overloaded and whether excessive partitions are in use.
ERROR 4552 (HY000): rebalance task can not executing now
Error code in OceanBase Database: 4552
Cause: Before executing a
balance task, the RootService checks whether the leader is successfully switched, whether the replica already exists on the destination server, and whether the replica schema exists. If the check results indicate that thebalance taskcannot be executed, the task execution ends, and this error is returned.Solution: Check the execution conditions of the
balance taskand identify the specific cause of the execution failure. For example, if the leader fails to be switched before migration, identify the cause of the leader switchover failure.
ERROR 4554 (HY000): rebalance task not in progress on observer
Error code in OceanBase Database: 4554
Cause: The RootService regularly initiates remote procedure calls (RPCs) to the current OBServer node to check whether the initiated
balance taskexists. If thebalance taskno longer exists, the RootService identifies that thebalance taskhas ended and returns this error.Solution: This error usually occurs if the response from meta_table is delayed or the response from the
balance taskto the RootService is lost. Usually, troubleshooting is not required.
ERROR 4605 (HY000): Data source timeout
Error code in OceanBase Database: 4605
Cause: The current RPC timed out during migration and replication at the storage layer.
Solution: Check the cause of the timeout error, or extend the timeout period.
ERROR 4615 (HY000): tablegroup is not empty
Error code in OceanBase Database: 4615
Cause: When you delete a table group, this error occurs in any one of the following scenarios:
The specified table group contains tables.
The table group specified by the
default_tablegroup_idparameter of the database is deleted.The table group specified by the
default_tablegroup_idparameter of the tenant is deleted.
Solution: Delete all tables in the specified table group but retain the table group specified by the
default_tablegroup_idparameter.
ERROR 4620 (HY000): server status is not valid
Error code in OceanBase Database: 4620
Cause: One or more OBServer parameters are invalid.
Solution: Modify the OBServer parameter settings.
ERROR 4621 (HY000): wait elect partition leader timeout
Error code in OceanBase Database: 4621
Cause: Leader election timed out.
Solution: Check the cause of the timeout, or extend the timeout period.
ERROR 4622 (HY000): wait all rs online timeout
Error code in OceanBase Database: 4622
Cause:
The system checks whether the OBServer node that runs the RootService is in the
ALIVEstate during bootstrapping. This error occurs if the server is not in theALIVEstate.The system checks whether the OBServer node that runs the RootService is in the
in_servicestate or whether the value ofstart_service_timeis0during bootstrapping. This error occurs if the server is not in thein_servicestate or the value ofstart_service_timeis not0.
Solution: Check the cause of the timeout, or extend the timeout period.
ERROR 4624 (HY000): machine resource '%s' is not enough to hold a new unit
Error code in OceanBase Database: 4624
Cause:
The system checks whether resources are sufficient during resource allocation in scenarios such as creating or modifying a resource pool, migrating resource units, or supplementing replicas. This error occurs if resources are insufficient.
The system checks whether resources are sufficient when you create a table. This error occurs if resources are insufficient.
Solution: Adjust the amount of resources to be allocated based on the specific cause.
ERROR 4626 (HY000): resource pool \'%s\' has already been granted to a tenant
Error code in OceanBase Database: 4626
Cause: The resource pool is being used by a tenant.
Solution: Query the
__all_resource_pooltable to obtain thetenant_idvalue of the tenant that is using the resource pool. Then, perform one of the following operations:Delete the tenant.
Remove the resource pool from the tenant.
Create another resource pool without using the current resource pool.
ERROR 4628 (HY000): server has already been deleted
Error code in OceanBase Database: 4628
Cause: The specified OBServer node is already in the Deleting state, and you cannot run the
delete servercommand on the OBServer node again.Solution: This error is reported for defense purposes, indicating that you cannot run the
delete servercommand again.
ERROR 4629 (HY000): server is not in deleting status
Error code in OceanBase Database: 4629
Cause: This error is reported for defense purposes, indicating that the
delete servertask has ended.Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4630 (HY000): server not in server white list
Error code in OceanBase Database: 4630
Cause: The OBServer node is not in the current cluster. This error is an internal error and may occur in one of the following scenarios:
The RootService is switched to the server but has not provided services.
The cluster is in the bootstrapping process.
The
add servercommand is not run for the server.The server sends a request to the current cluster.
Solution:
If the RootService is switched to the server but has not provided services or the cluster is in the bootstrapping process, and this error occurs only temporarily, troubleshooting is not required.
If the
add servercommand is not run for the server, run theadd servercommand.If the cluster also exists in another database, contact OceanBase Technical Support for troubleshooting.
ERROR 4631 (HY000): server zone not match
Error code in OceanBase Database: 4631
Cause: This error is reported for defense purposes, indicating that the OBServer node and zone specified for the
start server,delete server, orstop servercommand do not match.Solution: If a zone is specified, check whether the OBServer node and zone in the
__all_servertable match.
ERROR 4632 (HY000): zone num has reach max zone num
Error code in OceanBase Database: 4632
Cause: This error is reported for defense purposes when you run the
add zonecommand, indicating that the number of existing zones exceeds 64.Solution: Run the
delete zonecommand to remove zones that are not in use.
ERROR 4633 (HY000): zone status not match
Error code in OceanBase Database: 4633
Cause: This error is reported for defense purposes when you run the
delete/start zonecommand. When you run thedelete zonecommand, the specified zone must be in theinactivestate. When you run thestart zonecommand, the specified zone must be in a state other thanactive.Solution: Query the
__all_zonetable to check the status of the zone. If the zone is in an unexpected state, contact OceanBase Technical Support for troubleshooting.
ERROR 4634 (HY000): resource unit \'%s\' is referenced by some resource pool
Error code in OceanBase Database: 4634
Cause: The resource unit to be deleted or used is being referenced by a resource pool.
Solution:
Query the
__all_unit_configor__all_resource_pooltable to find the resource pool that is referencing the resource unit.Execute the
ALTER RESOURCE POOLstatement to remove the resource unit from the resource pool, or execute theDROP RESOURCE POOLstatement to directly delete the resource pool.Execute the
DROP RESOURCE UNITorALTER RESOURCE POOLstatement to delete or directly use the resource unit.
ERROR 4636 (HY000): table schema primary zone different with other table in sample tablegroup
Error code in OceanBase Database: 4636
Cause: This error is reported for defense purposes. It indicates that the
primary_zonesetting of the table to be added to a table group does not match that of other tables in the table group.Solution: Make sure that the
primary_zonesettings of all tables in a table group are identical.
ERROR 4637 (HY000): server is not active
Error code in OceanBase Database: 4637
Cause: This error is an internal error, indicating that the specified OBServer node is in the
inactivestate.Solution: Generally, troubleshooting is not required. For more information, contact OceanBase Technical Support.
ERROR 4638 (HY000): The RootServer is not the master
Error code in OceanBase Database: 4638
Cause: The RootService is switched to another server, or the RootService is being restarted.
Solution: Generally, you can retry later. If the error persists, contact OceanBase Technical Support for troubleshooting.
ERROR 4640 (HY000): The chosen partition servers belong to same zone
Error code in OceanBase Database: 4640
Cause: OBServer nodes in the
rs_listspecified in the bootstrap command correspond to the same zone.Solution: In a partition, one zone can contain only one Paxos member. Modify the zone settings of OBServer nodes in the
rs_listspecified in the bootstrap command.
ERROR 4641 (HY000): Duplicated zone \'%s\' in zone list %s
Error code in OceanBase Database: 4641
Cause: Specific zones in the
zone_listparameter are duplicate.Solution: Remove redundant zones from the
zone_listparameter.
ERROR 4646 (HY000): tenant name \'%s\' over max_tenant_name_length %ld
Error code in OceanBase Database: 4646
Cause: The
tenant_nameparameter is invalid. For example, no value is specified for the parameter, or the value contains more than 64 characters.Solution: Modify the
tenant_nameparameter.
ERROR 4647 (HY000): resource pool list is empty
Error code in OceanBase Database: 4647
Cause: No resource pool is specified when you create a tenant.
Solution: Specify a resource pool when you create a tenant.
ERROR 4648 (HY000): resource unit \'%s\' not exist
Error code in OceanBase Database: 4648
Cause: The specified resource unit specification does not exist.
Solution: Check whether the specified resource pool exists.
ERROR 4649 (HY000): resource unit \'%s\' already exist
Error code in OceanBase Database: 4649
Cause: A resource unit specification with the specified name already exists.
Solution: Specify another name for the resource unit specification to be created.
ERROR 4650 (HY000): resource pool \'%s\' not exist
Error code in OceanBase Database: 4650
Cause: The specified resource pool does not exist.
Solution: Check whether the specified resource pool exists.
ERROR 4651 (HY000): resource pool \'%s\' exist
Error code in OceanBase Database: 4651
Cause: A resource pool with the specified name already exists.
Solution: Specify another name for the resource pool to be created.
ERROR 4652 (HY000): wait leader switch timeout
Error code in OceanBase Database: 4652
Cause: The system failed to stop the zone or OBServer nodes because the leader switchover timed out.
Solution: Extend the timeout period, or contact OceanBase Technical Support for troubleshooting.
ERROR 4653 (HY000): location not exist
Error code in OceanBase Database: 4653
Cause: Location information is not found during SQL execution.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4654 (HY000): location leader not exist
Error code in OceanBase Database: 4654
Cause: No leader is found in location information during SQL execution.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4655 (HY000): zone not active
Error code in OceanBase Database: 4655
Cause: The specified zone is inactive.
Solution: Wait until the zone is active and try again.
ERROR 4656 (HY000): resource pool unit num is bigger than zone server count
Error code in OceanBase Database: 4656
Cause: The number of resource units in a zone is greater than the number of OBServer nodes in the zone.
Solution: Make sure that the number of resource units in the zone is less than the number of OBServer nodes in the zone.
ERROR 4657 (HY000): resource pool list %s unit servers intersect
Error code in OceanBase Database: 4657
Cause: Zones in the resource pools of a tenant have one or more intersections.
Solution: Make sure that zones in all resource pools of the tenant have no intersection.
ERROR 4659 (HY000) : invalid resource unit, %s\'s min value is %s
Error code in OceanBase Database: 4659
Cause: The specified resource unit specification is invalid.
Solution: Set the resource unit specification to be within the range of
min_valtomax_val.
ERROR 4660 (HY000): Can not stop server in multiple zones, there are already servers stopped in zone:%s
Error code in OceanBase Database: 4660
Cause: You attempted to stop OBServer nodes in multiple zones at a time.
Solution: Make sure that you stop OBServer nodes only in one zone at a time.
ERROR 4661 (HY000): Session already exist
Error code in OceanBase Database: 4661
Cause: The session to be created conflicts with an existing session.
Solution: This error rarely occurs. If this error occurs, contact OceanBase Technical Support for troubleshooting.
ERROR (HY000): Timeout OB_GET_LOCATION_TIME_OUT
Error code in OceanBase Database: 4664
Cause: A timeout error occurred when the system queried the
location cacheduring SQL execution.Solution: Extend the timeout period, or contact OceanBase Technical Support for troubleshooting.
ERROR 4666 (HY000): cluster name does not match to \'%s\'
Error code in OceanBase Database: 4666
Cause: The
cluster namespecified in the command is invalid.Solution: Execute the
show parameters where name ='cluster'statement to obtain the validcluster name.
ERROR 4667 (HY000): Please check new zone in zone_merge_order. You can show parameters like 'zone_merge_order'
Error code in OceanBase Database: 4667
Cause: The
zone_merge_orderparameter was specified when you ran theadd zonecommand. However, thezone_merge_orderparameter was not modified when you performed the current operation.Solution: Execute the
show parameters like 'zone_merge_order'statement to query thezone_merge_orderparameter and modify it.
ERROR 4668 (HY000): The zone is not empty and can not be deleted. You should delete the servers of the zone. There are %ld servers alive and %ld not alive
Error code in OceanBase Database: 4668
Cause: The zone to be deleted contains servers.
Solution: Delete all OBServer nodes from the zone and then delete the zone.
ERROR 4671 (HY000): full replica num not enough
Error code in OceanBase Database: 4671
Cause: No
FULLreplica (full-featured replica) was created when you created a partition.Solution: Contact OceanBase Technical Support for troubleshooting.
ERROR 4672 (HY000): replica num not enough
Error code in OceanBase Database: 4672
Cause: The available replicas in a partition are fewer than the majority of replicas.
Solution: Check the number of available replicas in the corresponding partition.
ERROR 4674 (HY000): run job not success yet
Error code in OceanBase Database: 4674
Cause: In OceanBase File System (OFS) deployment mode, a block recycling task is scheduled before the previous task is accepted.
Solution: Generally, troubleshooting is not required. For more information, contact OceanBase Technical Support.
ERROR 4675 (HY000): no need to rebuild
Error code in OceanBase Database: 4675
Cause: The logs of the replica to be rebuilt are updated to the latest version.
Solution: Do not perform a rebuild operation on the replica.
ERROR 4676 (HY000): need remove unneed table
Error code in OceanBase Database: 4676
Cause: A MemTable is not released after a minor compaction and is involved in a subsequent minor compaction.
Solution: Generally, troubleshooting is not required. For more information, contact OceanBase Technical Support.
ERROR 4677 (HY000): no need to merge
Error code in OceanBase Database: 4677
Cause: No MemTable or SSTable matching the minor compaction condition is found for the current minor compaction scheduling.
Solution: Generally, troubleshooting is not required. For more information, contact OceanBase Technical Support.
ERROR 4681 (HY000): rpc need reconnect
Error code in OceanBase Database: 4681
Cause: The logical migration feature is no longer in use.
ERROR 4683 (HY000): src do not allowed migrate
Error code in OceanBase Database: 4683
Cause: Data cannot be migrated from the source database when the source database is being deleted.
Solution: Try again.
ERROR 4684 (HY000): Too many partitions were defined for this tenant
Error code in OceanBase Database: 4684
Cause: The number of partitions of the tenant has reached the upper limit, and you cannot create more partitions for the tenant.
Solution: Check whether the recycle bin contains partitions.
If yes, run the
purge recyclebincommand under the tenant. After a garbage collection (GC) is completed for partitions, some memory space can be released.If no, you must allocate more memory space to the tenant to create more partitions.
ERROR 4685 (HY000): active memtable not exist
Error code in OceanBase Database: 4685
Cause: No active MemTable exists.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4686 (HY000): Should use leader replica for duplicate table after DML operator
Error code in OceanBase Database: 4686
Cause: Data has been written to partitions of the replicated table. Subsequent read requests must be routed to leaders in the partitions of the replicated table.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4688 (HY000): standby cluster support weak read only
Error code in OceanBase Database: 4688
Cause: A standby cluster supports only weak consistency reads.
Solution: Switch the standby cluster to be the primary cluster.
ERROR 4690 (HY000): other primary cluster already exist, can not start as primary
Error code in OceanBase Database: 4690
Cause: Another cluster serves as the primary cluster, and the current cluster cannot be elected as the primary cluster.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4691 (HY000): array binding needs to switch iterator
Error code in OceanBase Database: 4691
Cause: The iterator has stopped.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4692 (HY000): standby cluster not empty
Error code in OceanBase Database: 4692
Cause: The current standby cluster is not empty and cannot be added.
Solution: Clear the standby cluster, bootstrap it again, and then add it.
ERROR 4693 (HY000): not primary cluster
Error code in OceanBase Database: 4693
Cause: The current cluster is not the primary cluster.
Solution: Query the
V$OB_CLUSTERview to check the role of the current cluster.
ERROR 4694 (HY000): check drop column failed
Error code in OceanBase Database: 4694
Cause: The
drop columnoperation failed because partitions were under a major compaction.Solution: Wait until the major compaction of all partitions is completed. If the error persists, contact OceanBase Technical Support for troubleshooting.
ERROR 4695 (HY000): not standby cluster
Error code in OceanBase Database: 4695
Cause: The specified cluster is not a standby cluster and cannot be added.
Solution: Check the role of the cluster. You can add only standby clusters to the primary cluster.
ERROR 4696 (HY000): cluster version not compatible
Error code in OceanBase Database: 4696
Cause: The standby cluster is of a version different from that of the primary cluster and cannot be added.
Solution: In the primary/standby cluster deployment mode, make sure that the versions of the primary and standby clusters are the same.
ERROR 4697 (HY000): wait trans table merge finish timeout
Error code in OceanBase Database: 4697
Cause: A minor compaction of the transaction status table timed out.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4698 (HY000): skip renew location by rpc
Error code in OceanBase Database: 4698
Cause: The location cache failed to be refreshed by using internal RPCs.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4699 (HY000): renew location by rpc failed
Error code in OceanBase Database: 4699
Cause: The location cache failed to be refreshed by using internal RPCs.
Solution: This is an internal error code. Contact OceanBase Technical Support for troubleshooting.
ERROR 4700 (HY000): cluster id does not match
Error code in OceanBase Database: 4700
Cause: The value of the
cluster idparameter is inconsistent with the ID of the current cluster.Solution: Query the ID of the current cluster and modify the
cluster idparameter.
ERROR 4701 (HY000): parameter cannot be modified because specified value is invalid
Error code in OceanBase Database: 4701
Cause: The specified parameter value is invalid.
Solution: Modify the specified parameter value and run the command again.
ERROR 4702 (HY000): %s %.*s already exists
Error code in OceanBase Database: 4702
Cause: A resource object with the specified name already exists.
Solution: Specify another name for the resource object to be created.
ERROR 4703 (HY000): resource plan %.*s does not exist
Error code in OceanBase Database: 4703
Cause: The specified resource plan does not exist.
Solution: Specify a valid resource plan name and run the command again.
ERROR 4704 (HY000): value %ld for %s is outside valid range of 0 to 100
Error code in OceanBase Database: 4704
Cause: The specified resource usage is invalid. The value must be within the range of
[0,100].Solution: Specify a valid value.
ERROR 4705 (HY000): plan directive %.*s, %.*s does not exist
Error code in OceanBase Database: 4705
Cause: The specified plan directive does not exist.
Solution: Specify a valid plan directive name.
ERROR 4706 (HY000): plan directive %.*s, %.*s already exists
Error code in OceanBase Database: 4706
Cause: A plan directive with the specified name already exists.
Solution: Specify another name for the plan directive to be created.
ERROR 4707 (HY000) : plan directive name '%.*s' not supported.
Error code in OceanBase Database: 4707
Cause: The plan directive specified for creating a user resource group mapping does not exist.
Solution: Specify a valid plan directive name.
ERROR 4708 (HY000): Failover is not allowed
Error code in OceanBase Database: 4708
Cause: Failovers are not allowed.
Solution: Identify the cause of the failover failure based on the error message.
ERROR 4709 (HY000): Add cluster not allowed. Actions: %s
Error code in OceanBase Database: 4709
Cause: The standby cluster cannot be added. The information that follows
Actionsdescribes the cause and solution.Solution: Resolve the problem based on the information that follows
Actionsand perform a failover.
ERROR 4710 (HY000): consumer group %.*s does not exist
Error code in OceanBase Database: 4710
Cause: The specified user resource group does not exist.
Solution: Specify a valid user resource group name.
ERROR 4711 (HY000): cluster is not accessible, cluster_id: %ld
Error code in OceanBase Database: 4711
Cause: The specified cluster is inaccessible.
Solution: Check whether the value of
cluster_idis valid. If yes, check whether the cluster is accessible and whether the RootService is running properly.
ERROR 4712 (HY000): rebuild global index:'%.*s' failed when drop/truncate partitions
Error code in OceanBase Database: 4712
Cause: The partition is dropped or truncated, but the corresponding index rebuild task fails.
Solution:
Identify the related invalid indexes.
Delete the invalid indexes.
Rebuild indexes.
ERROR 4713 (HY000): unique/primary keys in table referenced by enabled foreign keys
Error code in OceanBase Database: 4713
Cause: The operation conflicts with a foreign key.
Solution: Disassociate from the foreign key and perform the operation again.
ERROR 4719 (HY000): partition has been dropped
Error code in OceanBase Database: 4719
Cause: The partition was dropped during the migration.
Solution: The system automatically retries the partition migration. No manual intervention is required.