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 d3ce686cc2e add 4.0.6 release (#3917)
d3ce686cc2e is described below
commit d3ce686cc2e107877d984c5dc086bf39ce0b2351
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Mon Jun 8 16:02:20 2026 +0800
add 4.0.6 release (#3917)
---
.../current/all-release.md | 5 +
.../current/v4.0/release-4.0.6.md | 220 +++++++++++++++++++++
.../current/admin-manual/config/be-config.md | 6 +
.../admin-manual/trouble-shooting/compaction.md | 2 +-
.../current/compute-storage-decoupled/recycler.md | 1 +
.../current/lakehouse/catalogs/iceberg-catalog.mdx | 7 +
.../current/lakehouse/storages/aliyun-oss.md | 1 +
.../version-4.x/admin-manual/config/be-config.md | 6 +
.../admin-manual/trouble-shooting/compaction.md | 2 +-
.../compute-storage-decoupled/recycler.md | 1 +
.../lakehouse/catalogs/iceberg-catalog.mdx | 7 +
.../version-4.x/lakehouse/storages/aliyun-oss.md | 1 +
releasenotes/all-release.md | 6 +
releasenotes/v4.0/release-4.0.6.md | 220 +++++++++++++++++++++
src/constant/download.data.ts | 70 ++++++-
15 files changed, 552 insertions(+), 3 deletions(-)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-releases/current/all-release.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-releases/current/all-release.md
index b7eaecebdc2..ff24ef4d5a6 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs-releases/current/all-release.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs-releases/current/all-release.md
@@ -14,6 +14,9 @@
🎉 4.1.1 版本已于 2026 年 05 月 24 日正式发布,详情可查看[版本发布](./v4.1/release-4.1.1)。4.1 系列通过
AI 与搜索能力的深度融合、离线计算的稳定性提升、性能与易用性的双重优化,进一步拓宽了数据库的应用边界,可更好地支撑企业从传统 BI 分析到 AI
智能检索、从实时查询到大规模离线批处理的全场景数据分析需求。无论是互联网、金融、零售等行业的实时报表、用户行为分析,还是政务、医疗领域的文档检索、大规模数据批处理,新版本
Doris 都将为用户提供更高效、更可靠的数据分析体验。
<br />
+🎉 4.0.6 版本已于 2026 年 06 月 08 日正式发布,详情可查看[版本发布](./v4.0/release-4.0.6)。Apache
Doris 4.0 围绕 “AI 驱动、搜索增强、离线提效” 三大核心方向实现重要升级:正式引入向量索引(Vector Index)与 AI
函数,可在同一引擎中完成结构化分析、全文检索与向量相似性搜索的一体化处理(HSAP);全新的 SEARCH() 函数提供类 Elasticsearch 的轻量
DSL 语法,让文本检索更灵活高效;通过 Spill Disk 落盘能力提升大规模 ETL/ELT 与多表物化视图的稳定性;并借助 TopN
延迟物化与默认开启的 SQL Cache 显著提升查询性能,为用户构建更高效、更灵活的企业级数据分析平台。
+<br />
+
🎉 3.1.4 版本已于 2025 年 12 月 19 日正式发布,详情可查看[版本发布](./v3.1/release-3.1.4)。Apache
Doris 3.1 是半结构化分析领域的里程碑,引入了稀疏列和模板化
schema,显著提升了查询和索引性能。它还显著增强了湖仓一体能力,通过异步物化视图和优化连接属性,实现了数据湖和数据仓的无缝集成。新版本在存储引擎上提供了灵活列更新,并通过分区裁剪和基于数据特征的优化器,实现了查询性能的巨大飞跃。
<br />
@@ -27,6 +30,8 @@
<br />
+- [2026-06-08, Apache Doris 4.0.6 版本发布](./v4.0/release-4.0.6.md)
+
- [2026-05-24, Apache Doris 4.1.1 版本发布](./v4.1/release-4.1.1.md)
- [2026-04-21, Apache Doris 4.1.0 版本发布](./v4.1/release-4.1.0.md)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-releases/current/v4.0/release-4.0.6.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-releases/current/v4.0/release-4.0.6.md
new file mode 100644
index 00000000000..232ce03e275
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-releases/current/v4.0/release-4.0.6.md
@@ -0,0 +1,220 @@
+---
+{
+ "title": "Release 4.0.6",
+ "language": "zh-CN",
+ "description": "Apache Doris 4.0.6 版本发布说明:存算分离支持 Compaction
读写分离与调度、内存优化,新增 Compaction 任务跟踪、数据血缘 SPI、enable_recycler
动态开关等运维能力,并修复大量查询正确性、导入数据丢失、崩溃、挂起与资源泄漏问题。包含多项默认值与权限相关的行为变更,升级前请务必阅读。"
+}
+---
+
+# 版本概述
+
+Apache Doris 4.0.6 是 4.0 系列的维护版本,聚焦稳定性与运维体验,建议所有 4.0.x
用户升级,其中存算分离(云)模式用户的收益尤为明显。
+
+本次发布的重点包括:
+
+- **存算分离增强**:支持 Compaction 读写分离,优化 Tablet 调度与 FE 侧内存占用,并减少对 Meta Service 的 RPC
压力。
+- **运维可观测性**:新增 Compaction 任务跟踪(System Table + HTTP API)、`enable_recycler`
动态开关、memtable flush 线程池在线调整,以及多项 brpc / bvar 指标。
+- **数据血缘**:引入 Lineage SPI 采集框架。
+- **大量正确性与稳定性修复**:覆盖查询结果错误、导入数据丢失(如 Broker Load 仅加载首个文件、PostgreSQL DML
被静默丢弃)、崩溃、挂起与资源泄漏。
+
+> 升级前,请先阅读下方 **行为变更**,其中包含若干默认值与权限的调整。
+
+# 行为变更
+
+- **存算分离(云)模式下 `enable_strict_consistency_dml` 默认关闭** (#61891)。如业务依赖严格一致性
DML,请在升级后显式开启该配置。
+- **Time Series Compaction 触发阈值默认值由 2000 调整为 1000** (#61979),Compaction 触发更为积极。
+- **`segments_key_bounds_truncation_threshold` 默认值调整为 36** (#61984)。
+- **Cluster Snapshot 相关命令现要求 root 权限** (#60239)。
+- **不再允许将 JSONB、Variant 列作为分布列(Distribution Column)** (#63211);此前的错误用法在建表时将被拒绝。
+
+# 新功能与改进
+
+## 函数与类型
+
+- 新增 `mmhash3_u64_v2` 哈希函数 (#61846)。
+- 新增 `json_object_flatten` 标量函数,用于将嵌套 JSON 展平 (#62825)。
+- `array_sort` 新增 Lambda 表达式(functor)版本,支持自定义排序逻辑 (#57828)。
+- 聚合函数 `max` / `min` 支持 Array 类型,`max_by` / `min_by` 支持部分复杂类型 (#58490, #58736)。
+
+## 查询优化
+
+- 限制 not-null 推导的成本,降低优化器在复杂查询下的规划开销 (#63318)。
+- 分区裁剪后按比例缩放列统计的 `num_nulls`,提升行数估算准确性 (#62265)。
+
+## 存储与 Compaction
+
+- 新增 **Compaction 任务跟踪能力**:可通过 System Table 与 HTTP API 查询当前 Compaction 任务
(#61696)。
+- 支持在线动态调整 memtable flush 线程池大小,无需重启 BE (#60423)。
+- 支持自适应 Write Buffer 大小 (#61810)。
+- 更早释放未使用内存,降低导入与写入过程中的内存占用 (#62185)。
+
+## 存算分离(云模式)
+
+- **支持 Compaction 读写分离** (#60310)。
+- 优先调度最近活跃的 Tablet,提升缓存命中与调度效率 (#59539, #57200, #61562)。
+- 减少对 Meta Service 的 `get_tablet_stats` RPC 调用,降低元数据服务压力 (#60543)。
+- 优化 CloudTabletStatMgr / CloudTabletRebalancer 的内存占用 (#59776, #61318)。
+- 新增 `enable_recycler` 配置,可动态跳过 Recycler (#63286)。
+- 支持 File Cache microbench 配置热加载 (#58922)。
+
+## 湖仓一体
+
+- Iceberg 支持 REST 与 S3 Tables 的 IAM Role 鉴权 (#60498)。
+- Paimon 支持 Jindo OSS 及 Token 传播 (#62106)。
+- 支持禁用 Iceberg REST Catalog 的 View 操作 (#63319)。
+
+## 数据血缘
+
+- 引入 Lineage SPI 框架,支持数据血缘采集 (#61004)。
+
+## 可观测性与运维
+
+- `start_fe.sh` 新增 `--drop_backends` 参数 (#63306)。
+- 为 Sub Txn Load 新增事务写放大 brpc 指标 (#63545)。
+- Recycler 为 Operation Log 新增 bvar 指标 (#60520)。
+- 统计信息收集自动跳过超长字符串列,降低采集开销 (#62686)。
+- 移除 JDK17 启动参数中的 class histogram trace,避免 Full GC 时打印大量日志 (#62422)。
+
+## 安全与认证
+
+- Stream Load 时在 BE Info 中隐藏 Token 与认证信息 (#60656, #59743)。
+- 增强 LDAP 认证的健壮性与诊断能力 (#61673)。
+- 升级存在安全漏洞的依赖 (#62274)。
+
+# 重要问题修复
+
+## 查询结果正确性
+
+- 修复 `INTERSECT` / `EXCEPT` 在谓词上推时丢失 NULL 行的问题 (#62299)。
+- 修复 `count(null)` 被错误当作 `count(*)` 的问题 (#62548)。
+- 修复 `count` 中包含 `MATCH_ALL` 表达式时报 NoSuchElementException 的问题 (#62172)。
+- 修复 IN 谓词化简时丢失 DateTimeV2 窄化 Cast,导致结果错误的问题 (#63343)。
+- 修复 Key Range 场景下 `IN_LIST` Runtime Filter 谓词丢失的问题 (#62115)。
+- 修复物化视图改写时合并了查询不需要的分区,可能导致结果或性能问题 (#63081)。
+- 修复 `no_use_cbo_rule` Hint 被静默忽略的问题 (#62358)。
+- 修复 FragmentMgr 误取消存算分离 Virtual Cluster 查询的问题 (#62135)。
+
+## 视图(View)
+
+- 修复指定 COMMENT 时 `ALTER VIEW` 定义未同步至 Follower FE 的问题 (#61670)。
+- 修复 View 定义丢失 Variant 子字段导致查询结果错误的问题 (#62907)。
+- 修复 Lazy Materialization 下 View 列丢失 colUniqueId 的问题 (#62533)。
+- 修复 View 定义中非法 Alias 改写的问题 (#63353)。
+
+## 函数与类型
+
+- 修复 TIMESTAMPTZ 与夏令时(DST)相关的多处结果错误:LEAD/LAG 未保留类型、spring-forward 跳变处理、DST
fold 分支选择、时间差改用 UTC 语义、TopN Runtime Predicate 支持 (#62779, #62945, #63034,
#63161, #63220)。
+- 修复 `allow_zero_date` 函数结果错误 (#61900)。
+- 修复科学计数法字符串 Cast 为 Decimal 时结果错误的问题 (#63119)。
+- 修复 `from_olap_string` 解析 datetime 失败时抛异常的问题,改为返回 NULL (#63035)。
+- 修复用户变量整型推导与类型解析错误 (#62524)。
+
+## Variant 类型
+
+- 修复无 Key 表中 Variant 列 uid=0 时 Compaction 失败的问题 (#62656)。
+- 修复行存(Row Store)部分列更新后 Variant 子列丢失的问题 (#62067)。
+- 修复读取旧版本单段点路径(dot-key)子列时的归一化问题 (#62409)。
+- 重复 Variant JSON Path 时保留第一个 (#63697)。
+- 优化 VariantStatsCaculator 构造,跳过完整 footer 扫描以提升性能 (#62819)。
+
+## 导入与流式处理
+
+**数据丢失 / 完整性**
+
+- 修复 Broker Load 指定多文件路径时仅加载首个文件的问题 (#62969)。
+- 修复任务重启后 PostgreSQL DML 被静默丢弃的问题 (#61481)。
+- 修复 FE Checkpoint 重启后 S3 Offset 与作业统计丢失的问题 (#62449)。
+- 修复读取 FE 持久化 CDC Offset 时 Split 边界 Java 类型还原错误的问题 (#63219)。
+
+**挂起 / 泄漏**
+
+- 修复 VNodeChannel `close_wait` 挂起的问题 (#58024)。
+- 修复暂停 / 恢复时取消流式任务导致 PostgreSQL Replication Slot 泄漏的问题 (#62010)。
+- 修复 InsertLoadJob 任务卡在 PENDING 导致内存泄漏的问题 (#62890)。
+
+**重启与元数据**
+
+- 修复 FE 重启后流式作业属性未解析的问题 (#62298)。
+- 修复 EditLog Replay 时 StreamingInsertJob NPE 的问题 (#62416)。
+- 修复 Gson Replay 后未能正确重建 Broker Load 存储属性的问题 (#63094)。
+- 修复 FE 重启后 `SHOW LOAD` 中 INSERT 作业统计丢失的问题 (#62331)。
+
+**Routine Load / 解析**
+
+- 修复 Routine Load Kafka Meta 请求 NPE (#63180)。
+- 修复协调 BE 重启时 Routine Load 报 IllegalMonitorStateException 的问题 (#62892)。
+- 修复带 UTF-8 BOM 的 CSV 使用 enclose 时列解析错误的问题 (#62092)。
+- 修复 Group Commit 选择 Backend 时 NPE 与负载可用性问题 (#60652, #61555)。
+- 修复 Broker Load / Routine Load 导入属性与表属性的冲突校验 (#58054)。
+- 修复 HTTPS 模式下 `to_load_error_http_path` 返回 URL 错误的问题 (#61785)。
+
+## 存储与 Compaction
+
+- 修复 OlapScanner 相关 Schema Cache 并发问题导致的 BE 崩溃 (#61510, #62327)。
+- 修复 IOContext Use-After-Free 崩溃 (#59947)。
+- 修复读取缺失 precision / frac 的旧版 DecimalV2 Segment 的问题 (#63569)。
+- 修复 Packed File 异步关闭轮询时阻塞的问题 (#62938)。
+- 修复 ANN 向量索引构建时 OpenMP 并发预算问题 (#61313)。
+
+## 存算分离(云模式)
+
+- 修复 Schema Change 过程中的多处正确性问题:在 `add_rowsets` 前删除本地 Rowset、运行前填补 Version
空洞、Delete Bitmap Capture 前未归一化 Rowset 图,并新增 `SC_COMPACTION_CONFLICT` 错误码以重试跨 V1
Compaction 失败 (#62256, #63443, #63981, #62272)。
+- 修复 Cache Warmup 的多处问题:不支持 Packed File、错误后未重试、取消 / 过期时 NPE 与缓存清理等 (#60375,
#62886, #62805, #62839, #62941, #62931)。
+- 修复 `balanced_tablets_shards` 内存泄漏与 Warmup inflight 计数问题 (#59093, #60480)。
+- 修复排队删除任务过多导致 Recycler OOM 的问题 (#59331)。
+- 修复首次动态分区初始化与 `CREATE MATERIALIZED VIEW` 并发时的竞争问题 (#62755)。
+- 修复向客户端暴露 `KV_TXN_MAYBE_COMMITTED` 内部状态的问题 (#62244)。
+- 修复云模式不打印 Meta Service 日志的问题 (#61766)。
+- 修复 `SHOW PROC` 未显示分区 Cached Version 的问题 (#60807)。
+
+## 湖仓与外部数据源
+
+- 修复 FileScanner 中 Native 与 JNI Reader 混用时谓词过滤丢失的问题 (#61802)。
+- 修复外部 Reader 中 Hive DATE 类型时区偏移的问题 (#61330)。
+- 修复跨 JDBC Catalog 时 Query TVF 列别名丢失的问题 (#61939)。
+- 修复外部 Catalog 的 `SHOW PARTITIONS` 与 partitions TVF 不兼容的问题 (#62134)。
+- 修复 Iceberg / Paimon 表分区列生成时的越界崩溃 (#62177)。
+- 修复 Parquet 读写的多处问题:int96 Timestamp 写入、Page V2 编码、条件判断 (#61832, #63779,
#63305, #63509)。
+- 修复为 Paimon Scanner 预加载 Jindo 的问题 (#62351)。
+- 修复 TVF 因 Thrift 消息过大超限返回错误的问题 (#61788)。
+
+## 文件缓存与 IO
+
+- 修复清理缓存时后台 LRU 更新导致 SIGSEGV 崩溃的问题 (#60533)。
+- 修复临时 TTL 过期时间错误锚定到 Tablet 创建时间的问题 (#62287)。
+- 修复文件句柄缓存 Key 未包含 HDFS 连接,可能导致连接错配的问题 (#63516)。
+
+## 元数据与作业系统
+
+- 修复 `CANCEL ALTER` 传入空作业列表时被误判为取消全部 Rollup 作业的问题 (#62712)。
+- 修复升级后 sessionVariables 空指针的问题 (#61959)。
+- 修复 `RestoreCommand` 抛出 UnsupportedOperationException 的问题 (#61890)。
+- 修复未开启 Binlog 时仍链接 Binlog 文件的问题 (#61949)。
+- 修复重启后带 `retention_count` 的自动分区表未正确注册到调度器的问题 (#61954)。
+- 修复 `metadata_failure_recovery` 模式启动 FE 时 Host 不匹配的问题 (#62748)。
+- 修复未选择数据库时无法 `SHOW TABLET` 的问题 (#63280)。
+- 修复 `SHOW BACKENDS` 字段顺序不一致的问题 (#62207)。
+- 修复系统表返回 unknown 统计的问题 (#62913)。
+- 修复 Audit Log 的相关问题:UnboundAlias digest 计算、将内部查询失败误标记为 ERR (#62160, #62997)。
+- 修复 `start_fe.sh --console` 时未生成 fe.out 的问题 (#61807)。
+- 修复 `INSERT OVERWRITE` 的错误提示信息 (#62555)。
+
+## 安全与认证
+
+- 修复结合 CTE 时 Ranger 列级权限被绕过的问题 (#61741)。
+- 修复 Arrow Flight 客户端 IP 认证的问题 (#63506)。
+- Stream Load 日志脱敏敏感 Header (#62108)。
+
+## 稳定性与其他
+
+- 修复共享 Hash 表下 Runtime Filter 导致 BE 崩溃的问题 (#63257)。
+- 修复 arrow::Status 内联静态空消息导致 core 的问题 (#63191)。
+- 修复 Arrow UTF8 / String 大小限制的问题 (#63137)。
+- 修复 PartitionRebalancer 向缺少所需存储介质的 BE 生成非法迁移的问题 (#62206)。
+- 修复 Jetty 12 下 `jetty_server_max_http_header_size` 未生效的问题 (#61197)。
+- 修复关闭 Audit Log 时 Prepared Statement QPS 指标未统计的问题 (#61621)。
+- 修复分区接近上限指标由 Counter 改为 Gauge 的问题 (#61845)。
+- 修复加载 JNI log4j2 配置的问题 (#63063)。
+- 通过 MemTrackerLimiter 跟踪 IO 层读缓冲,提升内存可观测性 (#62288)。
+
+> 本说明聚焦用户与运维可感知的变更,已省略部分纯内部实现的重构与无外部现象的修复。完整提交记录请参考 GitHub 上 apache/doris 仓库
4.0.6 对应的 PR 列表。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/be-config.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/be-config.md
index 406374cb683..17c936be3bc 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/be-config.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/be-config.md
@@ -439,6 +439,12 @@ Thrift 服务器接收请求消息的大小(字节数)上限。如果客户
* 描述:在有序数据 compaction 中,满足要求的最小 segment 大小,单位是 m 字节。
* 默认值:10485760
+#### `segments_key_bounds_truncation_threshold`
+
+* 类型:int32
+* 描述:Segment 中存储的 key bounds(每个 segment 的最小/最大 key)的截断长度阈值。`-1`
表示不截断;设置为正值时,超过该长度的 key bounds 将被截断,以减小元数据体积。注意:一旦该功能被启用过(设置为非
`-1`),集群将不再支持降级以及备份恢复。支持动态修改。自 4.0.6 版本起,默认值由 `-1` 调整为 `36`。
+* 默认值:36
+
#### `max_base_compaction_threads`
* 类型:int32
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/trouble-shooting/compaction.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/trouble-shooting/compaction.md
index 57f70836f3a..1972f81315b 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/trouble-shooting/compaction.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/trouble-shooting/compaction.md
@@ -88,7 +88,7 @@ time_series compaction 策略是为日志、时序等场景优化的策略。它
time_series compaction 策略在下面 3 个条件任意一个满足的时候触发小文件合并:
- 未合并的文件大小超过 `time_series_compaction_goal_size_mbytes` (默认 1GB)
-- 未合并的文件个数超过 `time_series_compaction_file_count_threshold` (默认 2000)
+- 未合并的文件个数超过 `time_series_compaction_file_count_threshold` (默认 1000,自 4.0.6
版本起由 2000 调整为 1000)
- 距离上次合并的时间超过 `time_series_compaction_time_threshold_seconds` (默认 1 小时)
上述参数在表的 PROPERTIES 中设置,可以在建表时指定,或者通过 `ALTER TABLE table_name SET("name" =
"value")` 修改。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/compute-storage-decoupled/recycler.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/compute-storage-decoupled/recycler.md
index acd52836215..0c70881bfff 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/compute-storage-decoupled/recycler.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/compute-storage-decoupled/recycler.md
@@ -157,6 +157,7 @@ Recycler 实现了 FE 元数据、MS KV 与对象文件的多重相互检查机
| `enable_checker` | `false` | 是否开启正向检查器 |
| `enable_inverted_check` | `false` | 是否开启反向检查器 |
| `check_object_interval_seconds` | `43200`(12 小时) | checker 的执行间隔(秒) |
+| `enable_recycler` | `true` | 是否开启 Recycler。设置为 `false` 时,Recycler
将跳过扫描实例、不执行回收(可用于临时停用回收)。支持动态修改。自 4.0.6 版本起支持。 |
| `enable_recycler_stats_metrics` | `false` | 是否开启 Recycler 观测指标 |
| `recycler_storage_vault_white_list` | `""` | 存储后端白名单,填写 vault
name(逗号分隔),为空则回收所有 vault |
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.mdx
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.mdx
index 8a12d137426..3130df0f235 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.mdx
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.mdx
@@ -763,6 +763,13 @@ Iceberg 的元数据层级关系是 Catalog -> Namespace -> Table。其中 Names
</details>
### Iceberg Rest Catalog
+
+:::note
+自 4.0.6 版本起,Iceberg REST Catalog 与 AWS S3 Tables 支持通过 IAM Assumed Role 获取访问凭证:
+- REST Catalog:使用 `iceberg.rest.role_arn` 指定要扮演的 Role ARN,并可选地通过
`iceberg.rest.external-id` 指定 External ID。
+- AWS S3 Tables:使用 `s3.role_arn` 与 `s3.external_id`(参见下文 AWS S3 Tables 章节)。
+:::
+
<details>
<summary>3.1+ 版本</summary>
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/storages/aliyun-oss.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/storages/aliyun-oss.md
index 1cf65f7c1b0..7d80beefe06 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/storages/aliyun-oss.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/storages/aliyun-oss.md
@@ -25,6 +25,7 @@ Doris 使用 S3 Client,通过 S3 兼容协议访问阿里云 OSS。
| oss.endpoint | s3.endpoint | OSS
endpoint,指定阿里云 OSS 的访问端点。注意,OSS 和 OSS HDFS 的 endpoint 不相同。 | 无 |
| oss.access_key | s3.access_key | OSS Access
Key,用于身份验证 | 无 |
| oss.secret_key | s3.secret_key | OSS Secret
Key,与 Access Key 配合使用 | 无 |
+| oss.session_token | s3.session_token | OSS
临时安全令牌(STS Security Token),使用临时访问凭证时与临时 AK/SK 配合使用。自 4.0.6 版本起支持。 | 无 |
| oss.region | s3.region | OSS
region,指定阿里云 OSS 的区域 | 无 |
| oss.use_path_style | s3.use_path_style | 是否使用
path-style(路径风格)访问。兼容 MinIO 等非 AWS S3 服务建议设置为 true | FALSE |
| oss.connection.maximum | s3.connection.maximum | 最大连接数,指定与
OSS 服务建立的最大连接数 | 50 |
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/config/be-config.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/config/be-config.md
index 406374cb683..17c936be3bc 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/config/be-config.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/config/be-config.md
@@ -439,6 +439,12 @@ Thrift 服务器接收请求消息的大小(字节数)上限。如果客户
* 描述:在有序数据 compaction 中,满足要求的最小 segment 大小,单位是 m 字节。
* 默认值:10485760
+#### `segments_key_bounds_truncation_threshold`
+
+* 类型:int32
+* 描述:Segment 中存储的 key bounds(每个 segment 的最小/最大 key)的截断长度阈值。`-1`
表示不截断;设置为正值时,超过该长度的 key bounds 将被截断,以减小元数据体积。注意:一旦该功能被启用过(设置为非
`-1`),集群将不再支持降级以及备份恢复。支持动态修改。自 4.0.6 版本起,默认值由 `-1` 调整为 `36`。
+* 默认值:36
+
#### `max_base_compaction_threads`
* 类型:int32
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/trouble-shooting/compaction.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/trouble-shooting/compaction.md
index 57f70836f3a..1972f81315b 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/trouble-shooting/compaction.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/trouble-shooting/compaction.md
@@ -88,7 +88,7 @@ time_series compaction 策略是为日志、时序等场景优化的策略。它
time_series compaction 策略在下面 3 个条件任意一个满足的时候触发小文件合并:
- 未合并的文件大小超过 `time_series_compaction_goal_size_mbytes` (默认 1GB)
-- 未合并的文件个数超过 `time_series_compaction_file_count_threshold` (默认 2000)
+- 未合并的文件个数超过 `time_series_compaction_file_count_threshold` (默认 1000,自 4.0.6
版本起由 2000 调整为 1000)
- 距离上次合并的时间超过 `time_series_compaction_time_threshold_seconds` (默认 1 小时)
上述参数在表的 PROPERTIES 中设置,可以在建表时指定,或者通过 `ALTER TABLE table_name SET("name" =
"value")` 修改。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/compute-storage-decoupled/recycler.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/compute-storage-decoupled/recycler.md
index acd52836215..0c70881bfff 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/compute-storage-decoupled/recycler.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/compute-storage-decoupled/recycler.md
@@ -157,6 +157,7 @@ Recycler 实现了 FE 元数据、MS KV 与对象文件的多重相互检查机
| `enable_checker` | `false` | 是否开启正向检查器 |
| `enable_inverted_check` | `false` | 是否开启反向检查器 |
| `check_object_interval_seconds` | `43200`(12 小时) | checker 的执行间隔(秒) |
+| `enable_recycler` | `true` | 是否开启 Recycler。设置为 `false` 时,Recycler
将跳过扫描实例、不执行回收(可用于临时停用回收)。支持动态修改。自 4.0.6 版本起支持。 |
| `enable_recycler_stats_metrics` | `false` | 是否开启 Recycler 观测指标 |
| `recycler_storage_vault_white_list` | `""` | 存储后端白名单,填写 vault
name(逗号分隔),为空则回收所有 vault |
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/iceberg-catalog.mdx
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/iceberg-catalog.mdx
index 8a12d137426..3130df0f235 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/iceberg-catalog.mdx
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/iceberg-catalog.mdx
@@ -763,6 +763,13 @@ Iceberg 的元数据层级关系是 Catalog -> Namespace -> Table。其中 Names
</details>
### Iceberg Rest Catalog
+
+:::note
+自 4.0.6 版本起,Iceberg REST Catalog 与 AWS S3 Tables 支持通过 IAM Assumed Role 获取访问凭证:
+- REST Catalog:使用 `iceberg.rest.role_arn` 指定要扮演的 Role ARN,并可选地通过
`iceberg.rest.external-id` 指定 External ID。
+- AWS S3 Tables:使用 `s3.role_arn` 与 `s3.external_id`(参见下文 AWS S3 Tables 章节)。
+:::
+
<details>
<summary>3.1+ 版本</summary>
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/storages/aliyun-oss.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/storages/aliyun-oss.md
index 1cf65f7c1b0..7d80beefe06 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/storages/aliyun-oss.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/storages/aliyun-oss.md
@@ -25,6 +25,7 @@ Doris 使用 S3 Client,通过 S3 兼容协议访问阿里云 OSS。
| oss.endpoint | s3.endpoint | OSS
endpoint,指定阿里云 OSS 的访问端点。注意,OSS 和 OSS HDFS 的 endpoint 不相同。 | 无 |
| oss.access_key | s3.access_key | OSS Access
Key,用于身份验证 | 无 |
| oss.secret_key | s3.secret_key | OSS Secret
Key,与 Access Key 配合使用 | 无 |
+| oss.session_token | s3.session_token | OSS
临时安全令牌(STS Security Token),使用临时访问凭证时与临时 AK/SK 配合使用。自 4.0.6 版本起支持。 | 无 |
| oss.region | s3.region | OSS
region,指定阿里云 OSS 的区域 | 无 |
| oss.use_path_style | s3.use_path_style | 是否使用
path-style(路径风格)访问。兼容 MinIO 等非 AWS S3 服务建议设置为 true | FALSE |
| oss.connection.maximum | s3.connection.maximum | 最大连接数,指定与
OSS 服务建立的最大连接数 | 50 |
diff --git a/releasenotes/all-release.md b/releasenotes/all-release.md
index 3fd9b885621..57479d3af4e 100644
--- a/releasenotes/all-release.md
+++ b/releasenotes/all-release.md
@@ -13,6 +13,10 @@ This document presents a summary of Apache Doris versions
released within one ye
<br />
+🎉 Version 4.0.6 is released. Check out the 🔗[Release
Notes](./v4.0/release-4.0.6) here. Apache Doris 4.0 is a major milestone that
focuses on four areas: new AI capabilities with vector search and AI functions,
stronger full-text search via the new SEARCH() function, better ETL/ELT
processing with Spill Disk, and performance optimization through TopN lazy
materialization and SQL cache. By unifying vector search, full-text search, and
structured analytics in a single engine (HSAP), Doris [...]
+
+<br />
+
🎉 Version 3.1.4 is released. Check out the 🔗[Release
Notes](./v3.1/release-3.1.4) here. Doris 3.1 introduces a sparse column and
schema template for the VARIANT data type, making it more efficient to store
and query large datasets with dynamic fields, such as logs and JSON data. For
lakehouse capabilities, it enhances asynchronous materialized views and expands
support for Iceberg and Paimon to build a stronger bridge between data lakes
and data warehouses.
<br />
@@ -28,6 +32,8 @@ This document presents a summary of Apache Doris versions
released within one ye
<br />
+- [2026-06-08, Apache Doris 4.0.6 is released](./v4.0/release-4.0.6.md)
+
- [2026-05-24, Apache Doris 4.1.1 is released](./v4.1/release-4.1.1.md)
- [2026-04-21, Apache Doris 4.1.0 is released](./v4.1/release-4.1.0.md)
diff --git a/releasenotes/v4.0/release-4.0.6.md
b/releasenotes/v4.0/release-4.0.6.md
new file mode 100644
index 00000000000..833cbd60407
--- /dev/null
+++ b/releasenotes/v4.0/release-4.0.6.md
@@ -0,0 +1,220 @@
+---
+{
+ "title": "Release 4.0.6",
+ "language": "en",
+ "description": "Apache Doris 4.0.6 release notes: in compute-storage
decoupled mode, Compaction adds read-write separation, scheduling, and memory
optimizations; new operations capabilities include Compaction task tracking, a
data lineage SPI, and a dynamic enable_recycler switch; and many
query-correctness, load-data-loss, crash, hang, and resource-leak issues are
fixed. It includes several behavior changes related to default values and
privileges, so be sure to read them before upg [...]
+}
+---
+
+# Overview
+
+Apache Doris 4.0.6 is a maintenance release in the 4.0 series. It focuses on
stability and operational experience. All 4.0.x users are advised to upgrade,
and users running the compute-storage decoupled (cloud) mode benefit the most.
+
+Highlights of this release include:
+
+- **Compute-storage decoupling enhancements**: support read-write separation
for Compaction, optimize Tablet scheduling and FE-side memory usage, and reduce
RPC pressure on the Meta Service.
+- **Operational observability**: add Compaction task tracking (System Table
and HTTP API), a dynamic `enable_recycler` switch, online adjustment of the
memtable flush thread pool, and several brpc / bvar metrics.
+- **Data lineage**: introduce a Lineage SPI collection framework.
+- **Many correctness and stability fixes**: cover incorrect query results,
load data loss (such as Broker Load loading only the first file, and PostgreSQL
DML being silently dropped), crashes, hangs, and resource leaks.
+
+> Before upgrading, read the **Behavior Changes** section below, which
contains several adjustments to default values and privileges.
+
+# Behavior Changes
+
+- **In compute-storage decoupled (cloud) mode, `enable_strict_consistency_dml`
is now disabled by default** (#61891). If your workload relies on
strict-consistency DML, explicitly enable this configuration after upgrading.
+- **The default trigger threshold for Time Series Compaction is changed from
2000 to 1000** (#61979), so Compaction triggers more aggressively.
+- **The default value of `segments_key_bounds_truncation_threshold` is changed
to 36** (#61984).
+- **Cluster Snapshot commands now require root privileges** (#60239).
+- **JSONB and Variant columns are no longer allowed as Distribution Columns**
(#63211). Such previously-incorrect usage is now rejected at table-creation
time.
+
+# New Features & Improvements
+
+## Functions & Types
+
+- Add the `mmhash3_u64_v2` hash function (#61846).
+- Add the `json_object_flatten` scalar function for flattening nested JSON
(#62825).
+- Add a Lambda expression (functor) version of `array_sort` that supports
custom sorting logic (#57828).
+- The `max` / `min` aggregate functions now support the Array type, and
`max_by` / `min_by` support some complex types (#58490, #58736).
+
+## Query Optimization
+
+- Limit the cost of not-null inference to reduce optimizer planning overhead
for complex queries (#63318).
+- Scale the `num_nulls` column statistic proportionally after partition
pruning to improve row-count estimation accuracy (#62265).
+
+## Storage & Compaction
+
+- Add **Compaction task tracking**: query current Compaction tasks through a
System Table and an HTTP API (#61696).
+- Support adjusting the memtable flush thread pool size online, without
restarting BE (#60423).
+- Support adaptive Write Buffer sizing (#61810).
+- Release unused memory earlier to reduce memory usage during load and write
(#62185).
+
+## Compute-Storage Decoupling (Cloud Mode)
+
+- **Support read-write separation for Compaction** (#60310).
+- Schedule recently-active Tablets first to improve cache hit rate and
scheduling efficiency (#59539, #57200, #61562).
+- Reduce `get_tablet_stats` RPC calls to the Meta Service to lower
metadata-service pressure (#60543).
+- Optimize the memory usage of CloudTabletStatMgr / CloudTabletRebalancer
(#59776, #61318).
+- Add the `enable_recycler` configuration to dynamically skip the Recycler
(#63286).
+- Support hot-reloading of File Cache microbench configuration (#58922).
+
+## Lakehouse
+
+- Iceberg supports IAM Role authentication for REST and S3 Tables (#60498).
+- Paimon supports Jindo OSS and Token propagation (#62106).
+- Support disabling View operations for the Iceberg REST Catalog (#63319).
+
+## Data Lineage
+
+- Introduce a Lineage SPI framework to support data lineage collection
(#61004).
+
+## Observability & Operations
+
+- Add the `--drop_backends` parameter to `start_fe.sh` (#63306).
+- Add a transaction write-amplification brpc metric for Sub Txn Load (#63545).
+- Add bvar metrics for the Recycler Operation Log (#60520).
+- Statistics collection now automatically skips overly-long string columns to
reduce collection overhead (#62686).
+- Remove the class histogram trace from the JDK17 startup parameters to avoid
printing large amounts of logs during Full GC (#62422).
+
+## Security & Authentication
+
+- Hide Token and authentication information in BE Info during Stream Load
(#60656, #59743).
+- Improve the robustness and diagnostics of LDAP authentication (#61673).
+- Upgrade dependencies with known security vulnerabilities (#62274).
+
+# Important Bug Fixes
+
+## Query Result Correctness
+
+- Fix `INTERSECT` / `EXCEPT` losing NULL rows during predicate pushdown
(#62299).
+- Fix `count(null)` being incorrectly treated as `count(*)` (#62548).
+- Fix a NoSuchElementException when `count` contains a `MATCH_ALL` expression
(#62172).
+- Fix incorrect results caused by losing a DateTimeV2 narrowing Cast during IN
predicate simplification (#63343).
+- Fix loss of the `IN_LIST` Runtime Filter predicate in Key Range scenarios
(#62115).
+- Fix materialized view rewriting merging partitions that the query does not
need, which could cause incorrect results or performance issues (#63081).
+- Fix the `no_use_cbo_rule` Hint being silently ignored (#62358).
+- Fix FragmentMgr incorrectly canceling queries on a compute-storage decoupled
Virtual Cluster (#62135).
+
+## Views
+
+- Fix `ALTER VIEW` definitions not being synchronized to Follower FEs when a
COMMENT is specified (#61670).
+- Fix incorrect query results caused by a View definition losing Variant
subfields (#62907).
+- Fix View columns losing colUniqueId under Lazy Materialization (#62533).
+- Fix illegal Alias rewriting in View definitions (#63353).
+
+## Functions & Types
+
+- Fix several incorrect results related to TIMESTAMPTZ and Daylight Saving
Time (DST): LEAD/LAG not preserving the type, spring-forward gap handling, DST
fold branch selection, switching time-difference calculation to UTC semantics,
and TopN Runtime Predicate support (#62779, #62945, #63034, #63161, #63220).
+- Fix incorrect results for the `allow_zero_date` function (#61900).
+- Fix incorrect results when casting a scientific-notation string to Decimal
(#63119).
+- Fix `from_olap_string` throwing an exception when it fails to parse a
datetime; it now returns NULL instead (#63035).
+- Fix incorrect integer inference and type resolution for user variables
(#62524).
+
+## Variant Type
+
+- Fix Compaction failure when a Variant column has uid=0 in a keyless table
(#62656).
+- Fix Variant subcolumns being lost after a partial-column update in the Row
Store (#62067).
+- Fix a normalization issue when reading older-version single-segment dot-key
subcolumns (#62409).
+- Keep the first occurrence when a Variant JSON Path is duplicated (#63697).
+- Optimize VariantStatsCaculator construction by skipping the full footer scan
to improve performance (#62819).
+
+## Load & Streaming
+
+**Data Loss / Integrity**
+
+- Fix Broker Load loading only the first file when multiple file paths are
specified (#62969).
+- Fix PostgreSQL DML being silently dropped after a job restart (#61481).
+- Fix loss of S3 Offset and job statistics after an FE Checkpoint restart
(#62449).
+- Fix incorrect Java type restoration of Split boundaries when reading
FE-persisted CDC Offsets (#63219).
+
+**Hangs / Leaks**
+
+- Fix a VNodeChannel `close_wait` hang (#58024).
+- Fix a PostgreSQL Replication Slot leak caused by canceling a streaming job
during pause/resume (#62010).
+- Fix a memory leak caused by an InsertLoadJob being stuck in PENDING (#62890).
+
+**Restart & Metadata**
+
+- Fix streaming job properties not being parsed after an FE restart (#62298).
+- Fix a StreamingInsertJob NPE during EditLog Replay (#62416).
+- Fix Broker Load storage properties not being correctly rebuilt after Gson
Replay (#63094).
+- Fix loss of INSERT job statistics in `SHOW LOAD` after an FE restart
(#62331).
+
+**Routine Load / Parsing**
+
+- Fix an NPE in Routine Load Kafka Meta requests (#63180).
+- Fix an IllegalMonitorStateException in Routine Load when the coordinating BE
restarts (#62892).
+- Fix incorrect column parsing when a UTF-8 BOM CSV uses enclose (#62092).
+- Fix an NPE and load-availability issues when Group Commit selects a Backend
(#60652, #61555).
+- Fix conflict validation between load properties and table properties for
Broker Load / Routine Load (#58054).
+- Fix `to_load_error_http_path` returning an incorrect URL in HTTPS mode
(#61785).
+
+## Storage & Compaction
+
+- Fix BE crashes caused by Schema Cache concurrency issues related to
OlapScanner (#61510, #62327).
+- Fix an IOContext use-after-free crash (#59947).
+- Fix reading older DecimalV2 Segments that are missing precision / frac
(#63569).
+- Fix blocking during async close polling of Packed Files (#62938).
+- Fix an OpenMP concurrency-budget issue when building ANN vector indexes
(#61313).
+
+## Compute-Storage Decoupling (Cloud Mode)
+
+- Fix several correctness issues during Schema Change: delete local Rowsets
before `add_rowsets`, fill Version holes before running, normalize the Rowset
graph before Delete Bitmap Capture, and add an `SC_COMPACTION_CONFLICT` error
code to retry failures across V1 Compaction (#62256, #63443, #63981, #62272).
+- Fix several Cache Warmup issues: lack of Packed File support, no retry after
errors, NPEs on cancellation/expiration, and cache cleanup (#60375, #62886,
#62805, #62839, #62941, #62931).
+- Fix a `balanced_tablets_shards` memory leak and a Warmup inflight counting
issue (#59093, #60480).
+- Fix Recycler OOM caused by too many queued deletion tasks (#59331).
+- Fix a race condition between the first dynamic-partition initialization and
a concurrent `CREATE MATERIALIZED VIEW` (#62755).
+- Fix exposing the internal `KV_TXN_MAYBE_COMMITTED` state to clients (#62244).
+- Fix Meta Service logs not being printed in cloud mode (#61766).
+- Fix `SHOW PROC` not showing the Cached Version of partitions (#60807).
+
+## Lakehouse & External Data Sources
+
+- Fix loss of predicate filtering when Native and JNI Readers are mixed in
FileScanner (#61802).
+- Fix a timezone offset issue for the Hive DATE type in external Readers
(#61330).
+- Fix loss of Query TVF column aliases across JDBC Catalogs (#61939).
+- Fix incompatibility between `SHOW PARTITIONS` and the partitions TVF for
external Catalogs (#62134).
+- Fix an out-of-bounds crash when generating partition columns for Iceberg /
Paimon tables (#62177).
+- Fix several Parquet read/write issues: int96 Timestamp writing, Page V2
encoding, and conditional checks (#61832, #63779, #63305, #63509).
+- Fix preloading Jindo for the Paimon Scanner (#62351).
+- Fix a TVF returning an error when the Thrift message exceeds the size limit
(#61788).
+
+## File Cache & IO
+
+- Fix a SIGSEGV crash caused by background LRU updates during cache cleanup
(#60533).
+- Fix temporary TTL expiration time being incorrectly anchored to the Tablet
creation time (#62287).
+- Fix the file handle cache Key not including the HDFS connection, which could
cause connection mismatches (#63516).
+
+## Metadata & Job System
+
+- Fix `CANCEL ALTER` with an empty job list being mistakenly treated as
canceling all Rollup jobs (#62712).
+- Fix a sessionVariables null pointer after an upgrade (#61959).
+- Fix `RestoreCommand` throwing an UnsupportedOperationException (#61890).
+- Fix Binlog files still being linked when Binlog is not enabled (#61949).
+- Fix auto-partition tables with `retention_count` not being correctly
registered with the scheduler after a restart (#61954).
+- Fix a Host mismatch when starting FE in `metadata_failure_recovery` mode
(#62748).
+- Fix being unable to run `SHOW TABLET` when no database is selected (#63280).
+- Fix inconsistent column ordering in `SHOW BACKENDS` (#62207).
+- Fix system tables returning unknown statistics (#62913).
+- Fix Audit Log issues: UnboundAlias digest calculation, and internal query
failures being mislabeled as ERR (#62160, #62997).
+- Fix fe.out not being generated when using `start_fe.sh --console` (#61807).
+- Fix the error message for `INSERT OVERWRITE` (#62555).
+
+## Security & Authentication
+
+- Fix Ranger column-level privileges being bypassed when combined with CTEs
(#61741).
+- Fix client IP authentication for Arrow Flight (#63506).
+- Redact sensitive Headers in Stream Load logs (#62108).
+
+## Stability & Misc
+
+- Fix BE crashes caused by Runtime Filters with a shared Hash table (#63257).
+- Fix a core dump caused by the inline static empty message in arrow::Status
(#63191).
+- Fix Arrow UTF8 / String size limit issues (#63137).
+- Fix PartitionRebalancer generating illegal migrations to BEs that lack the
required storage medium (#62206).
+- Fix `jetty_server_max_http_header_size` not taking effect under Jetty 12
(#61197).
+- Fix Prepared Statement QPS metrics not being counted when Audit Log is
disabled (#61621).
+- Fix the partition-near-limit metric by changing it from a Counter to a Gauge
(#61845).
+- Fix loading of the JNI log4j2 configuration (#63063).
+- Track IO-layer read buffers through MemTrackerLimiter to improve memory
observability (#62288).
+
+> These notes focus on user-visible and operations-visible changes, and omit
some purely-internal refactoring and fixes with no external symptoms. For the
complete commit history, refer to the PR list for 4.0.6 in the apache/doris
repository on GitHub.
diff --git a/src/constant/download.data.ts b/src/constant/download.data.ts
index 4bcb1a44716..1c6fb3aecd3 100644
--- a/src/constant/download.data.ts
+++ b/src/constant/download.data.ts
@@ -31,7 +31,7 @@ export enum ToolsEnum {
export const ORIGIN = 'https://download.selectdb.com/';
export enum VersionEnum {
Latest = '4.1.1',
- Prev = '4.0.5',
+ Prev = '4.0.6',
Earlier = '3.1.4',
}
@@ -108,6 +108,40 @@ export const DORIS_VERSIONS: Option[] = [
},
],
},
+ {
+ label: '4.0.6',
+ value: '4.0.6',
+ majorVersion: '4.0',
+ children: [
+ {
+ label: CPUEnum.X64,
+ value: CPUEnum.X64,
+ gz: `${ORIGIN}apache-doris-4.0.6-bin-x64.tar.gz`,
+ asc: `${ORIGIN}apache-doris-4.0.6-bin-x64.tar.gz.asc`,
+ sha512: `${ORIGIN}apache-doris-4.0.6-bin-x64.tar.gz.sha512`,
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.6/',
+ version: '4.0.6-rc02',
+ },
+ {
+ label: CPUEnum.X64NoAvx2,
+ value: CPUEnum.X64NoAvx2,
+ gz: `${ORIGIN}apache-doris-4.0.6-bin-x64-noavx2.tar.gz`,
+ asc: `${ORIGIN}apache-doris-4.0.6-bin-x64-noavx2.tar.gz.asc`,
+ sha512:
`${ORIGIN}apache-doris-4.0.6-bin-x64-noavx2.tar.gz.sha512`,
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.6/',
+ version: '4.0.6-rc02',
+ },
+ {
+ label: CPUEnum.ARM64,
+ value: CPUEnum.ARM64,
+ gz: `${ORIGIN}apache-doris-4.0.6-bin-arm64.tar.gz`,
+ asc: `${ORIGIN}apache-doris-4.0.6-bin-arm64.tar.gz.asc`,
+ sha512: `${ORIGIN}apache-doris-4.0.6-bin-arm64.tar.gz.sha512`,
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.6/',
+ version: '4.0.6-rc02',
+ },
+ ],
+ },
{
label: '4.0.5',
value: '4.0.5',
@@ -472,6 +506,40 @@ export const ALL_VERSIONS: AllVersionOption[] = [
label: '4.0',
value: '4.0',
children: [
+ {
+ label: '4.0.6',
+ value: '4.0.6',
+ majorVersion: '4.0',
+ items: [
+ {
+ label: CPUEnum.X64,
+ value: CPUEnum.X64,
+ gz: `${ORIGIN}apache-doris-4.0.6-bin-x64.tar.gz`,
+ asc: `${ORIGIN}apache-doris-4.0.6-bin-x64.tar.gz.asc`,
+ sha512:
`${ORIGIN}apache-doris-4.0.6-bin-x64.tar.gz.sha512`,
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.6/',
+ version: '4.0.6-rc02',
+ },
+ {
+ label: CPUEnum.X64NoAvx2,
+ value: CPUEnum.X64NoAvx2,
+ gz:
`${ORIGIN}apache-doris-4.0.6-bin-x64-noavx2.tar.gz`,
+ asc:
`${ORIGIN}apache-doris-4.0.6-bin-x64-noavx2.tar.gz.asc`,
+ sha512:
`${ORIGIN}apache-doris-4.0.6-bin-x64-noavx2.tar.gz.sha512`,
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.6/',
+ version: '4.0.6-rc02',
+ },
+ {
+ label: CPUEnum.ARM64,
+ value: CPUEnum.ARM64,
+ gz: `${ORIGIN}apache-doris-4.0.6-bin-arm64.tar.gz`,
+ asc:
`${ORIGIN}apache-doris-4.0.6-bin-arm64.tar.gz.asc`,
+ sha512:
`${ORIGIN}apache-doris-4.0.6-bin-arm64.tar.gz.sha512`,
+ source:
'https://dist.apache.org/repos/dist/release/doris/4.0/4.0.6/',
+ version: '4.0.6-rc02',
+ },
+ ],
+ },
{
label: '4.0.5',
value: '4.0.5',
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]