Skip to content

Apache IoTDB 2.0.12

Latest

Choose a tag to compare

@HTHou HTHou released this 23 Nov 02:08
· 497 commits to master since this release

Features & Improvements

SQL Injection Prevention: Refactored the table model's PreparedStatement to prevent SQL injection
Cluster Management: Support IPv6 cluster deployment
REST: REST API supports setting the client timezone
Data Sync: Optimized filtering performance for non-first TAG columns in the table model
Data Import/Export Tools: Degradation strategy for Load files
Database Management: SHOW CREATE DATABASE/TOPIC/PIPE
Computation - Query Execution - SQL Clauses: Optimize the error message when a select * query has too many columns
Functions: Added time-frequency analysis function (FFT)
Functions: Added filtering functions (HighPass, LowPass)
Latest Point Cache: The latest point cache supports being enabled/disabled at table/database granularity
Functions: Built-in rate/increase/irate/delta aggregate functions for the table model
Functions: Added sequence correlation function (XCorr)
Functions: Built-in M4 table-valued function
Functions: Time-series trend matching table-valued function
Functions: Added the built-in table-valued function read_tsfile, supporting direct querying from a specified tsfile using SQL
Tree Model Metadata: When creating a new time series under an existing device, ignore the aligned/unaligned attributes specified in the create statement and use the current device's aligned/unaligned attributes instead of reporting an error
Measurement: Optimized the validation result of Measurement during cache writes
Device-Granularity Deletion: Fixed an issue where, after deleting a table with a large amount of data and then re-creating the table and writing data, querying that table had high latency
Memory Optimization: Memory optimization when copying the memtable TVList during queries
Pipe Data Sync: Optimized the matching algorithm for **
Tree Model Metadata: Added a boolean flag to device nodes indicating whether there are other devices below, and tuned the query select measurement from xxx.**
SQL Clauses: Performance optimization for full-table order by time + limit in the table model
SQL Clauses: Memory optimization for full-table queries in the table model
Pipe Data Sync: Optimized the Pipe memory block expansion/contraction algorithm

Bugs

Online File Merge: Fixed an issue where show disk_usage caused the merge to hang
Tree Model Metadata: Fixed the "no matched database" issue
Data Sync: Support storing TsFile parsing checkpoint progress, so that on retry after failure there is no need to re-parse the entire file
Basic Write: Fixed an issue where, for the same aligned device, first writing a request with fewer columns and more rows and then writing a request with more columns and one row generated a WAL that, upon restarting the DataNode, caused severe memtable null-value expansion and ultimately caused the DataNode restart to hang
TsFile Sync: When loading a tsfile, modify the replica set comparison logic: when comparing replica sets, no longer care about list order, only compare whether the elements within the sets are exactly identical; change the list comparison to a set comparison
Pipe Data Sync: Fixed an issue where Pipe threw an NPE for null measurement points when converting a partial insert write into a tablet
Pipe Data Sync: Fixed an issue where Pipe stopped after a tsfile parsing timeout
Online File Merge: Fixed an issue where the merge did not fall back to copying when creating hard links failed
Pipe Data Sync: Added per-Pipe independent memory quota limits or fair scheduling
Pipe Data Sync: Implemented exponential backoff and circuit breaker protection for scenarios where the disk is full or the receiver is unavailable
Pipe Data Sync: Added global and per-Pipe limits on in-flight TsFiles
Pipe Data Sync: Fixed an issue where drop pipe did not wait for the sink's return
Data Import/Export Tools: Fixed an error when executing tsfile load while a database named with a root. prefix already exists
Table Model Metadata: Optimized the handling of special characters escaped with backticks in table views
Pipe Data Sync: When deleting a Pipe there are asynchronous processes (e.g., recover); the asynchronous execution result needs to be communicated to the user
Pipe Data Sync: Drop pipe no longer waits for the sink's return, ensuring complete removal of the Pipe
Pipe Data Sync: Fixed the lag in the assigner portion when executing Pipe create/start/stop/delete commands
Pipe Data Sync: Fixed the excessive logging issue by reducing the amount of logs on the Pipe receiver side
Pipe Data Sync: Fixed an issue where splitting a tsfile in 1.3.x to sync partial data to 2.x failed

New Contributors

Full Changelog: v2.0.11...v2.0.12