Releases: taosdata/TDengine
3.0.2.3
Improvements:
- pseudo column "_isfilled" can be used with interp() functon to indicate whether the value is original value or not
- Performance optimization for Windows
- Error is returned when trying to delete the last tag
Fixed Bugs:
- taosd crash after stream processing has been running for long time
- "invalid value in client" is returned when querying the result stable of stream processing
- taosd crash when "create db" & "drop db" are executed frequently
- table UID is generated incorrectly in schemaless writing
- taosd crashed because of race condidtion in LRU Cache
- WAL file is deleted wrongly after tasod is restarted
- "create mnode" hangs after creating stream
- Aggregate query result is wrong because of SMA reading logic error
- taosd crashed when quering in case of 3 replicas
- taosbenchmark -y failed to execute
What's Changed
- chore: add comp postfix for taos-tools by @sangshuduo in #19169
- enh: drop stream eagerly by @cosmic-jc in #19167
- fix: skip msg by @cosmic-jc in #19174
- refactor: do some internal refactor. by @hjxilinx in #19172
- enh: set scan limit by @cosmic-jc in #19178
- enh: check existence of msg head at SRpcMsg pCont in vmPutMsgToQueue by @bgzhao66 in #19177
- fix: display the correct log information by @guanshengliang in #19176
- fix: taosbenchmark no vgroup if host specified for main by @sangshuduo in #19180
- fix: semaphore is not destroyed issue by @dapan1121 in #19183
- fix:calculate next sliding window error by @54liuyao in #19187
- fix: double free on append log failed by @guanshengliang in #19189
- fix: escape error in create topic by @xiao-yu-wang in #19198
- fix: change system error code and avoid mem leak by @yihaoDeng in #19197
- test: add test case for tmq replica 3 by @xiaopingcs in #19193
- fix: disable fma by default for old cpu by @sangshuduo in #19207
- fix: handle except on taosd rpc-client by @yihaoDeng in #19215
- fix: prohibit triggering modes other than at_once in non window stream by @xiao-yu-wang in #19217
- fix memory leak by @cosmic-jc in #19190
- test:add client-server compatibility test by @tomchon in #19222
- enh: adjusting the operation mode of the stream thread pool by @guanshengliang in #19210
- test:add client-server compatibility test by @tomchon in #19225
- fix: covert scalar param to data block by @shenglian-zhou in #19205
- fix: set dnode online after status check success by @guanshengliang in #19223
- fix: support_vnodes and the max supported vgroups mis-match by @guanshengliang in #19219
- fix:fill operator fill next issue by @54liuyao in #19213
- Fix/xsren/win sort & mac fqdn by @facetosea in #19232
- fix(query): fix count/hyperloglog return additional row in group by when queryPolicy is set to 3. by @glzhao89 in #19224
- refact: adjust sync log by @guanshengliang in #19242
- fix(tdb): free stack celldecoder's pVal by @stephenkgu in #19249
- fix: escape error in create topic/stream by @xiao-yu-wang in #19250
- fix(meta/snap): return -1 when decoder meta entry failed by @stephenkgu in #19253
- avoid invalid free by @yihaoDeng in #19247
- fix: some query tasks not end when vnode stopped by @dapan1121 in #19239
- enh: put func state into tdb by @cosmic-jc in #19244
- enh: optimize drop when scan exec by @cosmic-jc in #19255
- new API taos_stmt_reclaim_fields to reclaim TAOS_FIELD_E in a uniform… by @freemine in #19245
- fix: error in deleting only tag columns by @xiao-yu-wang in #19256
- enhance: remove assert by @shenglian-zhou in #19175
- fix: select tbname from system tables by @shenglian-zhou in #19147
- refactor: stream dispatch by @cosmic-jc in #19257
- fix(query): opt filter perf. by @hjxilinx in #19188
- fix:modify parameter type by @54liuyao in #19266
- test:add test case info ci by @jiacy-jcy in #19273
- fix: invalid msg order issue by @dapan1121 in #19277
- Enh/xsren/win print trace mainbase by @facetosea in #19279
- build: update taosadapter by @sunpe in #19292
- test: update script for crash_gen by @xiaopingcs in #19294
- Release/ver 3.0.2.2 by @plum-lihui in #19293
- fix: reset stream status when load from disk by @cosmic-jc in #19290
- enh: remove assert by @yihaoDeng in #19264
- feat(util): new ASSERT work by @DuanKuanJun in #19126
- fix: allow the ip resolved by fqdn different between dnodes by @guanshengliang in #19297
- fix: insert into select with disorder column issue by @dapan1121 in #19280
- refactor: disable all asserts. by @hjxilinx in #19312
- fix mem leak by @cosmic-jc in #19318
- enh: add log by @hzcheng in #19322
- fix(query): fix floating type handle sma error by @glzhao89 in #19262
- fix: evac page failed issue cause of disk full by @dapan1121 in #19327
- fix(utility): fix the bug in creating auto delete files. by @hjxilinx in #19321
- fix: skiplist concurrent access by @hzcheng in #19336
- fix: load wal ref when init by @cosmic-jc in #19334
- fix: vnode set the wrong replica info after snapshot transfered by @guanshengliang in #19344
- enh: remove assert from mnode by @guanshengliang in #19333
- Enh/xsren/td 21652/win file lock base main by @facetosea in #19317
- test: update tmq test cases by @xiaopingcs in #19289
- fix: add test for select tbname from systable by @shenglian-zhou in #19310
- fix: drop task while task executing issue by @dapan1121 in #19339
- fix: varchar type order by rule different with nchar type by @DuanKuanJun in #19337
- enh: use diff atomic op by @hzcheng in #19350
- fix: update taos-tools 4776778 for main by @sangshuduo in #19349
- enh(query): opt filter perf. by @hjxilinx in #19345
- feat: add batch get table vgId API by @dapan1121 in #19358
- fix: fix ASSERTs by @glzhao89 in #19325
- fix: 'show user privilegs' command echo user name incomplete by @xiao-yu-wang in #19360
- fix: send rpc response on closing sync or failing to enqueue by @bgzhao66 in #19372
- enh(query): handle getBufPage return NULL when no available disk spaces by @glzhao89 in #19370
- ci:add ci for keepColumnName by @54liuyao in #19376
- fix(vnode/mgmt): pre close vnode after queue's empty by @stephenkgu in #19369
- feat: update taos-tools 69964a0 for main by @sangshuduo in #19382
- fix: update taos-tools 4efbc10 for main by @sangshuduo in #19398
- fix: crash if reader is already dropped by @guanshengliang in #19389
- fix: rsma commit without table by @kailixu in #19406
- fix: tsdb snap wrong suid by @hzcheng in #19396
- fix: fix no available disk error by @glzhao89 in #19415
- fix: remove privilege info on drop db / topic by @...
3.0.2.2
Improvements:
- dnode exit automatically after it is dropped by "drop dnode" command
Fixed Bugs:
- The result of "Show table distrubted" is not correct
- Unexpected NULL is returned when querying "partition by tag" with "interval" and "fill" clause
- Unexpected NULL is returned when querying "percentile" with "interval"
- Query failed after creating stream
- taosd crashed when starting on CentOS 7
- Duplicate values are returned when using nested query with group by
- taosd crashed in "taosGetCPUCores"
- taosd crashed when starting
- show tables/stables failed after granting write privilege
- Improper return code is returned by taosAdapter
- taosd crashed when doing "select count(*)"
- taosd failed to start with "illegal instruction" on CentOS 7
- taosBenchmark -I stmt failed on Windows 7
- taosd crashed on ARM64
- The result of stream processing is not correct
- taosBenchmark failed when using "-h " to write to TDengine
What's Changed
- test: update coverage test script by @xiaopingcs in #19040
- refact: adjust some sync log and func return type by @guanshengliang in #19038
- fix(query): check for buffer in first/last merge. by @hjxilinx in #19044
- refact: update sync log by @guanshengliang in #19050
- fix: fix percentile + interval res error by @dapan1121 in #19048
- enh: optimize converting timestamp at client side by @dapan1121 in #19032
- enh: support auth read or write by @dapan1121 in #19045
- fix: show tables/stables privilege error by @xiao-yu-wang in #19057
- fix: the mnode is also offline when dnode on it is offline by @guanshengliang in #19054
- enh: update taosadapter by @sunpe in #19052
- fix: heap-use-after-free while transfer snapshot between vnode replicas by @guanshengliang in #19068
- fix(query): update the blockInfo by @hjxilinx in #19067
- fix: heap-use-after-free while alter vnode replicas by @guanshengliang in #19069
- release: build 3.0.2.1 by @guanshengliang in #19058
- enh: add dropping and creating status for dnode by @guanshengliang in #19063
- fix:modify delete msg type to tmq meta by @wangmm0220 in #19074
- fix: convert err code by @yihaoDeng in #19073
- fix: interp takes too much time issue by @dapan1121 in #19060
- enh: adjust error code if transaction exec failed by @guanshengliang in #19083
- fix(tdb/abort): invalidate flushed pages in cache not on dirty tree by @stephenkgu in #19085
- fix: change log level to trace on missing entries in syncRespMgr by @bgzhao66 in #19087
- fix(query): add lock for cache. by @hjxilinx in #19076
- fix:timestampe is out of order by @54liuyao in #19092
- fix: fix time related function inconsistent result in nested queries by @glzhao89 in #19099
- fix: invalid interval query result by @dapan1121 in #19090
- test: modify test case for checking db ready by @plum-lihui in #19095
- fix(meta/malloc): use new aligned buffer pool malloc by @stephenkgu in #19093
- fix(query): set start row index for desc scan. by @hjxilinx in #19101
- Fix(tsdb): table block distributed totalSize is zero by @DuanKuanJun in #19071
- enh: promp the dnode is already in dropping state while repeat drop it by @guanshengliang in #19106
- fix:modify delete msg type to tmq meta by @wangmm0220 in #19079
- fix: keepColumnName parameter changes the user alias by @xiao-yu-wang in #19108
- fix: skip msg by @cosmic-jc in #19122
- test: add test cases by @xiaopingcs in #19121
- enh: print ipstr on taos_connect by @guanshengliang in #19119
- fix(query): avg function support overflow sum value calculate by @DuanKuanJun in #18960
- fix: fill null value issue by @dapan1121 in #19089
- fix: duplicated groups result in group by by @dapan1121 in #19104
- fix: interval + fill desc order result different issue by @dapan1121 in #19120
- enh: enh chartset convert by @yihaoDeng in #19127
- fix: handle except on taosd-client by @yihaoDeng in #19105
- refactor: do some internal refactor. by @hjxilinx in #19116
- fix(query): show sql len on systable length modify from 1024 to 2048 by @DuanKuanJun in #19128
- fix(tdb/restore): seek jfd to begin by @stephenkgu in #19097
- fix: restart snapshot sender on receiver is restart by @guanshengliang in #19103
- fix:remove assert by @54liuyao in #19143
- fix(vnd): save vnode info at the begining of vnode prepare commit by @stephenkgu in #19140
- enh: handle error while transfer snapshot by @guanshengliang in #19149
- feat(rpc): return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED by @DuanKuanJun in #19046
- fix(taosAdapter): invalid pointer on stack by @huskar-t in #19156
- fix:remove window operator assert by @54liuyao in #19153
- fix: ctg lock/unlock logic by @kailixu in #19158
- fix: handle error if sync buffer is full by @guanshengliang in #19160
- enh: check existence of SMsgHead in SSyncRaftEntry data or SRpcMsg pCont by @bgzhao66 in #19161
- chore: add comp postfix for taos-tools for 3.0.2.2 by @sangshuduo in #19171
- fix: taosbenchmark no vgroup if host specified for 3022 by @sangshuduo in #19181
- fix: add sem free and init log by @sangshuduo in #19192
- fix: disable fma by default for old cpu by @sangshuduo in #19208
Full Changelog: ver-3.0.2.1...ver-3.0.2.2
2.6.0.34
Release Notes
from:release/ver-2.6.0.32
to:release/ver-2.6.0.34
FIX BUGS:
fix: change tsMaxTmrCtrlto 20480 (#19100)
fix:max_row constant (#18898)
fix: fixed not last word match bug (#19001)
fix: if all vnode in one group can not connect, return TSDB_CODE_RPC_VGROUP_NOT_REACHED(#18935)
ENHANCEMENTS:
enh: enlarge max wal size from 3 MB to 4 MB (#18886)
enh: support loongArch64
3.0.2.1
Enhancements:
- Support "rest" insert mode in the global part of JSON file for taosBenchmark
- Topic access permission can be controlled specifically
- Improved logging in case taosd is killed
- Cleanup connection cache automatically after client is closed for a while
- Query performance optimization
Fixed Bugs:
- Output of taosbenchmark is wrong on Windows
- Cluster state is OK but dnode is shown as offline in log
- Output of "show vgroups" is incorrect
- OS type reported from TDengine on macOS is empty
- Command "alter database replica 3" took too long time
- Data loss after "alter database replica 3"
- taos crash in tsdb
- Resulting table of stream processing can't be queried
- Memory leak of taosX
- taos shell "auto tab" can't match "show table distributed"
- Some taosd crash problems
What's Changed
- merge from 3.0.2.0 to main by @guanshengliang in #18881
- fix: fix taosd crash caused by assert by @glzhao89 in #18893
- enh: shielding sql command 'alter database strict' by @xiao-yu-wang in #18900
- fix: disk full recovery issue by @dapan1121 in #18904
- fix: create stream error by @xiao-yu-wang in #18902
- fix: should not check dnode status in follower by @guanshengliang in #18914
- fix: set compressMsg range by @yihaoDeng in #18911
- ci:add some test for stream by @54liuyao in #18918
- fix: fix error in getting pageIdList from group page hash map by @glzhao89 in #18906
- refact: post sem in mnode while sync timeout by @guanshengliang in #18921
- enh: shielding database option 'strict' by @xiao-yu-wang in #18920
- refactor: do multiple refactor and improve some query perf. by @hjxilinx in #18905
- fix: remove unused param by @yihaoDeng in #18936
- fix: udfd pipe close before send response by @shenglian-zhou in #18917
- fix: fix invalid retrieved buffer page causing crash by @glzhao89 in #18929
- fix: refact some example files by @dapan1121 in #18927
- refact: post sem in vnode while sync timeout by @guanshengliang in #18940
- fix docs of 11-kafka.md by @yuanguangxin in #18953
- fix: remove sch status on timeout by @yihaoDeng in #18948
- fix: reduce the frequency of retry in sync not ready case while alter db by @guanshengliang in #18952
- enh: adjust batchSize dynamically on retryBackoff by @bgzhao66 in #18955
- fix: incorrect error code for repeated dnode creation by @guanshengliang in #18972
- fix: change err msg while vnode is stoped by @yihaoDeng in #18963
- enh(stream): forbid source db replica > 1 by @cosmic-jc in #18968
- fix: should not fsync in log level is error by @guanshengliang in #18978
- fix: reset errorcode after check leader by @guanshengliang in #18982
- fix(tsdb): default value of tsdbPageSize by @kailixu in #18980
- docs(stream) by @cosmic-jc in #18988
- docs(stream) by @cosmic-jc in #18989
- docs(stream) by @cosmic-jc in #18991
- fix: reduce drop dnode speed to make data more secure by @guanshengliang in #18990
- fix: vnode snapshot rollback by @hzcheng in #18858
- enh: ignore head line in cvs file by @dapan1121 in #18951
- fix: remove invalid assert by @guanshengliang in #18997
- fix: mem leak td-21163 by @yihaoDeng in #18984
- Test/td 20540 by @happyguoxy in #19003
- fix(shell): fixed not last word matched by @DuanKuanJun in #19000
- fix: user auth error by @xiao-yu-wang in #18995
- fix: allow to rollback sync log buffer beyond startIndex with refill by @bgzhao66 in #19004
- fix: taosbenchmark delay time for windows by @sangshuduo in #19011
- fix(query): fix error. by @hjxilinx in #19016
- fix: disable insert csv statements on cloud services by @xiao-yu-wang in #19017
- fix(tdb): rollback in-memory pages by @stephenkgu in #19010
- fix: avoid double-free in usedb req while db in creating state by @guanshengliang in #19023
- fix: fix mem leak by @yihaoDeng in #19025
- enh(taosAdapter): return 502 when Unable to establish connection error occurs by @huskar-t in #19028
- fix(query): projection for null input by @cosmic-jc in #19033
- fix(meta/snap): use os memory instead of cache page replacement by @stephenkgu in #19035
- enh: java connector support get table vgid (#18981) by @sunpe in #19034
- test:add test case into ci by @jiacy-jcy in #19021
- enh: upgrade taosadapter by @sunpe in #19053
- Fix/xsren/mac enterprise base 3.0.2.1 by @facetosea in #19064
New Contributors
- @yuanguangxin made their first contribution in #18953
Full Changelog: ver-3.0.2.0...ver-3.0.2.1
3.0.2.0
New Features:
- Replica 3 can be specified when creating a database
- RAFT protocol is enabled automatically in case of replica 3
- Replica 1 and 3 can be switched by "alter database" command
Enhancements:
- Performance optimization for inserting data in SQL mode
- Performance optimization for replica 3
- Performance optimization for querying data in a lot of scenarios
- Stability improvement for replica 3
- Execute "alter database replica" in async way
Fixed Bugs:
- Some coredump problems
- Some OOM issues
- A series of functional bugs
What's Changed
- Revert "Revert "enh: row optimize2"" by @guanshengliang in #18418
- test:add test case for TS-1939 by @jiacy-jcy in #18394
- fix:initialize maxts by @54liuyao in #18400
- refactor: enable continue query when the buffer of sink node is empty by @hjxilinx in #18395
- fix(shell): add help command and fix create table filed complete by @DuanKuanJun in #18422
- test: adjust asan case by @guanshengliang in #18423
- test: add asan case by @guanshengliang in #18425
- refactor(sync): add timestamp trace log when elect and heartbeat by @castermode in #18424
- fix(query): fix error in seq fetch data block. by @hjxilinx in #18426
- test: add asan case and adjust python test frame by @guanshengliang in #18427
- fix: memory leak while schedule stream by @guanshengliang in #18421
- docs: add StackOverflow link by @arielyang in #18428
- fix(stream): heap uaf by @cosmic-jc in #18429
- enh: last cache optimize by @xiao-yu-wang in #18384
- fix:Explicit null dereferenced by @54liuyao in #18419
- fix(sync): if msg commit, put it into apply-queue, do not care return code by @castermode in #18431
- fix: auto creating table failed issue when table already exists by @dapan1121 in #18435
- test: add asan case by @guanshengliang in #18432
- fix(tdb): zero pOlds[i]'s nOverflow and assert it's zero when committing by @stephenkgu in #18434
- fix(meta): return invalid message if cannot getting value from uididx by @stephenkgu in #18437
- fix: fix invalid packet by @yihaoDeng in #18439
- enh: set max restart time of taosd to 3; allow disable alert in pod by @tangfangzhi in #18397
- fix(shell) add one blank after affected word by @DuanKuanJun in #18444
- fix: [ASAN] fix nullpointer issue in tdatablock.c by @glzhao89 in #18441
- fix(tdb/pcache): type nPages as nPage by @stephenkgu in #18442
- test/update vnode by @wenzhouwww in #18440
- fix(query): check for null ptr before extracting info by @hjxilinx in #18450
- fix: query failed issue caused of db dropped by @dapan1121 in #18398
- fix(tmq): time wait by @cosmic-jc in #18454
- fix: duplicated explain response issue by @dapan1121 in #18455
- fix:support scalar function with fill by @54liuyao in #18456
- fix: asan problems for rsma by @kailixu in #18458
- docs: release 3.0.1.8 by @xleili in #18466
- fix: memory leak while subscribe by @guanshengliang in #18462
- refactor(sync): add trace log by @castermode in #18463
- fix: fix mem leak by @yihaoDeng in #18438
- test: add asan case by @guanshengliang in #18453
- doc: upgrade grafana plugin version by @sunpe in #18460
- fix(query): check the error code, if the downstream is an exchange operator. by @hjxilinx in #18464
- enh(stream): new api for stream queue by @cosmic-jc in #18459
- test: add asan case by @guanshengliang in #18469
- refactor: adjust syncLogHeartbeat by @guanshengliang in #18467
- Release/ver 3.0.1.8 by @xleili in #18474
- test:add test case into ci by @jiacy-jcy in #18448
- build: release ver-3.0.1.8 by @guanshengliang in #18475
- enh: add debug info by @yihaoDeng in #18452
- refactor(sync): optimized heartbeat timer by @castermode in #18472
- test: add asan case by @guanshengliang in #18473
- chore: taos-tools use localfile asdeps by @sangshuduo in #18471
- coverity problem fixed by @DuanKuanJun in #18461
- fix: memory leak and defects in covrity by @wangmm0220 in #18465
- Revert "enh: add debug info" by @guanshengliang in #18479
- fix: memory leak by @cosmic-jc in #18476
- test: add asan case by @guanshengliang in #18478
- test: add asan case by @guanshengliang in #18482
- fix: disable taos-tools cunit test on windows by @sangshuduo in #18484
- test: adjust case for asan mode by @guanshengliang in #18487
- test: add asan case and fix tmqSim error by @guanshengliang in #18489
- Update number of stars in README by @saivishwak in #18488
- docs: Update number of stars in README by @guanshengliang in #18490
- test: add tmq case by @guanshengliang in #18491
- fix: memory leak while subscribe by @guanshengliang in #18495
- test: add asan case by @guanshengliang in #18493
- feat: taosbenchmark supports retry by @sangshuduo in #18496
- refactor: improve the perf in query by @hjxilinx in #18468
- docs: update examples/jdbc demo readme by @sangshuduo in #18499
- fix: memory leak while subscribe by @guanshengliang in #18497
- refactor: do some internal refactor. by @hjxilinx in #18500
- test:add win testcase in ci by @tomchon in #18492
- fix: memory leak by @cosmic-jc in #18504
- test: adjust cluster case for asan mode by @guanshengliang in #18507
- test: add asan case by @guanshengliang in #18510
- fix(tdb/flush): make drop two-child rbtree node works by @stephenkgu in #18513
- refactor: do some internal refactor. by @hjxilinx in #18509
- fix: select null error by @xiao-yu-wang in #18508
- fix(stream): fill combine with subtable by @cosmic-jc in #18515
- fix:installer,The installation cannot be completed on the mac by @facetosea in #18512
- fix(sync): fix asan error, TD-20801 by @castermode in #18520
- fix: deadlock while alter db replica by @guanshengliang in #18523
- refactor: do some internal refactor. by @hjxilinx in #18516
- fix: [ASAN] stack buffer overflow by @glzhao89 in #18519
- fix:during installation,dll file cannot overwrite. by @facetosea in #18526
- enh: support multiple query groups in exchange operator by @dapan1121 in #18524
- feat: taosdump for windows by @sangshuduo in #18529
- enh: adjust para by @yihaoDeng in #18502
- test:add testcase of win ci by @tomchon in #18517
- fix(query): memory leak with pPageIdList on sort by @DuanKuanJun in #18527
- fix: alter db pages memory leak by @hzcheng in #18528
- 修改可能导致读取额外内容的BUG by @maikebing in #18518
- test: add asan case by @gu...
2.6.0.32
Release Notes
from:release/ver-2.6.0.30
to:release/ver-2.6.0.32
FIX BUGS:
fix:in some cases, metadata may be received twice (#18609)
feat: support show cluster status command on 2.6 (#18578)
fix: add blank after affected words (#18446)
fix: show result format (#17949)
fix: add help command and fixed fields auto fill (#18433)
fix: core dump due to assert reallocation result when reallocate fails (#18391)
fix: loss of filter (#18317)
fix: variant offset save with int16_t is smaller (#18202)
fix: set connect socket to unblocking call with timeout (#18066)
3.0.1.8
Enhancements:
- Performance optimization for "select *"
- Improved error handling if the data to be inserted doesn't include timestamp
- Performance optimization when there is "IN" clause in both inner and outter query
- Performance optimization when counting disordered data of NCHAR type
- Optimization for interp()
Fixed Bugs:
- Crash caused by querying last_row() on a table of 4,000 columns
- Crash caused by "select count(1)"
- Crash caused by tag length exceeding the schema definition
- Crash casued by commiting NONE or NULL to disk
- Crash caused by fill(NULL) + interval + partition by tbname
- Crash caused by fill_history + partition by tbname + state_window/session
- Crash caused by stream processing in crash_gen
- Crash at executor/src/sortoperator.c
- Crash at libs/executor/src/tfill.c
- Crash at executor/src/sortoperator.c
- Crash happened in stability testing with replica=3
- Crash caused by creating stream on child table with fill_history and data filtering
- Overflow when converting time decision
- SIGABORT received if the data to be inserted doesn't incldue timestamp
- "Use DB" got error: Database is in dropping status
- fill(value, '1') should NOT succeed for a column of integer type
- "Invalid read of size 1" reported by Valgrind
- Duplicate child table name is generating when creating child table automatically
- Incorrect result returned by fill_history + partition by tbname + interval
- Database should not be created if its name exceeds the upper limit
- Other dnodes go to offline if one node is down and restarted
- User should not be created if the password length exceeds upper limit
- A lot of issues found by Address Sanitier
- Bugs found by 3rd party database verification tool
What's Changed
- fix:src/builtinsimpl.c:1084:41: runtime error: division by zero by @54liuyao in #18219
- fix: memory leak while balance vgroup by @guanshengliang in #18220
- fix: memory leak at strerror found by asan by @guanshengliang in #18217
- fix(stream): stop scan when no output by @cosmic-jc in #18223
- fix(query): [ASAN] fix time precision conversion overflow by @glzhao89 in #18212
- fix: fix query thread stop issue by @dapan1121 in #18224
- fix: limit doc error by @xiao-yu-wang in #18235
- fix(sync): fix asan error, use rid in hbdata and syncnode by @castermode in #18232
- fix:fill operator core by @54liuyao in #18231
- TD-20478: update coverage test script by @xiaopingcs in #18244
- test: modify test case by @plum-lihui in #18228
- build: release ver-3.0.1.7 by @wenzhouwww in #18247
- Release/ver 3.0.1.7 by @wenzhouwww in #18248
- docs/release_ver_3.0.1.7_website by @wenzhouwww in #18249
- refactor: suppress one error. by @hjxilinx in #18242
- test: adjust unstable case by @guanshengliang in #18246
- fix: memory leak in mndVgroup.c by @guanshengliang in #18243
- fix: minus redoActionPos if sync failed by @guanshengliang in #18245
- test: add asan case by @guanshengliang in #18236
- refactor(sync): reduce lru-cache size by @castermode in #18250
- enh: refactor batch meta msg by @dapan1121 in #18226
- fix:memory leak while drop stream by @54liuyao in #18240
- enh: fill value supports implicit type conversion by @xiao-yu-wang in #18210
- test: add log and asan case by @guanshengliang in #18252
- test: adjust unstable case by @guanshengliang in #18253
- fix(query): createOneDataBlock rowsize must reset to zero by @DuanKuanJun in #18233
- fix(sync): fix elect bug by @castermode in #18254
- fix: fix asan issue by @dapan1121 in #18256
- test: add tsan case by @guanshengliang in #18260
- fix: real path optimization in case of invalid read by @kailixu in #18230
- fix: remove --win_service from taosadapter of windows installer by @sangshuduo in #18269
- enh(stream): put user defined tb name into stream state by @cosmic-jc in #18266
- docs: update tmq demo by @zitsen in #18257
- test:add test case for boundary check by @jiacy-jcy in #18237
- fix: scalar mnode for in set more than 10 and print only 1000 groups … by @shenglian-zhou in #18234
- Test/td 19940 by @happyguoxy in #18262
- fix: fix memleak by @yihaoDeng in #18270
- refactor(sync): optimize leader transfer by @castermode in #18271
- fix: memory leaks while check mnode state by @guanshengliang in #18273
- test ci by @guanshengliang in #18274
- refactor: do some internal refactor. by @hjxilinx in #18255
- fix(meta): new error for creating sub tb already exist in other stables by @stephenkgu in #18272
- fix: change example name in document by @shenglian-zhou in #18275
- test: adjust pytest frame by @guanshengliang in #18279
- test: adjust asan directory by @guanshengliang in #18284
- fix: binary NONE + NULL commit coredump by @hzcheng in #18286
- fix:stream state abnormal failure by @54liuyao in #18267
- docs: add TDengine knowledge map by @arielyang in #18290
- feat: send alert in script for cloud version by @tangfangzhi in #18264
- test/update case by @wenzhouwww in #18268
- enh: enh crash_gen for 3.0 new functions by @wenzhouwww in #18004
- refactor: optimize interp linear interpolation ignore NULL values during calculation by @glzhao89 in #17972
- docs: fix pathname of resources file by @arielyang in #18293
- test: python asan by @guanshengliang in #18285
- fix: compile taosws on loongarch by @zitsen in #18278
- test: close all dnodes when tsim execution is complete by @guanshengliang in #18294
- fix: set sleep time to 10s, set curl timeout by @tangfangzhi in #18302
- fix(stream): free stream state cursor by @stephenkgu in #18295
- test: add asan case by @guanshengliang in #18300
- fix: mv does not work cross devices by @tangfangzhi in #18307
- feat: taosdump for windows by @sangshuduo in #18298
- test: add asan case by @guanshengliang in #18309
- fix: [ASAN] devive by zero by @glzhao89 in #18316
- refactor: do some internal refactor, and update the logs. by @hjxilinx in #18305
- enh(taosx): split block when none column not match by @cosmic-jc in #18308
- test: add asan python case by @guanshengliang in #18315
- test: add asan python case by @guanshengliang in #18319
- enh: refact some messages by @dapan1121 in #18258
- fix: free the batch create table reqs' decoded comment field by @stephenkgu in #18326
- fix(query): fix some memory leaks. by @hjxilinx in #18318
- fix: fix error for select count(c2),count(ts) from table caused by null ts column aggregation by @shenglian-zhou in #18321
- test: add asan case by @guanshengliang in #18323
- test:add testcase of enterprise installPackages by @tomchon in #18322
- refactor(sync): del wal in multi-replicas by @castermode in #18331
- docs: update jdbc version in connector matrix for3.0 by @sangshuduo in #18332
- enh(taosAdapter): keep debug information by @huskar-t in #18324
- fix: avoid invalid check by @yihaoDeng in https://github.com/taosd...
3.0.1.7
Enhancements:
- Future timestamp can be inserted
- Performance optimization for query in a lot of scenarios
- Performance optimization for data inserting
- Significantly reduced the number of open file descriptions
- Schemalss inserting can handle data including "\0"
- Mode() function can be used with specific columns
Fixed Bugs:
- taosd crashed when there is out of order data
- taosd crashed when querying last_row()
- taosd crash caused by creating stream
- taosd crash caused by "CASE WHEN THEN NULL"
- Client programs crashed because of taosc
- Some other crashed in taosd
- Memory leak issues in taosd
- duplicate timestamp returned when querying with interval() fill(prev)
- NULL retruned when querying with interval() fill(prev)
- show create table \G doesn't show the full column list
- FQDN over 32 bytes can't be handled properly
- result returned by "last_row() group by tbname" is not consistent with that returned by "last group by tag"
- child tables are not accumulated in the count of time series
- show tables or select from ins_tables doesn't work after the license expires
- The timezone specified when establishing connection doesn't work
What's Changed
- refact: adjust sync.h and syncState by @guanshengliang in #17825
- Release/ver 3.0.1.6 by @wenzhouwww in #17822
- fix(query): optimize the performance of tsdbread. by @hjxilinx in #17813
- test:add replica 3 for cluster test case by @tomchon in #17818
- fix: set output value to null if zero-length by @stephenkgu in #17829
- fix(sync): delete assert by @castermode in #17827
- fix: add dnode status log by @guanshengliang in #17830
- fix: typo create_definitionn -> create_definition by @beyoung in #17831
- fix: address sanitizer divide by zero error by @glzhao89 in #17826
- fix: set firstTrial as false if error encountered in loop of walScanLogGetLastVer by @bgzhao66 in #17824
- refact: adjust error code in vnode by @guanshengliang in #17835
- docs: taosbenchmark support kill slow query by @sangshuduo in #17661
- fix: fix reverse table scan when checking if block from file overlap with skyline deletion result error by @glzhao89 in #17841
- fix(function):if data is null, apercentile function should return null by @54liuyao in #17840
- fix: failed to read sdb while udf larger then 10M by @guanshengliang in #17842
- fix typo PARTITON by @sunmorrow in #17846
- refactor(sync): add pre snapshot by @castermode in #17837
- fix: handle tcp except by @yihaoDeng in #17848
- fix: status access time error by @guanshengliang in #17849
- fix(query): update the lastkey for each table during table scanning. by @hjxilinx in #17834
- fix: taos_fetch_row returns null and log the error when the argument is invalid by @shenglian-zhou in #17850
- update jenkinsFile2 to add unit test by @tomchon in #17749
- enh: optimize submit response message by @dapan1121 in #17851
- test:add replica parameters for all testcase by @tomchon in #17844
- fix: return err code when query fail by @yihaoDeng in #17816
- fix: set fs and last dataf reader to null when resetting by @stephenkgu in #17852
- fix: fix tbname in crash issue by @dapan1121 in #17855
- refact: add sequence for status msg by @guanshengliang in #17857
- enh(sync): add sync pre stop, local-cmd:follower-commit by @castermode in #17856
- test: adjust case by @guanshengliang in #17859
- docs: update default value of monitor option by @guanshengliang in #17868
- fix: fix packaging condition test in the scripts by @zitsen in #17864
- fix: fix taosd memory leak issue by @dapan1121 in #17861
- refactor(sync): add syncIsReadyForRead by @castermode in #17869
- refactor(stream): stream deploy and state transfer by @cosmic-jc in #17865
- fix: reset last load info when close dataf reader for stt last files by @stephenkgu in #17875
- build : Release/ver 3.0.1.6 by @wenzhouwww in #17874
- build: release ver-3.0.1.6 by @wenzhouwww in #17873
- release:update_docs of version 3.0.1.6 by @wenzhouwww in #17882
- enh(taosAdapter): support Windows service by @huskar-t in #17885
- fix: handle trans except by @yihaoDeng in #17878
- Update 01-deploy.md by @DuanKuanJun in #17895
- Update 01-deploy.md by @DuanKuanJun in #17898
- update query script by @xiaopingcs in #17900
- refactor(query): do some internal refactor. by @hjxilinx in #17853
- refactor(sync): delete assert by @castermode in #17893
- Update 01-deploy.md by @DuanKuanJun in #17905
- test:modify case by @plum-lihui in #17906
- Update 01-deploy.md by @DuanKuanJun in #17907
- fix(query): set the last key of each tablescan info by @hjxilinx in #17886
- enh: adjust tqueue and tworker log by @guanshengliang in #17894
- test:update verisonFile every time on testpackage.sh by @tomchon in #17911
- test(driver):C# example CI failed by @xleili in #17902
- build: release ver-3.0.1.6 by @wenzhouwww in #17913
- build: release ver-3.0.1.6 by @wenzhouwww in #17912
- docs: correct cfgdir param meaning for3.0 by @sangshuduo in #17881
- test:add parameter for mixed deployed mnodes in testcase framework by @tomchon in #17888
- fix: adjust log by @guanshengliang in #17910
- refactor(sync): optimize advance commit index when one replica by @castermode in #17915
- fix: invalid read of tsdb path by @kailixu in #17843
- enh: add show rewrite mask in query msg by @dapan1121 in #17877
- fix: fix catalog double free issue by @dapan1121 in #17909
- fix: fix interval query memory leak by @dapan1121 in #17899
- fix: taosbenchmark query interval unit by @sangshuduo in #17847
- fix: fix memory leak by @glzhao89 in #17901
- fix: coverity issues by @guanshengliang in #17917
- fix: examples/go/taosdemo.go by @sangshuduo in #17922
- refactor: do some internal refactor. by @hjxilinx in #17908
- fix(query): fix countAlwaysReturnValue param not taking effect for count and hyperloglog by @glzhao89 in #17876
- chore: update taosws to v0.3.8 by @zitsen in #17921
- test:modify testcase for taosdShell by @tomchon in #17924
- refactor: do some internal refactor. by @hjxilinx in #17919
- test:refact unsuccessful case by @tomchon in #17925
- test:update test case for delete by @jiacy-jcy in #17858
- enh: add req_id interface by @yihaoDeng in #17887
- enh(query): add cache for table meta entry in table scan. by @hjxilinx in #17926
- enh: support grant check in vnode query by @dapan1121 in #17930
- fix(sync): when apply queue not empty, can not read by @castermode in #17931
- enh: insert optimize by @xiao-yu-wang in #17920
- perf: optimize block data operation by @hzcheng in #17933
- refactor(sync): delete assert, add error log by @castermode in #17940
- refact: adj...
2.6.0.30
Release Notes
from:release/ver-2.6.0.28
to:release/ver-2.6.0.30
FIX BUGS:
fix: fixed three problems about corrupted wal would be repaired (#17904)
fix: taosbenchmark query concurrent segfault for 2.6 (#17796)
fix(taosAdapter): fix cors config (#910)
fix: last function optimize error (#17747)
ENHANCEMENTS:
fix: show result format (#17949)
fix: taosbenchmark query interval unit (#17879)
feat: taosbenchmark support query fails then continue for 2.6 (#17981)
feat(schemaless): support escape character back-slash tab and back-slash return (#17776)
3.0.1.6
Enhancements:
- TSMA can handle historical and out-of-order data
- Performance optimization in a lot of querying scenarios on a super table: last_row(), last(), cound(*), avg(), max(), min(), limit
- Security improvement by RPC integrity check
- Optimized error message when client version doesn't match with the server
- Performance improvement for select * from ins_tables
- "show dnode variables" can be used with like clause
- "show cluster variables" can show the cluster level configurations
- "show vgroup" added a new state: restore
- Table length is checked when adding a new column
- Enhanced the atomicity of vnode commit
- Improved stability
Fixed OOM & Crash:
- OOM in case of "select *" from a super table
- taosd crash causedby interp()
- taosd hangs in cloud service
- taosd OOM after long time data writing
- OOM caused by taosc in taosBenchmark and taosAdapter
- Some crashes occurred in case of replica=3
- mnode failed to restart because of corrupted metadata
- taosd crash caused by not deleting the index of deleted tables
- taosd crash caused by last_row()
- taosd crash caused by querying with group by and where condition
- taosd crash caused by querying data from deleted tables
- taosd crash caused by "show create table" on a table of 4,000 columns
- taosd crash caused by count(*)
- taos crash caused by broken network
- taos crash caused by completing the command automatically
- Some other crash problems
Fixed functional bugs:
- last() doesn't return result even though there is data
- Pseudo column _irowts returns zero timestamp
- The number of rows returned by count(*) is larger than actual data size by one
- "show create database" doesn't show cachesize parameter
- Wrong result returned by apercentile()
- Reesults are different when querying with "group by" and "where" on same tag
- Incorrect sequence returned by order by
- Two mnodes are in "candidate" and one is in "leader"