Feature
This view displays the Palf status of the log stream. You can use this view to:
- Query whether a log stream has a leader.
- Query the member list, that is, the number of Paxos replicas, of a log stream.
- Query the replica synchronization status.
- Query the recyclable checkpoint of the logs of a log stream.
- Query the log consumption service scope of a log stream based on the log sequence number (LSN) or system change number (SCN).
- Query the access mode of Palf.
The query results vary with the tenant.
- When you query this view from a sys tenant, the Palf status of all tenant log streams is displayed.
- When you query this view from a user tenant, only the Palf status of the log streams of the current tenant is displayed.
Fields
| Field | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| LS_ID | bigint(20) | NO | The log stream ID. |
| SVR_IP | varchar(46) | NO | The IP address of the OBServer. |
| SVR_PORT | bigint(20) | NO | The port number of the OBServer. |
| ROLE | varchar(32) | NO | The role of the replica. Valid values:
|
| PROPOSAL_ID | bigint(20) | NO | The proposal ID of Paxos. |
| CONFIG_VERSION | varchar(128) | NO | The version number corresponding to the configuration change. |
| ACCESS_MODE | varchar(32) | NO | The access mode. Valid values:
|
| PAXOS_MEMBER_LIST | varchar(1024) | NO | The list of Paxos members. |
| PAXOS_REPLICA_NUM | bigint(20) | NO | The number of Paxos replicas. |
| IN_SYNC | varchar(3) | NO | Indicates whether the replica is completely synchronized with the leader. |
| BASE_LSN | bigint(20) | NO | The maximum recyclable checkpoint. |
| BEGIN_LSN | bigint(20) | NO | The LSN of the minimum consumption checkpoint. |
| BEGIN_SCN | bigint(20) | NO | The SCN of the minimum consumption checkpoint. |
| END_LSN | bigint(20) | NO | The LSN of the maximum consecutive majority checkpoint, also known as the maximum consumption checkpoint. |
| END_SCN | bigint(20) | NO | The SCN of the maximum consecutive majority checkpoint, also known as the maximum consumption checkpoint. |
| MAX_LSN | bigint(20) | NO | The LSN of the maximum write point. |
| MAX_SCN | bigint(20) | NO | The SCN of the maximum write point. |
| ARBITRATION_MEMBER | varchar(128) | NO | The server address of the arbitration member. |
| DEGRADED_LIST | varchar(1024) | NO | The list of degraded full-featured replicas with arbitration enabled. |