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 854cf81d8b3 [fix](doc) cross-version content corrections (seconds-sub,
logstash, CREATE-JOB, unique MoW, ldb maven) (#3740)
854cf81d8b3 is described below
commit 854cf81d8b3e58f794329927287a1a5b4d2f5fe7
Author: boluor <[email protected]>
AuthorDate: Fri May 22 10:35:03 2026 -0700
[fix](doc) cross-version content corrections (seconds-sub, logstash,
CREATE-JOB, unique MoW, ldb maven) (#3740)
## Summary
| Issue | File(s) | Fix |
| --- | --- | --- |
| #3255 | seconds-sub (zh 3.x) | `<seconds>` said "positive adds,
negative subtracts" — backwards for SECONDS_SUB (contradicts the example
+ EN doc). Positive subtracts, negative adds. |
| #3269 | logstash (zh 3.x) | examples used non-default port `8630`;
documented default HTTP port is `8030`. |
| #3268 | CREATE-JOB (zh 4.x) | the "查询-TASKS" link had the wrong path
depth and pointed at `jobs.md`; repoint to
`.../table-valued-functions/tasks.md`. |
| #2821, #3333 | unique.md (EN current/4.x + zh 2.1/3.x) | the
model-comparison intro said merge-on-write is the default "since 1.2",
contradicting the body which says it became the default in 2.1. MoW was
introduced in 1.2 but became the default in 2.1 — align the intro. |
| #2728 | compilation-with-ldb-toolchain (community EN + zh) | the Maven
3.9.9 download link used `dlcdn.apache.org` (only hosts the latest
release → 404 for older versions); switch to the permanent
`archive.apache.org`. |
## Test plan
- [x] seconds-sub direction confirmed against the EN doc + example.
- [x] `archive.apache.org` maven 3.9.9 link verified HTTP 200;
`tasks.md` target exists.
- [x] Dead-link check passes.
- [ ] CI build.
Closes #3255
Closes #3269
Closes #3268
Closes #2821
Closes #3333
Closes #2728
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
---
community/source-install/compilation-with-ldb-toolchain.md | 2 +-
docs/table-design/data-model/unique.md | 4 ++--
.../current/source-install/compilation-with-ldb-toolchain.md | 2 +-
.../version-2.1/table-design/data-model/unique.md | 2 +-
.../version-3.x/ecosystem/observability/logstash.md | 4 ++--
.../sql-functions/scalar-functions/date-time-functions/seconds-sub.md | 2 +-
.../version-3.x/table-design/data-model/unique.md | 4 ++--
.../version-4.x/sql-manual/sql-statements/job/CREATE-JOB.md | 2 +-
versioned_docs/version-4.x/table-design/data-model/unique.md | 4 ++--
9 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/community/source-install/compilation-with-ldb-toolchain.md
b/community/source-install/compilation-with-ldb-toolchain.md
index b171978b1f1..629aa5924b8 100644
--- a/community/source-install/compilation-with-ldb-toolchain.md
+++ b/community/source-install/compilation-with-ldb-toolchain.md
@@ -101,7 +101,7 @@ Here, `/path/to/ldb_toolchain/` is the target installation
directory. After the
| ---- | -------- | -------- |
| JDK 8 | 1.8.0_391 |
[jdk-8u391-linux-x64.tar.gz](https://doris-thirdparty-1308700295.cos.ap-beijing.myqcloud.com/tools/jdk-8u391-linux-x64.tar.gz)
|
| JDK 17 | 17.0.10 |
[jdk-17.0.10_linux-x64](https://download.oracle.com/java/17/archive/jdk-17.0.10_linux-x64_bin.tar.gz)
|
-| Maven | 3.9.9 |
[apache-maven-3.9.9-bin.tar.gz](https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz)
|
+| Maven | 3.9.9 |
[apache-maven-3.9.9-bin.tar.gz](https://archive.apache.org/dist/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz)
|
| Node | v12.13.0 |
[node-v12.13.0-linux-x64.tar.gz](https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/node-v12.13.0-linux-x64.tar.gz)
|
JDK version selection rules:
diff --git a/docs/table-design/data-model/unique.md
b/docs/table-design/data-model/unique.md
index 56c66c4dc7c..06f6169902e 100644
--- a/docs/table-design/data-model/unique.md
+++ b/docs/table-design/data-model/unique.md
@@ -35,8 +35,8 @@ The Doris Unique Key Model provides two implementations,
compared as follows:
| Implementation | Default since version | Merge timing | Query performance |
Predicate pushdown | Applicable scenarios |
| --- | --- | --- | --- | --- | --- |
-| Merge-on-write | Default since 1.2 | Merged immediately at write time | High
| Supported | Most scenarios, balancing query and write performance |
-| Merge-on-read | Default before 1.2 | Merged at query or compaction time |
Lower | Not supported | Write-heavy, read-light scenarios |
+| Merge-on-write | Default since 2.1 (introduced in 1.2) | Merged immediately
at write time | High | Supported | Most scenarios, balancing query and write
performance |
+| Merge-on-read | Default before 2.1 | Merged at query or compaction time |
Lower | Not supported | Write-heavy, read-light scenarios |
- **Merge-on-write**: Records with the same Key are merged immediately at
write time, ensuring that the storage always holds the latest data. This mode
balances query and write performance, avoids merging data across multiple
versions, and supports predicate pushdown to the storage layer. **This mode is
recommended for most scenarios.**
- **Merge-on-read**: Data is not merged at write time but is appended
incrementally, with multiple versions retained inside Doris. At query or
compaction time, versions with the same Key are merged. This mode suits
write-heavy, read-light scenarios, but queries must merge multiple versions and
predicates cannot be pushed down, which may affect query speed.
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
index cb865341058..6f000253efb 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/source-install/compilation-with-ldb-toolchain.md
@@ -101,7 +101,7 @@ sh ldb_toolchain_gen.sh /path/to/ldb_toolchain/
| ---- | -------- | -------- |
| JDK 8 | 1.8.0_391 |
[jdk-8u391-linux-x64.tar.gz](https://doris-thirdparty-1308700295.cos.ap-beijing.myqcloud.com/tools/jdk-8u391-linux-x64.tar.gz)
|
| JDK 17 | 17.0.10 |
[jdk-17.0.10_linux-x64](https://download.oracle.com/java/17/archive/jdk-17.0.10_linux-x64_bin.tar.gz)
|
-| Maven | 3.9.9 |
[apache-maven-3.9.9-bin.tar.gz](https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz)
|
+| Maven | 3.9.9 |
[apache-maven-3.9.9-bin.tar.gz](https://archive.apache.org/dist/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz)
|
| Node | v12.13.0 |
[node-v12.13.0-linux-x64.tar.gz](https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/node-v12.13.0-linux-x64.tar.gz)
|
JDK 版本选择规则:
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/data-model/unique.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/data-model/unique.md
index 5cb004df4a8..46e65f3558d 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/data-model/unique.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/data-model/unique.md
@@ -28,7 +28,7 @@
在 Doris 中主键模型有两种实现方式:
-* **写时合并**(merge-on-write):自 1.2 版本起,Doris 默认使用写时合并模式,数据在写入时立即合并相同 Key
的记录,确保存储的始终是最新数据。写时合并兼顾查询和写入性能,避免多个版本的数据合并,并支持谓词下推到存储层。大多数场景推荐使用此模式;
+* **写时合并**(merge-on-write):自 1.2 版本引入,并自 2.1 版本起默认启用写时合并模式,数据在写入时立即合并相同 Key
的记录,确保存储的始终是最新数据。写时合并兼顾查询和写入性能,避免多个版本的数据合并,并支持谓词下推到存储层。大多数场景推荐使用此模式;
* **读时合并**(merge-on-read):在 1.2 版本前,Doris
中的主键模型默认使用读时合并模式,数据在写入时并不进行合并,以增量的方式被追加存储,在 Doris 内保留多个版本。查询或 Compaction
时,会对数据进行相同 Key 的版本合并。读时合并适合写多读少的场景,在查询时需要进行多个版本合并,谓词无法下推,可能会影响到查询速度。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/ecosystem/observability/logstash.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/ecosystem/observability/logstash.md
index c5f66dd5e26..f5f0b5dc20c 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/ecosystem/observability/logstash.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/ecosystem/observability/logstash.md
@@ -192,7 +192,7 @@ filter {
# doris output 将数据输出到 Doris,使用的是 Stream Load HTTP 接口。通过 headers 参数指定了 Stream
Load 的数据格式为 JSON,通过 mapping 参数指定 Logstash 字段到 JSON 字段的映射。由于 headers 指定了
"format" => "json",Stream Load 会自动解析 JSON 字段写入对应的 Doris 表的字段。
output {
doris {
- http_hosts => ["http://localhost:8630"]
+ http_hosts => ["http://localhost:8030"]
user => "root"
password => ""
db => "log_db"
@@ -372,7 +372,7 @@ input {
output {
doris {
- http_hosts => ["http://fe1:8630", "http://fe2:8630", "http://fe3:8630"]
+ http_hosts => ["http://fe1:8030", "http://fe2:8030", "http://fe3:8030"]
user => "root"
password => ""
db => "log_db"
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/date-time-functions/seconds-sub.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/date-time-functions/seconds-sub.md
index 74a648b6b38..57a3f3a3da4 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/date-time-functions/seconds-sub.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/date-time-functions/seconds-sub.md
@@ -19,7 +19,7 @@ SECONDS_SUB(<datetime>, <seconds>)
| 参数 | 说明 |
|--------------|---------------------------------------------|
| `<datetime>` | 必填,输入的日期时间值,支持 DATETIME 或 DATE 类型 |
-| `<seconds>` | 必填,要减少或增加的秒数,支持整数类型(INT)。正数表示增加秒数,负数表示减少秒数。 |
+| `<seconds>` | 必填,要减少或增加的秒数,支持整数类型(INT)。正数表示减少秒数,负数表示增加秒数。 |
## 返回值
- 返回一个日期时间值,类型与输入的 `<datetime>` 类型一致。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/data-model/unique.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/data-model/unique.md
index 87ea02b094a..c80c985d6b1 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/data-model/unique.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/data-model/unique.md
@@ -28,9 +28,9 @@
在 Doris 中主键表有两种实现方式:
-* **写时合并**(merge-on-write):自 1.2 版本起,Doris 默认使用写时合并模式,数据在写入时立即合并相同 Key
的记录,确保存储的始终是最新数据。写时合并兼顾查询和写入性能,避免多个版本的数据合并,并支持谓词下推到存储层。大多数场景推荐使用此模式;
+* **写时合并**(merge-on-write):自 1.2 版本引入,并自 2.1 版本起默认启用写时合并模式,数据在写入时立即合并相同 Key
的记录,确保存储的始终是最新数据。写时合并兼顾查询和写入性能,避免多个版本的数据合并,并支持谓词下推到存储层。大多数场景推荐使用此模式;
-* **读时合并**(merge-on-read):在 1.2 版本前,Doris
中的主键表默认使用读时合并模式,数据在写入时并不进行合并,以增量的方式被追加存储,在 Doris 内保留多个版本。查询或 Compaction
时,会对数据进行相同 Key 的版本合并。读时合并适合写多读少的场景,在查询时需要进行多个版本合并,谓词无法下推,可能会影响到查询速度。
+* **读时合并**(merge-on-read):在 2.1 版本前,Doris
中的主键表默认使用读时合并模式,数据在写入时并不进行合并,以增量的方式被追加存储,在 Doris 内保留多个版本。查询或 Compaction
时,会对数据进行相同 Key 的版本合并。读时合并适合写多读少的场景,在查询时需要进行多个版本合并,谓词无法下推,可能会影响到查询速度。
在 Doris 中基于主键表更新有两种语义:
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/job/CREATE-JOB.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/job/CREATE-JOB.md
index 0a22ab2d4ca..1c9c8c4ad16 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/job/CREATE-JOB.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/job/CREATE-JOB.md
@@ -130,7 +130,7 @@ interval:
- [恢复-JOB](../job/RESUME-JOB.md)
- [删除-JOB](../job/DROP-JOB.md)
- [查询-JOB](../../../sql-manual/sql-functions/table-valued-functions/jobs.md)
-- [查询-TASKS](../../sql-functions/table-valued-functions/jobs.md)
+- [查询-TASKS](../../../sql-manual/sql-functions/table-valued-functions/tasks.md)
## CONFIG
diff --git a/versioned_docs/version-4.x/table-design/data-model/unique.md
b/versioned_docs/version-4.x/table-design/data-model/unique.md
index 56c66c4dc7c..06f6169902e 100644
--- a/versioned_docs/version-4.x/table-design/data-model/unique.md
+++ b/versioned_docs/version-4.x/table-design/data-model/unique.md
@@ -35,8 +35,8 @@ The Doris Unique Key Model provides two implementations,
compared as follows:
| Implementation | Default since version | Merge timing | Query performance |
Predicate pushdown | Applicable scenarios |
| --- | --- | --- | --- | --- | --- |
-| Merge-on-write | Default since 1.2 | Merged immediately at write time | High
| Supported | Most scenarios, balancing query and write performance |
-| Merge-on-read | Default before 1.2 | Merged at query or compaction time |
Lower | Not supported | Write-heavy, read-light scenarios |
+| Merge-on-write | Default since 2.1 (introduced in 1.2) | Merged immediately
at write time | High | Supported | Most scenarios, balancing query and write
performance |
+| Merge-on-read | Default before 2.1 | Merged at query or compaction time |
Lower | Not supported | Write-heavy, read-light scenarios |
- **Merge-on-write**: Records with the same Key are merged immediately at
write time, ensuring that the storage always holds the latest data. This mode
balances query and write performance, avoids merging data across multiple
versions, and supports predicate pushdown to the storage layer. **This mode is
recommended for most scenarios.**
- **Merge-on-read**: Data is not merged at write time but is appended
incrementally, with multiple versions retained inside Doris. At query or
compaction time, versions with the same Key are merged. This mode suits
write-heavy, read-light scenarios, but queries must merge multiple versions and
predicates cannot be pushed down, which may affect query speed.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]