Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Usage specification recommendations
INFORMATION_SCHEMA.TDSTORE_LOCAL_METADATA_DESTROY_REPLICA is used to record information about ongoing physical data deletion. When physical data deletion is triggered (including deletion of replicas, replication groups, or key range regions), corresponding records are written into the table. Upon completion of data deletion, these records are removed from the table.Field Name | Type | Description |
REPLICATION_GROUP_ID | BIGINT UNSIGNED | The ID of the replication group to which the deleted data belongs. |
JOB_ID | BIGINT UNSIGNED | job ID for performing the deletion operation. |
CLEAN_TASK_TYPE | INT | The job type for performing deletion operations. Possible values include: 0: Indicates deletion of a replication group. 1: Indicates deletion of a region of key range. |
DATA_SPACE_TYPE | INT | type of data space. Possible values include: 1: Indicates a data space of the system. 2: Indicates a data space of the user. |
META_VERSION | BIGINT | version of the replication group metadata. |
MEMBER_VERSION | BIGINT | version of the raft group membership change in the replication group. |
DATA_REGION_RAFT_LOG_INDEX | BIGINT | The raft log index of the replication group during deletion execution. |
REGION_LIST | VARCHAR(1024) | The list of deleted regions. |
TABLE_ID_LIST | VARCHAR(1024) | The list of data object IDs involved in deletion. |
tdsql3_sys_local@localhost [information_schema]> select * from TDSTORE_LOCAL_METADATA_DESTROY_REPLICA \\G*************************** 1. row ***************************replication_group_id: 257job_id: 1507clean_task_type: 1data_space_type: 2meta_version: 0member_version: 0data_region_raft_log_index: 6203region_list: regions { rep_group_id: 257 region_id: 1503 start_key: "\\000\\000\\'/" end_key: "\\000\\000\\'0" data_space_type: DATA_SPACE_TYPE_USER }table_id_list:
피드백