Note
This view is available starting with V4.1.0.
Purpose
This view displays the arbitration service tasks running in the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| CREATE_TIME | datetime | NO | The time when the task was created. |
| MODIFY_TIME | datetime | NO | The time when the task was last modified. |
| TENANT_ID | bigint(20) | NO | The tenant ID. |
| LS_ID | bigint(20) | NO | The log stream ID. |
| TASK_ID | bigint(20) | NO | The task ID. |
| TRACE_ID | varchar(200) | NO | The trace ID of the task in the log. |
| TASK_TYPE | varchar(32) | NO | The task type. Valid values:
|
| ARBITRATION_SERVICE | varchar(512) | NO | The address of the arbitration service. |
| ARBITRATION_SERVICE_TYPE | varchar(64) | NO | The type of the arbitration service. Only ADDR is supported. |
| COMMENT | varchar(2048) | YES | The description of the task. |
Sample query
Query the arbitration service tasks running in the current tenant.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_LS_ARB_REPLICA_TASKS;
The query result is as follows:
+---------------------+---------------------+-----------+-------+------------------+-----------------------------------+----------------+---------------------+--------------------------+--------------------------------------------+
| CREATE_TIME | MODIFY_TIME | TENANT_ID | LS_ID | TASK_ID | TRACE_ID | TASK_TYPE | ARBITRATION_SERVICE | ARBITRATION_SERVICE_TYPE | COMMENT |
+---------------------+---------------------+-----------+-------+------------------+-----------------------------------+----------------+---------------------+--------------------------+--------------------------------------------+
| 2025-05-12 14:04:00 | 2025-05-12 14:04:00 | 1002 | 1 | 1747029840161991 | YB4**************************-0-0 | REMOVE REPLICA | 172.xx.xxx.xxx:2882 | ADDR | remove arbitration replica service replica |
| 2025-05-12 14:04:00 | 2025-05-12 14:04:00 | 1002 | 1001 | 1747029840233786 | YB4**************************-0-0 | REMOVE REPLICA | 172.xx.xxx.xxx:2882 | ADDR | remove arbitration replica service replica |
| 2025-05-12 14:04:00 | 2025-05-12 14:04:00 | 1002 | 1004 | 1747029840308182 | YB4**************************-0-0 | REMOVE REPLICA | 172.xx.xxx.xxx:2882 | ADDR | remove arbitration replica service replica |
+---------------------+---------------------+-----------+-------+------------------+-----------------------------------+----------------+---------------------+--------------------------+--------------------------------------------+
3 rows in set