Purpose
The oceanbase.CDB_OB_LS_ARB_REPLICA_TASK_HISTORY view displays information about the current tenant and the history of arbitration tasks executed in the current tenant. You can query this view only from the sys tenant.
Note
This view is introduced since OceanBase Database V4.1.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| LS_ID | bigint(20) | NO | The ID of the log stream. |
| TASK_ID | bigint(20) | NO | The ID of the task. |
| EXECUTE_RESULT | varchar(2048) | NO | The task execution result and duration, such as [ret:0; elapsed:72160;]. |
| CREATE_TIME | datetime | NO | The time when the task was generated. |
| FINISH_TIME | datetime | NO | The time when the task was completed. |
| 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 endpoint 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. |