Enhancements:
- Improved stability, especially in case of high system load
- Performance improvement when querying "last() group by tbname"
- Memory usage optimization of data subscription
- Perforamnce improvement for last() and last_row()
- Optimizaed WAL cleanup for mnode
- Performance improvement for spread()
Fixed bugs:
- taosd error caused by data transfering using taosX
- dnode offline during the process of alter replica
- Client hangs after consuming all messages and then restart
- The result of FILL(LINEAR) is not consistent for incoming data and existing data
- Max() returns incorrect result
- Some other bugs
What's Changed
- enh: keep extra raft Logs before minimum match index by @bgzhao66 in #20314
- test: modify tmq test cases by @plum-lihui in #20343
- fix: remove test case has random results by @glzhao89 in #20345
- remove log by @yihaoDeng in #20322
- fix: all columns are invisiable in system table query by @dapan1121 in #20360
- enh: no need to wait for emptying apply queue in syncNodePreClose by @bgzhao66 in #20346
- fix: unit sma and tag index error msg by @yihaoDeng in #20335
- fix(query): fix scalar calculation crash in stream when input rows is 0 by @glzhao89 in #20341
- fix:fill history check update by @54liuyao in #20344
- fix: cus prompt length lead hang by @sangshuduo in #20371
- fix:add error log by @wangmm0220 in #20375
- fix: taosbenchmark socket close properly for main by @sangshuduo in #20365
- feat: alter stt trigger and min rows by @hzcheng in #20367
- fix:[TS-2828] retry if ver is old by @wangmm0220 in #20376
- fix:get dest table version by @54liuyao in #20373
- fix: TIMETRUNCATE with 1d return unexpected result by @huskar-t in #20363
- enh: optimize last/last_row cost when the cache was first loaded by @xiao-yu-wang in #20372
- enh: add user err code by @yihaoDeng in #20381
- fix:add log by @wangmm0220 in #20383
- enh: optimize last/last_row cost when the cache was first loaded by @xiao-yu-wang in #20387
- add user err code by @yihaoDeng in #20390
- ci:Specify the version of the python connector by @tomchon in #20407
- ci:Specify the version of the python connector by @tomchon in #20408
- enh: optimize snapshot transfer by @hzcheng in #20398
- fix: invalid topic query by @xiao-yu-wang in #20403
- fix: error in last cache handle deleted data by @xiao-yu-wang in #20401
- fix: taosbenchmark sub on 2.6 for main by @sangshuduo in #20409
- fix: taos-tools gcc 12 compile for main by @sangshuduo in #20425
- Add the Chinese version of CODE_OF_CONDUCT.md by @LookSin in #18572
- change tag index case by @yihaoDeng in #20416
- feat: correct slimit&limit clause by @dapan1121 in #20414
- fix:add log for taosx by @wangmm0220 in #20445
- fix: add version to udfd conn req by @shenglian-zhou in #20443
- enh: adjust the error msgs of sync not leader and sync is restoring by @bgzhao66 in #20442
- fix:deal with ASSERT in tmq by @wangmm0220 in #20418
- enh: not allow to propose if fsm applying progress lagging behind too far by @bgzhao66 in #20413
- fix(query): remove assert by @glzhao89 in #20396
- fix:auto fill null column by @54liuyao in #20412
- ci: add successful log by @tomchon in #20417
- Update index.md by @changxiaoqiang in #20436
- fix: last redundant read stt file by @xiao-yu-wang in #20427
- Feature/xsren/win install error base main by @facetosea in #20450
- chore: support cus name by @sangshuduo in #20441
- fix(tmq): fix some race condition and do some internal refactor. by @hjxilinx in #20422
- fix:create same sub table by @54liuyao in #20467
- fix: fix table count operator groupId issue by @dapan1121 in #20463
- fix:source task needs to wait && stream state window does not handle null by @54liuyao in #20464
- fix:use table suid in taosx to avoid suid is not same for using suid by @wangmm0220 in #20460
- fix: fix coverity scan by @54liuyao in #20451
- fix: return err msg while db is creating by @yihaoDeng in #20280
- test: update requirements by @AdamEECS in #20470
- fix(query): set the correct cached tags list key length, and update s… by @hjxilinx in #20472
- fix: alter minrows doesn't take effect by @guanshengliang in #20471
- enh(tsdb/cache): skip invalid datablock directly when traversing fs with last by @stephenkgu in #20476
- test:reduce to 1000 rowNumbers per tables in testcases by @tomchon in #20462
- fix(tmq): disable non-leader vnode responsing the poll request. by @hjxilinx in #20490
- ehn(tsdb/cache): load necessary columns only by @stephenkgu in #20493
- fix(query): invalid write when query of ins_columns by @kailixu in #20485
- fix(tmq): adjust the time out value check. by @hjxilinx in #20495
- feat: taosbenchmark support creating table interval for main by @sangshuduo in #20482
- test:fix that timestamps can be validated correctly in testcase by @tomchon in #20487
- fix(tmq): release the tmq properly, and add some logs for subscription. by @hjxilinx in #20496
- fix(client): set the initial value for num_of_rows. by @hjxilinx in #20502
- ehn(tsdb/cache): skip invalid row or data block directly with merge tree by @stephenkgu in #20505
- fix: modify minrows/maxrows range and add cases by @dapan1121 in #20488
- fix: taosbenchmark query times incorrect for main by @sangshuduo in #20507
- fix: order by error info by @dapan1121 in #20515
- enh: optimize count(1) performance by @dapan1121 in #20509
- fix: add sma load time by @dapan1121 in #20516
- fix: client invalid write issue by @dapan1121 in #20512
- test: add case for TS-2687 wide column by @DuanKuanJun in #20494
- fix: truncate of server version by @kailixu in #20522
- fix(query): do not update ts window at exchange operator. by @glzhao89 in #20526
- fix(tsdb/cache): update nCols of merge tree to avoid assert failed by @stephenkgu in #20539
- enh: optimize last pruning logic by @xiao-yu-wang in #20542
- fix: improve taos shell user experience for connecting cloud by @sangshuduo in #20528
- enh: optimize last pruning logic by @xiao-yu-wang in #20543
- Revert "fix(query): invalid write when query of ins_columns" by @kailixu in #20537
- test: assert check tools by @DuanKuanJun in #20536
- test:add failed connection of client and server by @tomchon in #20535
- test:add tsbs query sql by @tomchon in #20547
- fix:converity scan defects by @wangmm0220 in #20513
- fix(client): fix potential memory leak. by @hjxilinx in #20508
- fix: add retry if insert error with meta change by @wangmm0220 in #20554
- chore: fix script to get latest tag by @sangshuduo in #20566
- fix(tmq): diable commit when close conumer if auto commit is disabled. by @hjxilinx in #20555
- enhance: mac add taoskeeper service by @xleili in #20564
- fix: select ins_columns from stb/tb by @kailixu in #20561
- fix: set grant cluster info by @kailixu in #20557
- test:add test case by @jiacy-jcy in #20531
- fix: testpackage.sh install taostools script name by @xleili in #20578
- ci: enable Jemalloc in compilation by @tomchon in #20577
- fix:create same table use writemetadata interface by @wangmm0220 in #20574
- release: upgrdate default version to 3.0.3.1 by @xleili in #20581
- fix: stable with order by query limit issue by @dapan1121 in #20582
- enh: optimize table merge scan performance by @dapan1121 in #20576
- test: update coverage script by @xiaopingcs in #20594
- fix: union all translate issue by @dapan1121 in #20591
- fix: restore removed code by @dapan1121 in #20601
- fix: slimit not work issue by @dapan1121 in #20595
- fix:[TS-2961] consume error change from snapshot to wal for taosx by @wangmm0220 in #20604
- test: reopen tmqDelete-1ctb.py by @plum-lihui in #20352
- fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose by @bgzhao66 in #20598
- fix(tdb/restore): rollback journal files backward by @stephenkgu in #20608
- Fix/td 23189 by @stephenkgu in #20585
- chore(deps): bump spring-core from 5.3.20 to 5.3.26 in /examples/JDBC/taosdemo by @dependabot in #20610
- test: add tools to detect the validity of ASSERT by @DuanKuanJun in #20573
- fix: taosbenchmark support same min/max for main by @sangshuduo in #20621
- fix(tmq): wait for 2mins when subscribe topics. by @hjxilinx in #20628
- fix: query ins_table with table_name = '' results in db error by @shenglian-zhou in #20606
- fix: change float display mode by @dapan1121 in #20618
- fix:reset parameter ignoreExpried for fill history by @54liuyao in #20620
- fix: modify stream fill linear by @54liuyao in #20625
- fix:add combine function for groupKey by @54liuyao in #20605
- fix:scan of fill history ended prematurely by @54liuyao in #20527
- fix:send data batch if consume wal where subscribe db by @wangmm0220 in #20627
- fix: recorect ci buildPath by @tomchon in #20635
- fix: enterprise version displays the associated community version gitinfo by @xiao-yu-wang in #20643
- fix: create stream does not support event_window by @xiao-yu-wang in #20656
- fix: taosbenchmark codacy complain for main by @sangshuduo in #20647
- enh: disable timely vnodeCommit by @bgzhao66 in #20613
- fix: fix cfg load enviroment variables crash when environ is NULL by @glzhao89 in #20653
- fix:add test case for raw_block interface by @wangmm0220 in #20642
- fix(tmq): kill the ongoing tsdb scans while transferring the ownership of vnode to other consumers. by @hjxilinx in #20666
- refactor: do some internal refactor. by @hjxilinx in #20670
- fix: taosToolsInstallDir if condition order by @xleili in #20665
- fix(query): spread/elapsed using sma result for computation by @glzhao89 in #20668
- fix: post script add jemalloc by @sangshuduo in #20672
- refactor: do some internal refactor. by @hjxilinx in #20673
- fix:add combine function for last row by @54liuyao in #20649
- fix:[TD-23339] parse block error by @wangmm0220 in #20677
- feat:coverity scan by @54liuyao in #20658
- enh: separate sync read and write by @bgzhao66 in #20678
- fix: telnet_tcp and sml_json_all_types for main by @sangshuduo in #20661
- fix: query schema is old issue by @dapan1121 in #20674
- fix(query): allow only one trans to be execute for each balance, and do some other refactor. by @hjxilinx in #20679
- fix: hotfix version compatibility by @xiao-yu-wang in #20683
- fix(tsdb/read): use correct scheme for mem & imem merging by @stephenkgu in #20686
- test: refine query cases by @happyguoxy in #20693
- fix: tag copy issue by @dapan1121 in #20697
- fix: add more column update cases by @dapan1121 in #20703
- fix:add assert for debug by @wangmm0220 in #20699
- fix: join before interval by @shenglian-zhou in #20698
- fix(stream):fix the race condition when creating new tables. by @hjxilinx in #20691
- Test/td 22592 by @happyguoxy in #20702
- fix: error in determining whether last(t.*) is a selection function by @xiao-yu-wang in #20685
- enh: optimize count performance by @dapan1121 in #20690
- Lihui3.0/test by @plum-lihui in #20706
- fix: add filter to exchange node for union-all subquery by @shenglian-zhou in #20708
- chore: update taos-tools d194dc9 for main by @sangshuduo in #20713
- fix: join query invalid time input issue by @dapan1121 in #20714
- fix(query): fix group_key is processed in selectivity twice by @glzhao89 in #20715
- enh(taosAdapter): TMQ parameter adjustment by @huskar-t in #20710
- fix:state window return wrong block type by @54liuyao in #20707
- fix:int64 parse error in schemaless by @wangmm0220 in #20717
- opti:disable set enable.heartbeat.background by @wangmm0220 in #20700
- fix:[TS-3038] coredump if nchar data not clear SColVal in schemaless by @wangmm0220 in #20719
- fix: task context not exists issue by @dapan1121 in #20725
- fix(tmq): build sync api on top of async APIs. by @hjxilinx in #20722
- fix: error in optimizing useless columns for multi-level set operators by @xiao-yu-wang in #20724
- enh: convert the month and year in interval-offset to a database precision duration by @xiao-yu-wang in #20733
- Feature/3 liaohj by @hjxilinx in #20730
- fix: taosbenchmark multithreads with limit for main by @sangshuduo in #20744
- enh: last_row is keep order function by @xiao-yu-wang in #20747
- fix coverity scan problem by @yihaoDeng in #20519
- fix(query): fix interp tsdbReader external range not setting properly by @glzhao89 in #20739
- ehn(plan/optimizer): remove tbname fetching with cached groupby by @stephenkgu in #20748
- fix: aovid conn leak by @yihaoDeng in #20749
- fix: add stmt error handling by @dapan1121 in #20750
New Contributors
Full Changelog: ver-3.0.3.0...ver-3.0.3.2