This range includes error codes related to OceanBase Database Proxy (ODP), OB Sharding, OBKV, and the client.
ERROR 10501 (HY000): TTL feature is not enabled
OceanBase error code: 10501
Cause: The time-to-live (TTL) feature is disabled.
Solution: Make sure that the TTL feature is correctly enabled.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10502 (HY000): TTL column '%.*s' not exists
OceanBase error code: 10502
Cause: The TTL column does not exist.
Solution: Make sure that the specified TTL column exists in the database table.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10503 (HY000): Column type of '%.*s' is not supported for TTL definition
OceanBase error code: 10503
Cause: The specified column type cannot be used in TTL definitions.
Solution: Make sure that the specified column type is supported in TTL definitions.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10504 (HY000): TTL command is not allowed, current TTL status is '%s'
OceanBase error code: 10504
Cause: The TTL command cannot be executed because the current TTL status has a specific value.
Solution: Make sure that the current TTL state is as expected and use a proper TTL command to switch the status.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10505 (HY000): No TTL task is running, please try trigger a new TTL task
OceanBase error code: 10505
Cause: No TTL task is running. You must try to trigger a new TTL task.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10506 (HY000): Cannot execute TTL task during tenant is restore
OceanBase error code: 10506
Cause: TTL tasks cannot be executed during tenant restore.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10507 (HY000): Time to live of hbase table must be greater than 0
OceanBase error code: 10507
Cause: The TTL of an HBase table must be greater than 0.
Solution: Check the
KV_ATTRIBUTESattribute of the current table and make sure that the defined TimeToLive is greater than 0.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10508 (HY000): MaxVersions of hbase table must be greater than 0
OceanBase error code: 10508
Cause: The
MaxVersionsvalue of an HBase table must be greater than 0.Solution: Check the
KV_ATTRIBUTESattribute of the current table and make sure that the defined MaxVersions is greater than 0.
Note
This error code is introduced since OceanBase Database V4.2.2.
ERROR 10518 (HY000): Check failed in %.*s
OceanBase error code: 10518
Cause: The
rollbackWhenCheckFailedparameter of the checkAndInsUp interface is set totrue, and the check failed.Solution: This error indicates a CAS failure. Handle the error based on the actual business situation.
Note
This error code is introduced since OceanBase Database V4.2.5 BP4.
ERROR 11049 (HY000): Exceed query memory limit (mem_limit=%ld, mem_hold=%ld), please check whether the query_memory_limit_percentage configuration item is reasonable.
OceanBase error code: 11049
Cause: The memory used by the query exceeds the limit.
Solution: Check the value of the
query_memory_limit_percentageconfiguration item and confirm that the setting is reasonable.
Note
This error code is introduced since OceanBase Database V4.2.5.
