This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new dd0cc6f55d9 [docs] Document current TSO configuration and status
inspection (#3454)
dd0cc6f55d9 is described below
commit dd0cc6f55d9e8ff04b9307c5026ea1ee220dae4d
Author: Jingzhe Jia <[email protected]>
AuthorDate: Sat Oct 17 05:40:44 2026 +0800
[docs] Document current TSO configuration and status inspection (#3454)
## Summary
Document the current TSO service, its enable_feature_binlog prerequisite
and seven actual FE settings, startup/clock rollback behavior,
authenticated status queries, master forwarding, local=true, and rowset
COMMIT_TSO string ranges.
## Versions
- [x] dev
- [ ] 4.x
- [ ] 3.x
- [ ] 2.1 or older
Dev only. TSOService is absent from branch-4.0, branch-4.1, and
branch-4.2. Shared FE-config and rowsets pages therefore change only in
dev. Removed configuration switches and the removed enable_tso table
property are not documented as current options.
## Languages
- [x] Chinese
- [x] English
## Validation
Reviewed against Doris master `88f22fd875e0be4dea2c58c53744f4074378a870`
and the corresponding current 4.0, 4.1, and 4.2 source branches. Rebased
onto website master `f582020241f825849ffa3b57fc3220cb674d28a7`.
- SQL function structure and internal-link checks passed for the final
changed pages.
- `git diff --check` passed.
- English and Chinese changes are synchronized. Remaining version-sync
notices are explained above.
- Doris and the website were not built; examples were checked against
source and existing regression expectations where available.
---------
Co-authored-by: morningman <[email protected]>
---
docs/admin-manual/cluster-management/tso.md | 66 ++++++++++++++++++++++
docs/admin-manual/config/fe-config.md | 18 ++++++
docs/admin-manual/open-api/fe-http/tso-action.md | 63 +++++++++++++++++++++
.../system-tables/information_schema/rowsets.md | 16 +++++-
.../current/admin-manual/cluster-management/tso.md | 66 ++++++++++++++++++++++
.../current/admin-manual/config/fe-config.md | 18 ++++++
.../admin-manual/open-api/fe-http/tso-action.md | 63 +++++++++++++++++++++
.../system-tables/information_schema/rowsets.md | 16 +++++-
sidebars.ts | 2 +
9 files changed, 326 insertions(+), 2 deletions(-)
diff --git a/docs/admin-manual/cluster-management/tso.md
b/docs/admin-manual/cluster-management/tso.md
new file mode 100644
index 00000000000..016dc09dccb
--- /dev/null
+++ b/docs/admin-manual/cluster-management/tso.md
@@ -0,0 +1,66 @@
+---
+{
+ "title": "Timestamp Oracle (TSO)",
+ "language": "en",
+ "description": "TSO configuration, status inspection, recovery, and
clock-rollback behavior."
+}
+---
+
+<version since="dev">
+
+</version>
+
+## Overview
+
+Timestamp Oracle (TSO) allocates monotonically increasing timestamps on the
Master FE, providing a global ordering reference for Doris transactions and
incremental processing. It is currently available only in dev and is controlled
by the FE configuration `enable_feature_binlog`, which defaults to `false`. The
physical component can advance proactively, so a TSO is not an exact wall-clock
reading.
+
+## Basic usage
+
+1. Set `enable_feature_binlog = true` in the FE configuration file `fe.conf`
and restart FE. This experimental configuration cannot be changed dynamically;
keep it consistent across FEs. Assess the cluster impact of enabling Binlog
before changing it.
+2. Ensure the cluster has a ready Master FE and prepare valid Doris
credentials.
+3. Query the read-only status endpoint. This command uses the default HTTP
port and prompts for the root password:
+
+```bash
+curl --user root http://127.0.0.1:8030/api/tso
+```
+
+A successful response has `code = 0`; its `data` contains the allocation
cursor, physical time, logical counter, and window end. Requests sent to a
non-master FE are forwarded to the Master FE by default. See [TSO
Action](../open-api/fe-http/tso-action.md) for a complete response example.
+
+To inspect the local state of the FE receiving the request, use:
+
+```bash
+curl --user root 'http://127.0.0.1:8030/api/tso?local=true'
+```
+
+This call does not allocate a timestamp. Local state may be uninitialized; a
non-master FE's local result does not represent the active master's allocation
state.
+
+## Timestamp format and recovery
+
+A TSO is a 64-bit integer containing a physical component in milliseconds and
an 18-bit logical counter. Within one physical millisecond, incrementing the
counter makes subsequent allocations larger. The counter restarts when the
physical component advances.
+
+The Master FE reserves a future allocation window and persists its boundary
together with committed TSO state. On startup or master failover, the service
replays this state and calibrates a safe starting point before allocating
timestamps. Persistence is part of the current implementation and does not
require separate TSO journal or checkpoint switches.
+
+## Configuration reference
+
+These are FE configurations; see [FE Configuration](../config/fe-config.md).
The base switch `enable_feature_binlog` is a `boolean`, defaults to `false`, is
not mutable, and is not restricted to the Master FE.
+
+| Parameter | Type | Default | Mutable | Master only | Description |
+| --- | --- | --- | --- | --- | --- |
+| `tso_service_update_interval_ms` | int | `50 ms` | false | true | Interval
between allocation-window update checks. |
+| `tso_max_update_retry_count` | int | `3` | true | true | Maximum attempts to
update the TSO state. |
+| `tso_max_get_retry_count` | int | `10` | true | true | Maximum attempts to
allocate a TSO before reporting failure. |
+| `tso_service_window_duration_ms` | int | `1000 ms` | true | true | Duration
of the reserved allocation window; also bounds the periodic persistence
interval. |
+| `tso_clock_backward_startup_threshold_ms` | long | `1800000 ms` | true |
true | Maximum tolerated difference between the replayed window end and the
system clock during startup calibration. |
+| `tso_time_offset_debug_mode` | int | `0 ms` | true | false | Clock offset
for testing only; do not use for normal operation. |
+| `enable_tso_forward_when_counter_full` | boolean | `true` | true | true |
Advance the physical component by 1 ms when the logical counter exceeds half
its capacity and wall-clock progress is insufficient. |
+
+## Errors and caveats
+
+- Startup calibration fails if the replayed window boundary is ahead of the
system clock by more than `tso_clock_backward_startup_threshold_ms`. The
service cannot safely allocate new TSOs. Check clock synchronization, persisted
state, and FE logs.
+- Runtime clock rollback produces warnings and metrics rather than immediately
stopping the service. If physical time cannot advance, the logical counter may
be exhausted; after allocation retries are exhausted, transactions that need a
TSO may fail.
+- `/api/tso` is a snapshot and does not consume the logical counter. Zero
values or an apparently normal snapshot do not replace initialization and
transaction-commit checks.
+- `information_schema.rowsets.COMMIT_TSO` is a string representing a rowset
TSO range, not one BIGINT. See
[rowsets](../system-tables/information_schema/rowsets.md).
+
+## Best practices
+
+Synchronize FE clocks, inspect status with the HTTP endpoint, and use FE logs
to diagnose calibration or allocation failures. Keep the debug clock offset
unchanged outside deliberate tests. Enable the base switch only after assessing
Binlog and its dependent features; obtaining a wall-clock value alone is not a
reason to enable it.
diff --git a/docs/admin-manual/config/fe-config.md
b/docs/admin-manual/config/fe-config.md
index fd97aacc305..5edc3b19892 100644
--- a/docs/admin-manual/config/fe-config.md
+++ b/docs/admin-manual/config/fe-config.md
@@ -378,6 +378,24 @@ Is it possible to dynamically configure: true
Is it a configuration item unique to the Master FE node: false
+### TSO (Timestamp Oracle)
+
+<version since="dev">
+
+</version>
+
+TSO is enabled by `enable_feature_binlog`, which defaults to false and cannot
be changed dynamically. The following TSO parameters are currently supported;
see [TSO](../cluster-management/tso.md) for usage and caveats.
+
+| Parameter | Type | Default | Mutable | Master only | Description |
+| --- | --- | --- | --- | --- | --- |
+| `tso_service_update_interval_ms` | int | `50 ms` | false | true | Interval
between allocation-window update checks. |
+| `tso_max_update_retry_count` | int | `3` | true | true | Maximum attempts to
update the TSO state. |
+| `tso_max_get_retry_count` | int | `10` | true | true | Maximum attempts to
allocate a TSO before reporting failure. |
+| `tso_service_window_duration_ms` | int | `1000 ms` | true | true | Duration
of the reserved allocation window; also bounds the periodic persistence
interval. |
+| `tso_clock_backward_startup_threshold_ms` | long | `1800000 ms` | true |
true | Maximum tolerated difference between the replayed window end and the
system clock during startup calibration. |
+| `tso_time_offset_debug_mode` | int | `0 ms` | true | false | Clock offset
for testing only; do not use for normal operation. |
+| `enable_tso_forward_when_counter_full` | boolean | `true` | true | true |
Advance the physical component by 1 ms when the logical counter exceeds half
its capacity and wall-clock progress is insufficient. |
+
### Service
#### `arrow_flight_deferred_query_idle_timeout_second`
diff --git a/docs/admin-manual/open-api/fe-http/tso-action.md
b/docs/admin-manual/open-api/fe-http/tso-action.md
new file mode 100644
index 00000000000..4bc05aa8857
--- /dev/null
+++ b/docs/admin-manual/open-api/fe-http/tso-action.md
@@ -0,0 +1,63 @@
+---
+{
+ "title": "TSO Action",
+ "language": "en",
+ "description": "Inspect TSO state with master forwarding or local status."
+}
+---
+
+<version since="dev">
+
+</version>
+
+## Description
+
+Returns a snapshot of TSO state without allocating a timestamp or incrementing
the logical counter. Valid Doris user authentication is required. A non-master
FE forwards the request to the Master FE by default; `local=true` returns the
receiving FE's local state. See [TSO](../../cluster-management/tso.md) for
prerequisites.
+
+## Request
+
+`GET /api/tso`
+
+## Parameters
+
+| Parameter | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- |
+| `local` | boolean | No | `false` | When true, skips master forwarding and
queries the receiving FE's local state. |
+
+There are no path parameters or request body.
+
+## Example
+
+Using the default HTTP port, prompt for the password:
+
+```bash
+curl --user root http://127.0.0.1:8030/api/tso
+```
+
+Illustrative response (timestamps depend on the running cluster):
+
+```json
+{
+ "code": 0,
+ "msg": "success",
+ "data": {
+ "window_end_physical_time": 1625097601000,
+ "current_tso": 426009585254400123,
+ "current_tso_physical_time": 1625097600000,
+ "current_tso_logical_counter": 123
+ }
+}
+```
+
+## Response fields
+
+| Field | Type | Description |
+| --- | --- | --- |
+| `window_end_physical_time` | long | Reserved allocation-window boundary, in
Unix milliseconds. |
+| `current_tso` | long | Current composed 64-bit allocation cursor. |
+| `current_tso_physical_time` | long | Physical component of current_tso, in
milliseconds. |
+| `current_tso_logical_counter` | long | Logical counter component of
current_tso. |
+
+## Errors and caveats
+
+Authentication failure, an unready FE, or forwarding failure can prevent a
successful response. An uninitialized local service may return zero values; a
snapshot does not guarantee subsequent allocations will succeed. Only the
active master allocates TSOs, but any ready FE can receive status requests. The
window boundary normally leads the current physical component because it
reserves a future allocation window.
diff --git a/docs/admin-manual/system-tables/information_schema/rowsets.md
b/docs/admin-manual/system-tables/information_schema/rowsets.md
index c295b766688..0f45d656163 100644
--- a/docs/admin-manual/system-tables/information_schema/rowsets.md
+++ b/docs/admin-manual/system-tables/information_schema/rowsets.md
@@ -32,4 +32,18 @@ Returns basic information about the Rowset.
| DATA_DISK_SIZE | bigint | The storage space for data within the
Rowset. |
| CREATION_TIME | datetime | The creation time of the Rowset.
|
| NEWEST_WRITE_TIMESTAMP | datetime | The most recent write time of the
Rowset. |
-| SCHEMA_VERSION | int | The Schema version number of the
table corresponding to the Rowset data. |
\ No newline at end of file
+| SCHEMA_VERSION | int | The Schema version number of the
table corresponding to the Rowset data. |
+| COMMIT_TSO | varchar(64) | Rowset TSO range as `[start_tso-end_tso]` (dev
only). The default is `[-1--1]` when no range is recorded. |
+
+## COMMIT_TSO usage
+
+This column is a string: do not sort it as a single BIGINT or compare it
directly with numeric `-1`. An absent range appears as `[-1--1]`; a single
commit value is also displayed as a start/end range.
+
+```sql
+SELECT BACKEND_ID, ROWSET_ID, COMMIT_TSO
+FROM information_schema.rowsets
+WHERE COMMIT_TSO <> '[-1--1]'
+LIMIT 20;
+```
+
+The result lists rowsets with recorded ranges, or is empty if no ranges have
been recorded. See [TSO](../../cluster-management/tso.md) for status inspection
and configuration.
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/tso.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/tso.md
new file mode 100644
index 00000000000..9da651089fd
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/tso.md
@@ -0,0 +1,66 @@
+---
+{
+ "title": "Timestamp Oracle (TSO)",
+ "language": "zh-CN",
+ "description": "TSO 的配置、状态查询、恢复和时钟回退行为。"
+}
+---
+
+<version since="dev">
+
+</version>
+
+## 概述
+
+Timestamp Oracle(TSO)是 Master FE 上的单调时间戳分配服务,为 Doris 的事务及增量处理提供全局排序依据。该功能当前仅在
dev 版本可用,由 FE 配置 `enable_feature_binlog` 控制,默认关闭。TSO
的物理部分可能主动向前推进,因此不能把它当作精确的墙上时钟。
+
+## 基本用法
+
+1. 在 FE 配置文件 `fe.conf` 中设置 `enable_feature_binlog = true`,并重启
FE。该配置是实验性配置,不能动态修改;多 FE 集群应保持配置一致。启用 Binlog 前请同时评估该功能对集群的影响。
+2. 确认集群已有就绪的 Master FE,并准备有效的 Doris 用户名和密码。
+3. 查询只读状态接口。下面的命令使用默认 HTTP 端口,并提示输入 root 密码:
+
+```bash
+curl --user root http://127.0.0.1:8030/api/tso
+```
+
+返回 `code = 0`,`data` 中包含当前分配游标、物理时间、逻辑计数器及窗口终点。请求发到非 Master FE 时,默认转发给 Master
FE。完整响应示例见 [TSO Action](../open-api/fe-http/tso-action.md)。
+
+若只想检查接收请求的 FE 本地状态,可以使用:
+
+```bash
+curl --user root 'http://127.0.0.1:8030/api/tso?local=true'
+```
+
+该调用不分配新时间戳。本地状态可能尚未初始化;非 Master FE 的本地结果不能代表当前 Master 的分配状态。
+
+## 时间戳格式与恢复
+
+TSO 使用一个 64 位整数保存毫秒级物理部分及 18
位逻辑计数器。同一物理毫秒内,通过递增逻辑计数器保证后续分配值更大;物理部分向前推进后,计数器重新开始。
+
+Master FE 预留未来的分配窗口,并将窗口终点和已提交 TSO
状态持久化。启动或主节点切换时,服务先回放状态、校准新的起点,再分配时间戳。持久化属于当前实现的正常流程,不需要另行打开 TSO 日志或 checkpoint
开关。
+
+## 配置参考
+
+以下参数均为 FE 配置,详见 [FE 配置](../config/fe-config.md)。基础开关 `enable_feature_binlog` 为
`boolean` 类型,默认 `false`,不可动态修改,且不只作用于 Master FE。
+
+| 参数 | 类型 | 默认值 | 可动态修改 | 仅 Master FE | 描述 |
+| --- | --- | --- | --- | --- | --- |
+| `tso_service_update_interval_ms` | int | `50 ms` | false | true |
分配窗口更新检查的间隔。 |
+| `tso_max_update_retry_count` | int | `3` | true | true | 更新 TSO 状态的最大尝试次数。 |
+| `tso_max_get_retry_count` | int | `10` | true | true | 分配 TSO 的最大尝试次数,耗尽后报错。
|
+| `tso_service_window_duration_ms` | int | `1000 ms` | true | true |
预留分配窗口的长度,同时限定周期性持久化间隔。 |
+| `tso_clock_backward_startup_threshold_ms` | long | `1800000 ms` | true |
true | 启动校准时,回放的窗口终点领先系统时钟的最大允许值。 |
+| `tso_time_offset_debug_mode` | int | `0 ms` | true | false |
仅供测试的时钟偏移,正常运行时不要使用。 |
+| `enable_tso_forward_when_counter_full` | boolean | `true` | true | true |
当逻辑计数器超过容量的一半且系统时钟推进不足时,将物理部分向前推进 1 毫秒。 |
+
+## 错误处理与注意事项
+
+- 启动校准时,如果回放的窗口终点领先系统时钟的幅度超过
`tso_clock_backward_startup_threshold_ms`,校准失败,服务不能安全分配新 TSO。先检查时钟同步、持久化状态及 FE
日志。
+- 运行时检测到时钟回退会记录告警和指标;这本身不会立即停掉服务。若物理时间不能推进,逻辑计数器可能耗尽;分配重试耗尽后,依赖 TSO 的事务可能失败。
+- `/api/tso` 只提供瞬时快照,不会消耗逻辑计数器。零值或看似正常的快照都不能代替初始化状态和事务提交检查。
+- `information_schema.rowsets.COMMIT_TSO` 是表示 rowset TSO 范围的字符串,不是单个 BIGINT。详见
[rowsets](../system-tables/information_schema/rowsets.md)。
+
+## 建议
+
+保持 FE 时钟同步,使用接口观察状态,并结合 FE 日志排查校准和分配失败。除明确的测试场景外,不要修改调试时钟偏移。只有在理解 Binlog
及依赖功能的前提下才启用基础开关,不应仅为获取一个墙上时间值而启用它。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/fe-config.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/fe-config.md
index 7a0b93a0b36..55548c2f21f 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/fe-config.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/fe-config.md
@@ -439,6 +439,24 @@ FE 之间元数据 HTTP 接口(`image`、`role`、`check`、`put`、`journal_i
是否为 Master FE 节点独有的配置项:false
+### TSO (Timestamp Oracle)
+
+<version since="dev">
+
+</version>
+
+TSO 使用 `enable_feature_binlog` 作为基础开关;该开关默认关闭、不可动态修改。以下为当前支持的 TSO
参数;使用方法与注意事项见 [TSO](../cluster-management/tso.md)。
+
+| 参数 | 类型 | 默认值 | 可动态修改 | 仅 Master FE | 描述 |
+| --- | --- | --- | --- | --- | --- |
+| `tso_service_update_interval_ms` | int | `50 ms` | false | true |
分配窗口更新检查的间隔。 |
+| `tso_max_update_retry_count` | int | `3` | true | true | 更新 TSO 状态的最大尝试次数。 |
+| `tso_max_get_retry_count` | int | `10` | true | true | 分配 TSO 的最大尝试次数,耗尽后报错。
|
+| `tso_service_window_duration_ms` | int | `1000 ms` | true | true |
预留分配窗口的长度,同时限定周期性持久化间隔。 |
+| `tso_clock_backward_startup_threshold_ms` | long | `1800000 ms` | true |
true | 启动校准时,回放的窗口终点领先系统时钟的最大允许值。 |
+| `tso_time_offset_debug_mode` | int | `0 ms` | true | false |
仅供测试的时钟偏移,正常运行时不要使用。 |
+| `enable_tso_forward_when_counter_full` | boolean | `true` | true | true |
当逻辑计数器超过容量的一半且系统时钟推进不足时,将物理部分向前推进 1 毫秒。 |
+
### 服务
#### `arrow_flight_deferred_query_idle_timeout_second`
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/fe-http/tso-action.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/fe-http/tso-action.md
new file mode 100644
index 00000000000..d21febe870e
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/fe-http/tso-action.md
@@ -0,0 +1,63 @@
+---
+{
+ "title": "TSO Action",
+ "language": "zh-CN",
+ "description": "查询 TSO 状态,支持 Master 转发与本地状态。"
+}
+---
+
+<version since="dev">
+
+</version>
+
+## 描述
+
+查询 TSO 服务当前状态,不分配新时间戳,也不递增逻辑计数器。需要有效的 Doris 用户认证。默认在非 Master FE 上转发请求给 Master
FE;`local=true` 返回接收请求的 FE 本地状态。详细前提条件见 [TSO](../../cluster-management/tso.md)。
+
+## 请求
+
+`GET /api/tso`
+
+## 参数
+
+| 参数 | 类型 | 是否必需 | 默认值 | 描述 |
+| --- | --- | --- | --- | --- |
+| `local` | boolean | 否 | `false` | 为 `true` 时跳过 Master 转发,查询当前 FE 的本地状态。 |
+
+无路径参数和请求体。
+
+## 示例
+
+使用默认 HTTP 端口,命令会提示输入密码:
+
+```bash
+curl --user root http://127.0.0.1:8030/api/tso
+```
+
+示意响应(时间戳由运行中的集群决定):
+
+```json
+{
+ "code": 0,
+ "msg": "success",
+ "data": {
+ "window_end_physical_time": 1625097601000,
+ "current_tso": 426009585254400123,
+ "current_tso_physical_time": 1625097600000,
+ "current_tso_logical_counter": 123
+ }
+}
+```
+
+## 响应字段
+
+| 字段 | 类型 | 描述 |
+| --- | --- | --- |
+| `window_end_physical_time` | long | 预留分配窗口的终点,单位为 Unix 毫秒。 |
+| `current_tso` | long | 当前组合后的 64 位分配游标。 |
+| `current_tso_physical_time` | long | current_tso 的物理时间部分,单位为毫秒。 |
+| `current_tso_logical_counter` | long | current_tso 的逻辑计数器部分。 |
+
+## 错误与注意事项
+
+认证失败、FE 未就绪或请求转发失败均可能导致错误。未初始化的本地服务可能返回零值;返回快照不保证后续分配一定成功。仅当前 Master 负责分配
TSO,但任意就绪 FE 都可以接收状态请求。`window_end_physical_time` 通常领先当前物理时间,这表示预留的窗口范围。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/system-tables/information_schema/rowsets.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/system-tables/information_schema/rowsets.md
index 821adff2371..63c993b854e 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/system-tables/information_schema/rowsets.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/system-tables/information_schema/rowsets.md
@@ -32,4 +32,18 @@
| DATA_DISK_SIZE | bigint | Rowset 内数据的存储空间。 |
| CREATION_TIME | datetime | Rowset 的创建时间。 |
| NEWEST_WRITE_TIMESTAMP | datetime | Rowset 的最近写入时间。 |
-| SCHEMA_VERSION | int | Rowset 数据对应的表 Schema 版本号。 |
\ No newline at end of file
+| SCHEMA_VERSION | int | Rowset 数据对应的表 Schema 版本号。 |
+| COMMIT_TSO | varchar(64) | Rowset 的 TSO 范围字符串,格式为 `[start_tso-end_tso]`,仅
dev 支持。未记录时为 `[-1--1]`。 |
+
+## COMMIT_TSO 使用说明
+
+该列是字符串,不能按单个 BIGINT 排序或直接与数值 `-1` 比较。缺失的范围显示为 `[-1--1]`;单一提交值也以起止范围显示。
+
+```sql
+SELECT BACKEND_ID, ROWSET_ID, COMMIT_TSO
+FROM information_schema.rowsets
+WHERE COMMIT_TSO <> '[-1--1]'
+LIMIT 20;
+```
+
+结果为已记录范围的 rowset 列表;如果尚未记录范围,则返回空结果。有关状态接口和配置,请参阅
[TSO](../../cluster-management/tso.md)。
diff --git a/sidebars.ts b/sidebars.ts
index 6bbd8c746e1..a6a8670d0cd 100644
--- a/sidebars.ts
+++ b/sidebars.ts
@@ -901,6 +901,7 @@ const sidebars: SidebarsConfig = {
'admin-manual/cluster-management/elastic-expansion',
'admin-manual/cluster-management/load-balancing',
'admin-manual/cluster-management/fqdn',
+ 'admin-manual/cluster-management/tso',
'admin-manual/maint-monitor/automatic-service-start',
'admin-manual/maint-monitor/tablet-repair-and-balance',
],
@@ -1118,6 +1119,7 @@ const sidebars: SidebarsConfig = {
'admin-manual/open-api/fe-http/query-profile-action-controller',
'admin-manual/open-api/fe-http/session-action',
'admin-manual/open-api/fe-http/system-action',
+ 'admin-manual/open-api/fe-http/tso-action',
'admin-manual/open-api/fe-http/colocate-meta-action',
'admin-manual/open-api/fe-http/meta-action',
'admin-manual/open-api/fe-http/meta-backup-action',
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]