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