TDengine 3.4.0.2 Release Notes
Release date: 2026-02-02
| Release type | Recommended for |
|---|---|
| Maintenance release | Users of XNode, stream processing, or virtual tables, and users upgrading privileges or encryption from v3.3 |
1. Highlights
- An XNode is created during initialization. taosX-Agent works with XNode high availability.
- taosX can import Parquet files.
- The Rust native connection supports
STMT2. - For event windows and state windows in stream processing and batch queries,
true_forsupports both a duration and a row count. LAGis renamed toFILL_FORWARD. Existing SQL must be renamed.- root must change the password after login when the default password is still in use.
allowDefaultPasswordkeeps the old behavior.
2. Features
- An XNode is created when the service is initialized. taosX-Agent works with XNode high availability. An XNode task adds
created_byandlabels. - taosX can import Parquet. An MQTT topic can use any character.
- taosAdapter records SQL for STMT. The Rust native connection supports
STMT2.INTERVALin a STMT query can be bound as a parameter. true_forof an event window and a state window can test both a duration and a row count.CREATE TOTP_SECRETcreates a TOTP secret.- The taosExplorer license page shows the machine code so it can be copied.
- IPv4 and IPv6 are supported at the same time.
3. Enhancements
- SQL error messages are clearer.
- Login requires root to change the password when the default password is still in use.
- Notifications related to user tokens are added. The expiration time and expiration policy of a data-encryption key can be updated.
- A cluster that already uses data encryption can be upgraded from an older version. Encryption covers files such as bse. After encryption takes effect, changing the configuration file can no longer bypass it.
- Privilege compatibility from
v3.3tov3.4is handled, and privilege control for views and audit is completed. A user can change privilege control. - A notification from a scheduled stream trigger adds the start time and end time. The field names remain
windowStartandwindowEnd. - In a stream query, a placeholder such as
_twstartcan appear inORDER BY. The delay of a virtual-table tag filter is lower. - The upper limit of source tables a virtual table can reference is changed from 1000 to 2000.
COLSandLASTare faster when only one source table is referenced.
4. Fixes
4.1 Severe issues
- After an mnode leader change, stream heartbeat handling crashed the process. Affected versions:
v3.4.0.0. - The
xnodedshutdown path could leavetaosdstuck while stopping. XNode was released inv3.4.0.0. Affected versions:v3.4.0.0. - When a state window processed several groups, a group whose window was entirely
NULLproduced the wrong result. Affected versions: all versions. - After a stream result child table was dropped and recreated, the calculation result was wrong. Affected versions:
v3.3.7.0throughv3.4.0.0. true_forused the wrong trigger logic when out-of-order rows were written. Affected versions:v3.3.7.0throughv3.4.0.0.- A stream that called
CONCATreturned the wrong result. Affected versions:v3.3.7.0throughv3.4.0.0. - A client could crash when many STMT writes ran concurrently. Affected versions: all versions.
- Using
GROUP_CONCATwithCOUNT_WINDOWcrashed the process. Affected versions: all versions. SHOW CREATE TABLEof a virtual table returned the wrong result. Affected versions:v3.3.6.0throughv3.4.0.0.
4.2 Query, privileges, and other issues
- A
JOINwhose subquery had noFROMreturned an error. LIMITon the outermost correlated query did not take effect when there was noORDER BY.- The scheduled time of a multi-level storage migration was inaccurate.
- The default duration of the password-reuse limit was wrong.
- After a user was deleted, a subscription that user had created could not be cancelled.
- Memory leaked when UDF initialization failed. Duplicate error details are removed.
- An InfluxDB migration hit a null pointer in a special case. A backslash in a migration statement was treated as invalid syntax.
- taosKeeper did not accept a password that contained special characters.
- Collecting AVEVA Historian as a migration failed. A MySQL task could block when there was very little data.
- Creating an OPC data-source task reported an error. The TMQ error text on the taosX native interface was incompatible.
- Setting user privileges in taosExplorer of
v3.4.0.0failed.
5. Security
5.1 Vulnerability fixes
None.
5.2 Hardening
- root must change the password after login when the default password is still in use.
allowDefaultPasswordcan allow the default password on the first start. - The expiration time and expiration policy of a data-encryption key can be set. After encryption takes effect, changing the configuration file can no longer change the encryption state.
6. Upgrade notes
6.1 Upgrade path
Direct upgrade, rolling upgrade, downgrade, and the minimum client version are not stated separately on this page.
6.2 Behavior changes
LAGis renamed toFILL_FORWARD. The arguments and behavior are unchanged. Existing statements must changeLAGtoFILL_FORWARD.allowDefaultPasswordtakes effect only the first time the server starts. When it is1, the default user can use the default password. Otherwise the default user must change the password after login.
6.3 Configuration changes
| Parameter | Purpose |
|---|---|
| allowDefaultPassword | Effective only on the first start. When it is 1, the default user can use the default password. Otherwise the password must be changed after login. |
6.4 Keyword changes
None.
6.5 System table changes
None.
6.6 Dependency changes
Dependency versions did not change.
6.7 Before you upgrade
An upgrade from v3.3.6 cannot keep the old stream processing. If the old streams, TSMA, snode, and their data directories are not removed, taosd fails to start. See Compatibility Notes. A cluster that already runs the new stream processing on v3.4.0.0 does not repeat those steps when it rolls to this release.
When upgrading from a version before v3.4 to this release, taosX does not migrate existing tasks automatically. Before v3.4, tasks were stored in SQLite. From v3.4 on, they are stored in mnode. Export the tasks in taosExplorer before the upgrade, import them afterward, and start the tasks that should run. If the tasks were not exported before the upgrade, they do not appear in taosExplorer afterward. See Migrate Tasks When Upgrading from a Version Before v3.4 to v3.4.x. A cluster already running on v3.4.0.0 or later, with tasks stored in mnode, does not need to repeat those steps when rolling to this release.
7. Known issues
None.
8. Downloads
The package is available from the TDengine download center. The package includes an SBOM and a SHA256 checksum.