Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
INFORMATION_SCHEMA.LOGSERVICE_PROCESSLIST displays the replay progress per RG in log replay.Field Name | Type | Description |
sid | bigint unsigned | Unique ID of the log service. |
rep_group_id | bigint unsigned | ID of RG. |
raft_log_index | bigint | The current index of the synchronized Raft log. |
state | varchar(64) | Current status of RG synchronization. |
is_unhealthy | smallint | Whether the current synchronization status is healthy. |
min_commit_ts_not_send | bigint unsigned | The smallest commit_ts of the unreplayed log. |
leader_ts | varchar(64) | Current timestamp of the RG leader. |
last_index_in_checkpoint | bigint unsigned | The index of the last replayed log. |
next_index_in_checkpoint | bigint unsigned | The index of the next log to be replayed. |
unconsumed_count_in_checkpoint | bigint unsigned | The number of unreplayed logs. |
backup_start_index | bigint | Obtain the starting index of the backup logs. |
backup_end_index | bigint | Obtain the ending index of the backup logs. |
backuped_index | bigint | The index of the backed-up logs. |
last_leader_change_ts | varchar(64) | The last change time of the RG leader. |
err_msg | longtext | Error messages during RG replay. |
tdsql>select * from LOGSERVICE_PROCESSLIST\\G*************************** 1. row ***************************sid: 29057889255555076rep_group_id: 256raft_log_index: 797509state: WaitRaftLogis_unhealthy: 0commit_ts_barrier: 29057889222000822min_commit_ts_not_send: NULLleader_ts: 2024-11-19 10:59:34last_index_in_checkpoint: 797509next_index_in_checkpoint: NULLunconsumed_count_in_checkpoint: 0backup_start_index: 0backup_end_index: 0backuped_index: 0last_leader_change_ts: 2024-11-19 10:59:29err_msg:1 row in set (0.00 sec)
피드백