These error codes indicate errors of OceanBase Database Proxy (ODP), OBSharding, 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 can be 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: Check whether 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 is not supported in TTL definition.
Solution: Make sure the specified column type is supported in TTL definition.
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 in the current TTL status.
Solution: Check whether the current state is as expected. If not, run the corresponding TTL command to change 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. 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: The TTL task 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 value of the
TimeToLiveparameter of the HBase table must be greater than 0.Solution: Check the
KV_ATTRIBUTESparameter of the table and make sure that the value of theTimeToLiveparameter 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 value of the
MaxVersionsparameter of the HBase table must be greater than 0.Solution: Check the
KV_ATTRIBUTESparameter of the table and make sure that the value of theMaxVersionsparameter is greater than 0.
Note
This error code is introduced since OceanBase Database V4.2.2.