Repository navigation
4.0.6 Release Notes #64065
Description
Activity
Breakwater-GitHub-Analysis-Slot: slot_7e689c9aedcd
Initial analysis: this issue looks like a release-notes draft/tracking item for Apache Doris 4.0.6, not a runtime bug report or a request for a code fix.
I checked the live issue metadata. It is open, has no labels, no milestone, no assignees, and no existing discussion. The body links back to the 4.0.5 release notes, has a clear Behavior Changes section, and covers the main user-visible areas for 4.0.6: cloud-mode improvements, observability, lineage, correctness fixes, load/integrity fixes, storage/compaction fixes, lakehouse fixes, security updates, and stability fixes.
One release-process gap to confirm before publication: I can see public
4.0.6-rc01and4.0.6-rc02tags, but I did not find a published GitHub release named4.0.6at the time of this check. So the notes should not be treated as final unless the release manager has already fixed the final artifact/tag boundary elsewhere.Suggested maintainer actions:
- Add the same process metadata used by the previous release-notes issue, at least the
release noteslabel, and a milestone if the project uses one for 4.0.x maintenance releases. - Confirm that every referenced PR is included in the final 4.0.6 release/cherry-pick range, especially the Behavior Changes and data-loss/correctness fixes.
- Add or link the final release artifact/tag/checksum page once available. If this is still RC-stage content, make that explicit in the issue or keep the issue open until the final release is published.
- Double-check the Behavior Changes wording before closing:
enable_strict_consistency_dmldefault change, Time Series Compaction threshold change,segments_key_bounds_truncation_threshold, Cluster Snapshot root privilege requirement, and JSONB/Variant distribution-column rejection are the items most likely to affect upgrade planning. - After the final release is published, close this tracking issue or link it from the official release announcement so users have a stable destination.
No query logs, BE/FE logs, profiles, or reproduction steps are needed for this issue unless maintainers want to audit a specific listed fix. The main missing information is release-process metadata and confirmation that the PR list matches the final 4.0.6 artifact.
- Add the same process metadata used by the previous release-notes issue, at least the
this is 4.0.6 release ,the fist line witre wrong @morningman
this is 4.0.6 release ,the fist line witre wrong @morningman
thanks. but first line is just a link to previous release notes
4.0.5 release notes
4.0.6 Release Notes
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:
enable_recyclerswitch, online adjustment of the memtable flush thread pool, and several brpc / bvar metrics.Behavior Changes
enable_strict_consistency_dmlis now disabled by default (branch-4.0: [opt](load) disable enable_strict_consistency_dml by default in cloud mode #61891). If your workload relies on strict-consistency DML, explicitly enable this configuration after upgrading.segments_key_bounds_truncation_thresholdis changed to 36 ([enhancement](config) Change segments_key_bounds_truncation_threshold default to 36 #61984).New Features & Improvements
Functions & Types
mmhash3_u64_v2hash function ([Enhancement](mmhash) Support mmhash3_u64_v2 #61846).json_object_flattenscalar function for flattening nested JSON ([feature](jsonb) add json_object_flatten scalar function #62825).array_sortthat supports custom sorting logic ([enhance](function) add a lambda functor version for array_sort #57828).max/minaggregate functions now support the Array type, andmax_by/min_bysupport some complex types ([enhance](agg) Support max/min agg functions for type_array #58490, [enhance](agg) Support max_by/min_by agg functions for some complex type #58736).Query Optimization
num_nullscolumn statistic proportionally after partition pruning to improve row-count estimation accuracy ([opt](nereids) scale num_nulls in col stats when partition pruned #62265).Storage & Compaction
Compute-Storage Decoupling (Cloud Mode)
test_balance_metricsdocker case (#7885) #61562).get_tablet_statsRPC calls to the Meta Service to lower metadata-service pressure ([improve](cloud) cloud reduce get_tablet_stats rpc to meta_service #60543).enable_recyclerconfiguration to dynamically skip the Recycler ([improvement](cloud) Add enable_recycler config to skip recycler dynamically #63286).Lakehouse
Data Lineage
Observability & Operations
--drop_backendsparameter tostart_fe.sh([fix](fe) add --drop_backends param to start_fe.sh #63306).Security & Authentication
Important Bug Fixes
Query Result Correctness
INTERSECT/EXCEPTlosing NULL rows during predicate pushdown ([fix](fe) Fix PullUpPredicates losing NULL rows in INTERSECT/EXCEPT #62299).count(null)being incorrectly treated ascount(*)([fix](fe) Fix isCountStar incorrectly treating count(null) as count(*) #62548).countcontains aMATCH_ALLexpression ([fix](fe) Fix NoSuchElementException when count with MATCH_ALL expression #62172).IN_LISTRuntime Filter predicate in Key Range scenarios ([Bug](scan) Preserve IN_LIST runtime filter predicates when key range… #62115).no_use_cbo_ruleHint being silently ignored ([fix](fe) Fix no_use_cbo_rule hint being silently ignored in EliminateLogicalSelectHint #62358).Views
ALTER VIEWdefinitions not being synchronized to Follower FEs when a COMMENT is specified ([fix](view) ALTER VIEW definition not synced to follower FE when COMMENT is specified #61670).Functions & Types
allow_zero_datefunction ([fix](date) fix allow_zero_date function incorrect result issue #61900).from_olap_stringthrowing an exception when it fails to parse a datetime; it now returns NULL instead ([fix](parse) No longer throws exceptions when parse datetime failed infrom_olap_string#63035).Variant Type
Load & Streaming
Data Loss / Integrity
Hangs / Leaks
close_waithang ([fix](load)fix VNodeChannel close_wait hang #58024).Restart & Metadata
SHOW LOADafter an FE restart ([fix](insert) fix INSERT job statistics lost in show load after FE restart #62331).Routine Load / Parsing
to_load_error_http_pathreturning an incorrect URL in HTTPS mode ([fix](https) fix be to_load_error_http_path return url in https mode #61785).Storage & Compaction
Compute-Storage Decoupling (Cloud Mode)
add_rowsets, fill Version holes before running, normalize the Rowset graph before Delete Bitmap Capture, and add anSC_COMPACTION_CONFLICTerror code to retry failures across V1 Compaction ([fix](cloud) Delete local rowsets before add_rowsets in cloud schema change #62256, [fix](cloud) Fill schema change version holes before running #63443, branch-4.0: [fix](cloud) Normalize SC rowset graph before delete bitmap capture #63981, [fix](cloud) Add SC_COMPACTION_CONFLICT error code to retry cross-V1 compaction failures #62272).balanced_tablets_shardsmemory leak and a Warmup inflight counting issue ([fix](cloud) Fix balanced_tablets_shards leak memory and fix some file cache case #59093, [fix](cloud) Fix warmup inflight count not decremented on early return #60480).CREATE MATERIALIZED VIEW((cloud) Hold table write lock across first-time dynamic partition setup to prevent CREATE MV race #62755).KV_TXN_MAYBE_COMMITTEDstate to clients ([fix](cloud) Hide KV_TXN_MAYBE_COMMITTED from clients #62244).SHOW PROCnot showing the Cached Version of partitions ([fix](cloud) show proc should display partition cached version #60807).Lakehouse & External Data Sources
SHOW PARTITIONSand the partitions TVF for external Catalogs ([bugfix] fix show partitions command for external catalog validations incompatible with partitions tvf #62134).File Cache & IO
Metadata & Job System
CANCEL ALTERwith an empty job list being mistakenly treated as canceling all Rollup jobs ([fix](sync) Treat empty cancel alter job list as all rollup jobs #62712).RestoreCommandthrowing an UnsupportedOperationException ([fix](backup) Fix UnsupportedOperationException in RestoreCommand by copying properties before modification #61890).retention_countnot being correctly registered with the scheduler after a restart ([fix](auto-partition) Register auto-partition tables with retention_count in DynamicPartitionScheduler on restart #61954).metadata_failure_recoverymode ([fix](fe) fix host not match if start fe in metadata_failure_recovery #62748).SHOW TABLETwhen no database is selected ([fix](fe) Allow show tablet without selected database #63280).SHOW BACKENDS([fix](fe) Fix SHOW BACKENDS field order mismatch #62207).start_fe.sh --console([bugfix](k8s) fix fe.out not generated when start_fe.sh --console #61807).INSERT OVERWRITE([fix](errmsg) Fix wrong error message of insert overwrite #62555).Security & Authentication
Stability & Misc
jetty_server_max_http_header_sizenot taking effect under Jetty 12 ([fix](http) Fix jetty_server_max_http_header_size not applied in Jetty 12 #61197).