Commit Graph

17622 Commits

Author SHA1 Message Date
shenglian zhou f72c875a02 fix: taos_fetch_row returns null and log the error when the argument is invalid 2022-11-03 07:55:47 +08:00
Haojun Liao fc20be8699 fix(query): get if the correct rows in last block exists, and set the correct flag to denote if the last blocks index have been loaded or not. 2022-11-02 22:27:23 +08:00
Shengliang Guan 794bca7974
Merge pull request #17848 from taosdata/fix/handleTcpExcept
fix: handle tcp except
2022-11-02 21:57:46 +08:00
Shengliang Guan 0d60817268
Merge pull request #17837 from taosdata/feature/3.0_mhli
refactor(sync): add pre snapshot
2022-11-02 21:11:22 +08:00
yihaoDeng fd3ece836a fix invalid copy 2022-11-02 21:05:53 +08:00
yihaoDeng ff16c4368f handle tcp except 2022-11-02 20:12:03 +08:00
Shengliang Guan b98e3f343d fix: status access time error 2022-11-02 18:57:38 +08:00
Shengliang Guan 1bae78464c
Merge pull request #17842 from taosdata/fix/TD-20128
fix: failed to read sdb while udf larger then 10M
2022-11-02 18:37:59 +08:00
dapan1121 2779fe56a7 fix: fix auto create table issue in stmt 2022-11-02 18:34:25 +08:00
dapan1121 079704599c
Merge pull request #17840 from taosdata/feature/TD-19844
fix(function):if data is null, apercentile function should return null
2022-11-02 17:57:09 +08:00
dapan1121 83fc35c8ee
Merge pull request #17841 from taosdata/fix/TS-1965-new
fix: fix reverse table scan when checking if block from file overlap with skyline deletion result error
2022-11-02 17:56:09 +08:00
Shengliang Guan 5625ea9f2a fix: failed to read sdb while udf larger then 10M 2022-11-02 17:09:53 +08:00
Shengliang Guan f2e1bd55d3 fix: failed to read sdb while udf larger then 10M 2022-11-02 17:08:15 +08:00
Ganlin Zhao 215257f7f1 fix: fix reverse table scan when checking if block from file overlap
with skyline deletion result error
2022-11-02 16:58:36 +08:00
Shengliang Guan f0ebaaadeb
Merge pull request #17835 from taosdata/fix/TD-20127
refact: adjust error code in vnode
2022-11-02 16:42:04 +08:00
54liuyao 43918a27f9 fix(function):if data is null, apercentile function should return null 2022-11-02 16:37:23 +08:00
Shengliang Guan 77a6cf503e
Merge pull request #17824 from taosdata/FIX/TS-1984-3.0
fix: set firstTrial as false if error encountered in loop of walScanLogGetLastVer
2022-11-02 15:49:48 +08:00
Shengliang Guan 5276b72e46
Merge pull request #17826 from taosdata/fix/TD-20116
fix: address sanitizer divide by zero error
2022-11-02 15:44:21 +08:00
Minghao Li 70aff8451f refactor(sync): add pre snapshot 2022-11-02 15:38:30 +08:00
Shengliang Guan b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00
Minghao Li f7191d2ffd refactor(sync): add pre snapshot 2022-11-02 15:25:14 +08:00
dapan1121 ecfcf7054c enh: optimize submit response msg 2022-11-02 15:18:32 +08:00
Haojun Liao ecad94c419 fix(query): add one more check. 2022-11-02 14:59:34 +08:00
Haojun Liao f83b863cf9 fix(query): update the lastkey for each table during table scanning. 2022-11-02 14:36:00 +08:00
Shengliang Guan 801ae02d0a
Merge pull request #17830 from taosdata/fix/TD-20095
fix: add dnode status log
2022-11-02 13:30:04 +08:00
Shengliang Guan 59ae60f223
Merge pull request #17827 from taosdata/fix/sync
fix(sync): delete assert
2022-11-02 13:29:56 +08:00
Shengliang Guan 8009259270
Merge pull request #17829 from taosdata/fix/TD-20117
fix: set output value to null if zero-length
2022-11-02 13:29:28 +08:00
Shengliang Guan 21748defea Merge remote-tracking branch 'origin/3.0' into fix/TD-20095 2022-11-02 11:49:34 +08:00
Shengliang Guan 00c37cf1b8 Merge remote-tracking branch 'origin/fix/sync' into fix/TD-20095 2022-11-02 11:49:27 +08:00
Minglei Jin 451b6a451d fix: set output value to null if zero-length 2022-11-02 11:47:58 +08:00
Minghao Li dccbe25aa9 fix(sync): delete assert 2022-11-02 11:24:42 +08:00
Shengliang Guan b2e3c7800f
Merge pull request #17813 from taosdata/feature/3_liaohj
fix(query): optimize the performance of tsdbread.
2022-11-02 11:23:29 +08:00
Shengliang Guan 17e3c59aeb fix: add dnode status log 2022-11-02 11:21:13 +08:00
Ganlin Zhao 6667f69146 fix address sanitizer divide by zero error
TD-20116
2022-11-02 10:27:00 +08:00
Shengliang Guan 1c77d5381a Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-02 10:26:19 +08:00
Shengliang Guan 7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
benguang.zhao 8a5130a88d fix: set firstTrial as false if error encountered in loop of walScanLogGetLastVer 2022-11-02 10:21:40 +08:00
yihaoDeng 7fba18bbbd merge 2022-11-02 09:50:55 +08:00
Haojun Liao c3ece576f2 Merge branch '3.0' into feature/3_liaohj 2022-11-02 09:13:13 +08:00
Shengliang Guan c4d59126d7
Merge pull request #17805 from taosdata/szhou/fixbugs
fix: fix address sanitizer error
2022-11-02 09:09:32 +08:00
dapan1121 c19a915ec3
Merge pull request #17809 from taosdata/feature/TD-20100
fix(executor): Batch Partition Operator memory leak
2022-11-02 09:07:32 +08:00
Shengliang Guan 15308ad140
Merge pull request #17820 from taosdata/fix/msg_compat
fix(vnode): ignore unhandled msg
2022-11-02 08:37:08 +08:00
Haojun Liao 698ae90e5b fix(query): set correct value in hash map reset. 2022-11-01 23:37:51 +08:00
yihaoDeng 12be1a8b22 merge 2022-11-01 21:47:58 +08:00
Haojun Liao b610b23981 fix(query): check for null value. 2022-11-01 21:47:12 +08:00
Liu Jicong a0910c87f7 fix(vnode): ignore unhandled msg 2022-11-01 21:23:50 +08:00
Shengliang Guan a2abb3a411
Merge pull request #17817 from taosdata/fix/msg_compat
fix: msg compatibility
2022-11-01 21:10:46 +08:00
Shengliang Guan cec6642700
Merge pull request #17811 from taosdata/feature/stream
fix(tmq): handle adding subtable for subscribing stb
2022-11-01 21:09:43 +08:00
Shengliang Guan fee43064f7
Merge pull request #17812 from taosdata/fix/TD-20052
enh: refact sync callback func
2022-11-01 21:09:00 +08:00
Liu Jicong 411373a7c5 fix: msg compatibility 2022-11-01 20:02:17 +08:00
Shengliang Guan 0578d034bc
Merge pull request #17810 from taosdata/fix/TD-20028
fix: remove last stt load info resetting from fs iterator
2022-11-01 19:36:12 +08:00
Liu Jicong f0a66602da fix(taosx): set version 2022-11-01 19:28:42 +08:00
yihaoDeng f8695563f0 fix TD-19686 2022-11-01 19:27:35 +08:00
yihaoDeng fafdfc73ca fix TD-19686 2022-11-01 19:13:07 +08:00
Shengliang Guan 871757240a
Merge pull request #17777 from taosdata/FIX/TS-1984-3.0
fix: fsync wal files and meta if data size not synced yet beyond a threshold
2022-11-01 18:53:10 +08:00
Haojun Liao 026b82145e Merge branch '3.0' into feature/3_liaohj 2022-11-01 18:49:51 +08:00
Haojun Liao 68db9b1cc9 fix(query): optimize the performance of tsdbread. 2022-11-01 18:48:57 +08:00
Shengliang Guan df2c443a80
Merge pull request #17807 from taosdata/fix/TD-20097
fix: wrong cpu usage
2022-11-01 18:35:28 +08:00
Shengliang Guan 64633e3dbb enh: refact syncMsg code 2022-11-01 18:34:09 +08:00
Liu Jicong 60bb2c18dc Merge branch '3.0' into feature/stream 2022-11-01 18:19:15 +08:00
Liu Jicong 94e7c79ca0 fix(tmq): handle adding subtable for subscribing stb 2022-11-01 18:18:26 +08:00
benguang.zhao 4e46b78aa0 fix: update info of WAL entry found within loop in walScanLogGetLastVer 2022-11-01 17:56:24 +08:00
Minglei Jin a5052eb2d5 fix: remove last stt load info resetting from fs iterator 2022-11-01 17:29:18 +08:00
benguang.zhao 3c1c95c5e6 enh: turn error on WAL data size to recover exceeding a limit as warn 2022-11-01 17:26:31 +08:00
54liuyao a1c4572ad8 fix(executor): Batch Partition Operator memory leak 2022-11-01 17:25:05 +08:00
benguang.zhao 4237cafb21 enh: rename walRecoverSizeLimit to walFsyncDataSizeLimit 2022-11-01 17:19:33 +08:00
Shengliang Guan ee63b49800 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-01 17:11:27 +08:00
Shengliang Guan d53ab62f00
Merge pull request #17797 from taosdata/fix/td_19618
fix: invalid read problem of tsdb path
2022-11-01 16:46:58 +08:00
Shengliang Guan 18f7d658d9
Merge pull request #17804 from taosdata/feature/3_liaohj
refactor: add some logs.
2022-11-01 16:46:24 +08:00
Shengliang Guan a71dbd83d2
Merge pull request #17803 from taosdata/fix/TD-20052
enh: refact syncMsg code
2022-11-01 16:45:56 +08:00
Shengliang Guan 92b1c12330 fix: wrong cpu usage 2022-11-01 16:38:52 +08:00
Shengliang Guan 68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Shengliang Guan d35028ae4a enh: refact sync callback func 2022-11-01 16:10:07 +08:00
dapan1121 8f95861d61
Merge pull request #17793 from taosdata/fix/TD-19891
fix(query): leastsquares handles unsigned types
2022-11-01 15:54:35 +08:00
benguang.zhao ffa6906a9f Merge branch 'FIX/TS-1984-3.0' of github.com:taosdata/TDengine into FIX/TS-1984-3.0 2022-11-01 15:52:25 +08:00
Liu Jicong 92804d317e Merge branch '3.0' into feature/stream 2022-11-01 15:47:37 +08:00
Shengliang Guan 7a532284e7
Merge pull request #17784 from taosdata/fix/liao_cov
enh(query): improve the aggregate performance.
2022-11-01 15:41:03 +08:00
Shengliang Guan f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
benguang.zhao 6907e3dfe3 enh: scan forward step by step in walScanLogGetLastVer 2022-11-01 15:25:18 +08:00
Minghao Li 59448cd18e refactor(sync): pre snapshot on message 2022-11-01 15:20:08 +08:00
Cary Xu 872085bef4 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 15:18:26 +08:00
Shengliang Guan 2791f6260a
Merge pull request #17794 from taosdata/fix/3.0_bugfix_wxy
fix: drop index error
2022-11-01 15:03:21 +08:00
slzhou 1c90e272c3 fix: uv_get_osenv set length only when no buf 2022-11-01 15:00:13 +08:00
Haojun Liao cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
slzhou ad8bc4c687 fix: fix address sanitizer error 2022-11-01 14:55:04 +08:00
Cary Xu 65943b3712 chore: revert the code change 2022-11-01 14:51:37 +08:00
Shengliang Guan a031010a9e
Merge pull request #17721 from taosdata/FIX/TD-19673-3.0
enh: check completeness of WAL log entries after repairing
2022-11-01 13:59:34 +08:00
Shengliang Guan e79e50ae36 enh: refact syncMsg code 2022-11-01 13:58:25 +08:00
Haojun Liao b78249c548 other: merge 3.0 2022-11-01 13:52:08 +08:00
Haojun Liao 83495ed5d3 fix(query): set the correct buffer to accommodate the tag values. 2022-11-01 13:49:02 +08:00
dapan1121 801d65cb9a
Merge pull request #17789 from taosdata/fix/TD-20027-D
fix(query): set search key according to order
2022-11-01 13:48:19 +08:00
Shuduo Sang 7a8c2efbc3
fix: add jemalloc as build dependency of taosd, udf and shell (#17785)
* fix: jemalloc compile error

* fix: jemalloc compile error

* fix: add jemalloc as dependency of taosd and udf

Co-authored-by: afwerar <1296468573@qq.com>
2022-11-01 13:44:04 +08:00
Liu Jicong 5ff701ef1d fix(query):reset tsdb reader 2022-11-01 13:35:23 +08:00
Xiaoyu Wang 1b179f65b2 fix: interp _irowts error 2022-11-01 13:34:10 +08:00
dapan1121 bb4acf21b4
Merge pull request #17799 from taosdata/enh/TD-20040
enh: support get meta only from cache
2022-11-01 13:27:11 +08:00
Liu Jicong 8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Liu Jicong 5e253cc8ea refactor(stream): fill history 2022-11-01 11:56:14 +08:00
Minghao Li 21d60cb5be refactor(sync): pre snapshot on message 2022-11-01 11:46:29 +08:00
Cary Xu 0b6d117121 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 11:44:17 +08:00
dapan1121 973a942d0f enh: support get meta only from cache 2022-11-01 11:43:40 +08:00
Xiaoyu Wang 6547dbd2a7 fix: interp _irowts error 2022-11-01 11:30:44 +08:00
Minghao Li fd07a611a9 refactor(sync): add some log 2022-11-01 11:30:40 +08:00
Shengliang Guan 2990a127cb enh: add config for persist wal at the beginning of vnodeCommit 2022-11-01 11:29:02 +08:00
Shengliang Guan a2d11e0fdb enh: add config for persist wal at the beginning of vnodeCommit 2022-11-01 11:27:28 +08:00
Minghao Li 3fbb51346b refactor(sync): modify syncEnvTest 2022-11-01 10:52:25 +08:00
Cary Xu 9f14c599f2 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 10:49:27 +08:00
Minghao Li 094c14e272 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-11-01 10:47:42 +08:00
Minghao Li 69af9556db refactor(sync): add PreSnapshotReply 2022-11-01 10:47:19 +08:00
Shengliang Guan 1724aa5638
Merge pull request #17779 from taosdata/fix/sync
refactor(sync): check msgcb, putToQueueFp NULL
2022-11-01 10:43:56 +08:00
Shengliang Guan 26778f29da enh: add config for persist wal at the beginning of vnodeCommit 2022-11-01 10:42:13 +08:00
Shengliang Guan 4137b3dd06
Merge pull request #17792 from taosdata/fix/TD-20052
refact: adjust syncEnv code
2022-11-01 10:30:03 +08:00
Minghao Li 981461ea46 refactor(sync): add PreSnapshotTest 2022-11-01 10:25:31 +08:00
Cary Xu 2e950c6696 chore: comment out tfs_test and dbTest 2022-11-01 10:06:09 +08:00
dapan1121 8803240766
Merge pull request #17781 from taosdata/szhou/fixbugs
enhance: add configuration for udfd LD_LIBRARY_PATH to taos.cfg
2022-11-01 10:05:35 +08:00
dapan1121 94ae554445
Merge pull request #17757 from taosdata/opt/httpModule
enh: opt http module
2022-11-01 10:05:06 +08:00
Cary Xu 64f07523e2 Merge branch '3.0' into fix/td_19618 2022-11-01 10:02:45 +08:00
Xiaoyu Wang be467a10c7 fix: drop index error 2022-11-01 09:36:33 +08:00
dapan1121 bfdecae3bd
Merge pull request #17786 from taosdata/feature/TD-19975
fix(stream): scalar stream update data
2022-11-01 09:17:37 +08:00
Haojun Liao e533794cb7 Merge branch '3.0' into fix/liao_cov 2022-11-01 09:08:46 +08:00
Shengliang Guan fbb1fa5303 enh: refact syncEnv code 2022-11-01 09:02:48 +08:00
slzhou b02e2ff9a4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-01 08:59:15 +08:00
slzhou 4356fbc3c5 fix: error of setting ld_library_path 2022-11-01 08:58:52 +08:00
benguang.zhao 07db554fab enh: persist wal at the beginning of vnodeCommit 2022-11-01 00:00:18 +08:00
benguang.zhao cccfa17027 fix: fsync wal files and their meta if data size unsynced exceeds a limit 2022-10-31 23:58:49 +08:00
Shengliang Guan 91abd170e3 enh: refact syncEnv code 2022-10-31 23:45:17 +08:00
Shengliang Guan 9bc48e2658 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-10-31 23:42:03 +08:00
Shengliang Guan 392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Shengliang Guan 1c446b1bf4 Merge branch '3.0' into fix/sync 2022-10-31 23:30:24 +08:00
Shengliang Guan e817e649c6
Merge pull request #17788 from taosdata/enh/TD-19090
enh: force drop dnode
2022-10-31 23:27:54 +08:00
Haojun Liao c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
Shengliang Guan 26f1e64f2a enh: force drop dnode 2022-10-31 21:33:06 +08:00
benguang.zhao 9652029121 fix: update testcases of walRollback in walMetaTest.cpp 2022-10-31 21:08:54 +08:00
benguang.zhao 1d0eae197d fix: not allow to rollback WAL across snapshot point 2022-10-31 21:06:23 +08:00
Shengliang Guan 8cdbcb89f5
Merge pull request #17762 from taosdata/fix/memReturn
enh: return mem to os
2022-10-31 20:12:22 +08:00
Shengliang Guan a0c7b7d512
Merge pull request #17772 from taosdata/feature/TD-19893
fix(planner):add semantic check
2022-10-31 20:08:21 +08:00
Shengliang Guan f32d347bb8
Merge pull request #17778 from taosdata/feature/3.0_mhli
refactor(sync): add sync local cmd, step down
2022-10-31 20:05:01 +08:00
Cary Xu 8a5f94d35c fix: set search key according to order 2022-10-31 20:03:21 +08:00
Shengliang Guan 1ad604a5f9 enh: force drop dnode 2022-10-31 19:57:27 +08:00
Haojun Liao 1fd3ad502a fix(query): ensure the capacity before loading tags value. 2022-10-31 19:01:28 +08:00
yihaoDeng d21d88becc opt http module 2022-10-31 18:50:19 +08:00
yihaoDeng 06c06d290f opt http module 2022-10-31 18:45:10 +08:00
Liu Jicong 2e640c38a2 refactor: stream and tmq message 2022-10-31 18:37:28 +08:00
54liuyao b8e451d272 fix(stream): scalar stream update data 2022-10-31 18:33:30 +08:00
Minghao Li d246514da2 refactor(sync): check msgcb, putToQueueFp NULL 2022-10-31 18:16:58 +08:00
Hui Li 5202ccfbba
Merge pull request #17780 from taosdata/feature/3_liaohj
fix(query): set correct error code.
2022-10-31 18:05:48 +08:00
Haojun Liao f29127a15e ehn(query): do some internal refactor. 2022-10-31 18:04:58 +08:00
Haojun Liao 1fa5eafa8a ehn(query): keep the time window for each block to avoid repeatly parsing the compressed data block meta info. 2022-10-31 17:49:50 +08:00
Shengliang Guan 7ddde569a0 enh: force drop dnode 2022-10-31 17:29:24 +08:00
Haojun Liao fac516a196 refactor: do some internal refactor. 2022-10-31 17:20:27 +08:00
Haojun Liao 9703ab510b enh(query): avoid parse the mapdata to improve the performance by keep the offset of each block. 2022-10-31 17:19:15 +08:00
slzhou aa2b54c57c enhance: add configuration for udfd LD_LIBRARY_PATH to taos.cfg 2022-10-31 16:45:39 +08:00
Haojun Liao 08c2b3ff05 fix(query): set correct error code. 2022-10-31 16:40:03 +08:00
Minghao Li 6b74412994 refactor(sync): print fatal log when commit error 2022-10-31 16:30:42 +08:00
54liuyao f1e3e0892a fix(planner):add semantic check 2022-10-31 16:17:53 +08:00
Minghao Li 77ba900776 refactor(sync): add sync local cmd, step down 2022-10-31 16:12:40 +08:00
Haojun Liao ba37a58192 enh(query): reduce the number of malloc. 2022-10-31 15:39:16 +08:00
Haojun Liao f38e9664f9 other:merge 3.0 2022-10-31 15:32:48 +08:00
Ganlin Zhao 63aa6f7a47 fix(query): leastsquares handles unsigned types
TD-19891
2022-10-31 15:20:20 +08:00
Haojun Liao 79bb5f8293
Merge pull request #17767 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-10-31 15:16:41 +08:00
Haojun Liao 7135f35b21 refactor: do some internal refactor. 2022-10-31 15:06:51 +08:00
Haojun Liao a1db402500 refactor: do some internal refactor. 2022-10-31 14:38:01 +08:00
Haojun Liao adf085ab46 refactor: do some internal refactor. 2022-10-31 14:17:57 +08:00
Minghao Li 0b20b914bb refactor(sync): add sync local cmd 2022-10-31 14:17:26 +08:00
Haojun Liao c11ed48937 Merge branch 'fix/liao_cov' of github.com:taosdata/tdengine into fix/liao_cov 2022-10-31 14:00:31 +08:00
yihaoDeng 8831f386e6 opt http module 2022-10-31 11:57:58 +08:00
Haojun Liao c4f4e008d0 fix(query): add null ptr check. 2022-10-31 11:53:35 +08:00
Haojun Liao 79ea4c2c79 fix(query): add null ptr check. 2022-10-31 11:43:00 +08:00
Haojun Liao f790d91b45 fix(query): check null before free resource, and some internal refactor. 2022-10-31 10:41:25 +08:00
Xiaoyu Wang ae4354c277 enh: add sql command 'drop dnode id force' 2022-10-31 10:30:54 +08:00
Haojun Liao 864e2c60a7 fix(query): invoke the different api for extract queried table list. 2022-10-31 09:48:23 +08:00
yihaoDeng 55509833db cron trim 2022-10-31 09:23:33 +08:00
Haojun Liao a3ed903dfd refactor: do some internal refactor. 2022-10-30 22:26:11 +08:00
Haojun Liao 46a6d9ab99 refactor: do some internal refactor. 2022-10-30 22:23:27 +08:00
Haojun Liao f990ceab6e refactor: do some internal refactor. 2022-10-30 22:13:49 +08:00
Shengliang Guan 380287ae94
Merge pull request #17754 from taosdata/fix/rmIdxLog
fix: rm log
2022-10-30 19:54:01 +08:00
Shengliang Guan 9cff1b96e1
Merge pull request #17764 from taosdata/fix/TD-19254-D
fix: coverity scan problem for trow
2022-10-30 17:42:02 +08:00
Shengliang Guan c79b058a07
Merge pull request #17761 from taosdata/fix/TD-19873-D
fix: make test pass when running tfs_test standalone in mac
2022-10-30 17:41:44 +08:00
Shengliang Guan b052766547
Merge pull request #17759 from taosdata/fix/sync
refactor(sync) delete ASSERT
2022-10-30 17:41:31 +08:00
Cary Xu 8e22c89136 fix: coverity scan problem for trow 2022-10-30 12:45:55 +08:00
Haojun Liao 365e6eec80 refactor: do some internal refactor. 2022-10-30 11:29:55 +08:00
Haojun Liao ab2c7c575b Merge branch '3.0' into feature/3_liaohj 2022-10-30 11:18:36 +08:00
Haojun Liao 41c99c02ef refactor: do some internal refactor. 2022-10-30 11:17:07 +08:00
Hui Li 3f94137de6
Merge pull request #17760 from taosdata/fix/TD-19815
fix: add catalog API UT cases
2022-10-30 07:07:12 +08:00
Haojun Liao 2c524cad4a refactor: do some internal refactor. 2022-10-30 03:08:33 +08:00
Haojun Liao 52c3777823 refactor: do some internal refactor. 2022-10-30 03:01:40 +08:00
gccgdb1234 f52000d86e return mem to os 2022-10-29 22:25:40 +08:00
Haojun Liao 4e74782799 refactor: do some internal refactor. 2022-10-29 20:47:14 +08:00
Cary Xu e182637af5 fix: make test pass when running tfs_test standalone in mac 2022-10-29 19:58:44 +08:00
dapan1121 21364c4041 fix: add api ut cases 2022-10-29 18:34:42 +08:00
Haojun Liao 6fc0e1b60d refactor: do some internal refactor. 2022-10-29 18:32:17 +08:00
Haojun Liao afdb1467b7 refactor: do some internal refactor. 2022-10-29 18:27:22 +08:00
Haojun Liao 1886087e7b refactor: do some internal refactor. 2022-10-29 18:17:43 +08:00
Haojun Liao e4de732285 fix(query): always build hash map from uid to keyinfo 2022-10-29 18:15:00 +08:00
Shengliang Guan 24f31b0f72
Merge pull request #17746 from taosdata/feature/3.0_mhli
refactor(sync): adjust elect timer, add some tests
2022-10-29 17:02:19 +08:00
Haojun Liao d583f1fab6 other: merge 3.0 2022-10-29 13:05:35 +08:00
Haojun Liao bae6d824c2 fix(query): init blockscanInfo correctly. 2022-10-29 12:54:39 +08:00
Minghao Li 783a65f827 refactor(sync) delete ASSERT 2022-10-29 10:57:15 +08:00
Haojun Liao 4cd14c4163 fix(query): fix memory leak. 2022-10-29 10:25:14 +08:00
Haojun Liao f9aa286dc1 fix(query): fix syntax error on aarch64 2022-10-29 10:22:02 +08:00
Haojun Liao d7f3ddf2dd fix(query): set correct reader handle. 2022-10-29 10:17:41 +08:00
Shengliang Guan a2a1f5b171
Merge pull request #17748 from taosdata/fix/fixErrorOnMacos
fix: support macos
2022-10-28 23:35:35 +08:00
Haojun Liao 61634070ec other: merge 3.0 2022-10-28 23:23:53 +08:00
yihaoDeng c5fba9ccbd opt http module 2022-10-28 23:17:22 +08:00
yihaoDeng 9322928a57 opt http module 2022-10-28 22:41:25 +08:00
Haojun Liao 307b7e0ac8 other: merge 3.0 2022-10-28 22:27:57 +08:00
Haojun Liao 029a4a85b3 fix(query): support partition by + limit push down. 2022-10-28 22:21:02 +08:00
yihaoDeng 4fdc98d3fb opt http module 2022-10-28 22:15:06 +08:00
Haojun Liao 9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +08:00
Haojun Liao 0035bb1966
Merge branch '3.0' into feature/3_liaohj 2022-10-28 19:43:47 +08:00
Haojun Liao cb0adb0e9b refactor: remove some codes. 2022-10-28 19:40:55 +08:00
Haojun Liao c52dc709f1 refactor: remove some codes. 2022-10-28 19:39:25 +08:00
Haojun Liao 6ff3668ecc refactor: update the log. 2022-10-28 19:38:37 +08:00
Haojun Liao d1097b7c2d other:merge 3.0 2022-10-28 19:37:43 +08:00
Haojun Liao 5b7855eb87 other:merge 3.0 2022-10-28 19:35:31 +08:00
Haojun Liao 335cb6513e other:merge 3.0 2022-10-28 19:32:57 +08:00
yihaoDeng df786f1516 use sys mem 2022-10-28 19:27:06 +08:00
Haojun Liao 9ccf7addb3 other:merge 3.0 2022-10-28 18:46:08 +08:00
yihaoDeng 4a01bc53c7 rm log 2022-10-28 18:29:59 +08:00
Liu Jicong d058475fac
Merge pull request #17750 from taosdata/feature/stream
feat(stream): snode
2022-10-28 18:12:48 +08:00
Haojun Liao 4b2fa43dae
Revert "fix(query): handle partition by in table scan operator" 2022-10-28 18:05:19 +08:00
Haojun Liao d0a7a43e6f other:merge 3.0 2022-10-28 18:02:50 +08:00
Haojun Liao d103581eb8 Merge remote-tracking branch 'origin/fix/liao_cov' into fix/liao_cov 2022-10-28 17:59:20 +08:00
Haojun Liao 6c19e886df fix(query): move the init function for different reader. 2022-10-28 17:58:59 +08:00
Hui Li e59b759e04
Merge pull request #17725 from taosdata/test/TD-19911
teat: supplement  muti-branch for testcase histogram.py
2022-10-28 17:47:04 +08:00
Haojun Liao 8c3b4db944 fix(query): add check for return value. 2022-10-28 17:23:43 +08:00
Shengliang Guan 8a8aa3efea
Merge pull request #17723 from taosdata/enh/optQueryMem
enh: opt query mem
2022-10-28 17:09:17 +08:00
Shengliang Guan afc1bc48bd
Merge pull request #17732 from taosdata/FIX/TS-1977-3.0
fix: use the relative pos during searching in walScanLogGetLastVer
2022-10-28 17:08:56 +08:00
Liu Jicong b26cc9c318 feat(snode) 2022-10-28 17:03:17 +08:00
yihaoDeng 030195e72a support macos 2022-10-28 16:42:58 +08:00
chenhaoran 5fc0e2341e test:supplement muti-branch for query fuction testcase 2022-10-28 16:35:13 +08:00
Shengliang Guan 2664cf2ea6
Merge pull request #17736 from taosdata/fix/TD-19624
fix: split vgroup
2022-10-28 16:16:01 +08:00
Shengliang Guan b9abfd6798
Merge pull request #17742 from taosdata/fix/TD-19845
fix: failed to start unitest in mac
2022-10-28 16:15:16 +08:00
Haojun Liao 3fe3c3d2b7 fix(query): add check for return value. 2022-10-28 16:06:27 +08:00
Minghao Li 438786501b refactor(sync): adjust elect timer ms 2022-10-28 15:31:34 +08:00
Shengliang Guan eb02c0d314
Merge pull request #17738 from taosdata/fix/TD-19963
fix: avoid deadlock
2022-10-28 15:25:52 +08:00
Shengliang Guan 57960661d4 fix: failed to start unitest in mac 2022-10-28 15:24:32 +08:00
Shengliang Guan 820de25e97 fix: failed to recursive mkdir in mac 2022-10-28 14:48:59 +08:00
Haojun Liao 407a3453ca fix(query): set fetch block info. 2022-10-28 14:45:35 +08:00
Shengliang Guan ffdfd39c5e
Merge pull request #17731 from taosdata/fix/TD-19815
fix: add more ut cases and fix issues
2022-10-28 14:24:41 +08:00
yihaoDeng 419e501002 refactor reader 2022-10-28 14:21:00 +08:00
Shengliang Guan 52cef327b2 Merge remote-tracking branch 'origin/3.0' into fix/TD-19963 2022-10-28 13:56:59 +08:00
yihaoDeng 63827f7551 use sys mem 2022-10-28 13:56:55 +08:00
Shengliang Guan 507e135b1f fix: split vgroup 2022-10-28 13:52:00 +08:00
Shengliang Guan 800ff0b957
Merge pull request #17675 from taosdata/fix/3.0_bugfix_wxy
enh: add unit test and delete useless code
2022-10-28 13:29:26 +08:00
Shengliang Guan a67cbc15cd
Merge pull request #17726 from taosdata/feature/stream_ly
fix(stream):tqBuildDeleteReq error
2022-10-28 13:01:06 +08:00
Shengliang Guan ff26385185
Merge pull request #17717 from taosdata/fix/TD-19872
test: improve coverall
2022-10-28 12:40:37 +08:00
Shengliang Guan ab90ce5a05 fix: avoid deadlock 2022-10-28 12:14:49 +08:00
Xiaoyu Wang b7046b568d fix: push down limit 2022-10-28 11:51:43 +08:00
Benguang Zhao fd3a1de904 fix: use the relative pos during searching in walScanLogGetLastVer 2022-10-28 11:47:44 +08:00
dapan1121 ef0648d58e enh: add more ut cases 2022-10-28 11:44:06 +08:00
Shengliang Guan 19ee34c7c2 fix: compile error 2022-10-28 11:35:43 +08:00
54liuyao 7d8a282258 fix(stream):tqBuildDeleteReq error 2022-10-28 11:19:26 +08:00
Xiaoyu Wang 0840e79f90 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-28 10:46:31 +08:00
Xiaoyu Wang e8c0515dce enh: flag of whether the subplan is added as a show statement 2022-10-28 10:46:04 +08:00
Haojun Liao 2c896012df fix(query): check status before add table uid in hash map. and do some other refactor. 2022-10-28 10:43:25 +08:00
Haojun Liao f25387018d
Merge pull request #17724 from taosdata/fix/liao_cov
fix(query): handle the case of the single block in last files.
2022-10-28 10:25:38 +08:00
Shengliang Guan 5101d21551 fix: compile error 2022-10-28 10:17:48 +08:00
Xiaoyu Wang 5da335ff67 fix: push down limit 2022-10-28 09:36:14 +08:00
Liu Jicong 9b1ba10fbc Merge branch '3.0' into feature/stream 2022-10-28 09:18:59 +08:00
Haojun Liao 70c3825ee5 fix(query): remove invalid check. 2022-10-28 09:12:40 +08:00
yihaoDeng f8e0ff86d3 opt mem 2022-10-28 08:48:52 +08:00
yihaoDeng 29dedb5c8c opt mem 2022-10-27 23:18:04 +08:00
Haojun Liao 4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +08:00
yihaoDeng 07d8ece370 opt mem 2022-10-27 22:19:47 +08:00
Haojun Liao e7b59ae56d fix(query): handle the case of the single block in last files. 2022-10-27 21:51:54 +08:00
yihaoDeng 9de0afc8ea opt mem 2022-10-27 21:22:36 +08:00
yihaoDeng 6a978be730 opt mem 2022-10-27 20:38:57 +08:00
dapan1121 b6068fd9d9 enh: add catalog ut cases 2022-10-27 19:33:00 +08:00
Haojun Liao d8102fc8d8 fix(query): fix invalid number of tables check. 2022-10-27 18:58:10 +08:00
Haojun Liao a7ca29c627 other: merge 3.0 2022-10-27 18:04:28 +08:00
Minghao Li d7c866ee12 enh(sync): add test 2022-10-27 17:59:16 +08:00
Shengliang Guan 5240814261 test: improve coverall 2022-10-27 17:45:50 +08:00
Minghao Li 54dfc8cd52 enh(sync): add test 2022-10-27 17:38:33 +08:00
Shengliang Guan 4e190d9702
Merge pull request #17713 from taosdata/enh/TD-19459
test: restore some cases
2022-10-27 17:35:01 +08:00
dapan1121 b6326c7f14
Merge pull request #17710 from taosdata/fix/TD-19815
fix: add query heartbeat configuration
2022-10-27 17:33:27 +08:00
Minghao Li 8b5d005db7 refactor(sync): add SyncLocalCmd 2022-10-27 17:16:46 +08:00
Haojun Liao 5a971dd03a fix(query): handle partition by in table scan operator with limit/offset value. 2022-10-27 16:58:32 +08:00
Liu Jicong 70311d95dd refactor(vnode): add log for failed deletion 2022-10-27 16:45:40 +08:00
Liu Jicong 5abeacc299
Merge pull request #17711 from taosdata/feature/stream
refactor(mnode): remove unused code
2022-10-27 16:41:09 +08:00
Minghao Li bbb624b63e Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-10-27 16:22:08 +08:00
Benguang Zhao 31a0421878 enh: check completeness of WAL log entries after repairing 2022-10-27 15:55:22 +08:00
Minghao Li 7cb3112d77 refactor(sync): modify function name 2022-10-27 15:52:48 +08:00
Shengliang Guan 8f88339988
Merge pull request #17709 from taosdata/feature/3.0_mhli
refactor(sync): delete some code
2022-10-27 15:39:38 +08:00
Shengliang Guan fe31be0640
Merge pull request #17708 from taosdata/enh/TD-19459
enh: drop dnode
2022-10-27 15:37:11 +08:00
Liu Jicong dcf2c980c5 refactor(mnode): remove unused code 2022-10-27 15:32:20 +08:00
Shengliang Guan 4844b9158e test: add replica case 2022-10-27 15:29:03 +08:00
dapan1121 6c2a0c8737 fix: fix catalog ut issues and add query hb configuration 2022-10-27 15:15:50 +08:00
Shengliang Guan 8b31cd87d1
Merge pull request #17706 from taosdata/feature/stream_ly
fix(stream): read preversion data with delete many times
2022-10-27 15:05:23 +08:00
Shengliang Guan ff428696d5 enh: drop snode 2022-10-27 15:03:18 +08:00
Minghao Li a8109b7f37 refactor(sync): delete some code 2022-10-27 14:43:07 +08:00
Shengliang Guan e7693b89ce enh: balance vgroup 2022-10-27 14:37:21 +08:00
54liuyao 012dd30baa fix(stream): read preversion data with delete many times 2022-10-27 14:18:48 +08:00
Shengliang Guan a0c5cece12
Merge pull request #17697 from taosdata/feature/stream_ly
fix(stream): read preversion data for delete
2022-10-27 14:01:08 +08:00
Liu Jicong 320202e60e Merge branch '3.0' into feature/stream 2022-10-27 13:49:56 +08:00
Liu Jicong 52d8f7bd35
Merge pull request #17701 from taosdata/feature/stream
fix(query): set block capacity
2022-10-27 13:38:46 +08:00
Shengliang Guan 08aa82295b
Merge pull request #17694 from taosdata/fix/sync
fix(sync): fix coverity issues
2022-10-27 13:20:57 +08:00
Shengliang Guan 14519019f7 enh: balance vgroup 2022-10-27 11:10:54 +08:00
Liu Jicong 6cd8361a0a refactor(sma) 2022-10-27 11:06:16 +08:00
54liuyao 442f89783f fix(stream): read preversion data for delete 2022-10-27 10:55:32 +08:00
Haojun Liao c5c5b5aa9f
Merge pull request #17662 from taosdata/feature/3_liaohj
enh(query): enable the limit clause to be push down
2022-10-27 10:46:21 +08:00
Liu Jicong fc1b85bba1 fix(query): set block capacity 2022-10-27 10:28:41 +08:00
Shengliang Guan 3b6c636583
Merge pull request #17653 from taosdata/fix/rmDebugLog
fix: rm debug log
2022-10-27 10:14:34 +08:00
Shengliang Guan 4f86c27bd5
Merge pull request #17688 from taosdata/feature/sync2-merge
refactor(sync): check pSyncTimer NULL
2022-10-27 10:13:52 +08:00
Minghao Li e3c055e0c4 fix(sync): fix coverity issues 2022-10-27 10:08:12 +08:00
Shengliang Guan 26aa0f1d37
Merge pull request #17684 from taosdata/fix/TD-19894
fix: continue to fetch next row if deleted
2022-10-27 09:50:41 +08:00
dapan1121 9b475ea7f4
Merge pull request #17680 from taosdata/feature/TD-14761
fix:defects in coverity
2022-10-27 09:07:51 +08:00
Liu Jicong 465982fd8d
Merge pull request #17681 from taosdata/feature/stream
test(wal): rollback multiple file
2022-10-27 09:05:05 +08:00
Liu Jicong 42422b7a65 fix(taosx): reset latest offset 2022-10-26 21:20:35 +08:00
Hui Li 4ac9c3694f
Merge pull request #17669 from taosdata/fix/coverage_glzhao
fix(query): comment out unused functions for code coverage
2022-10-26 20:49:21 +08:00
Hui Li a2fcf51161
Merge pull request #17677 from taosdata/fix/TD-19794-V30
fix(coverage): remove the function about skiplist callback
2022-10-26 20:46:57 +08:00
Hui Li 3d9e07d143
Merge pull request #17679 from taosdata/feature/stream_ly
feat(stream):add ci
2022-10-26 20:46:08 +08:00
dapan1121 42f95ccb85 Merge remote-tracking branch 'origin/3.0' into fix/TD-19815 2022-10-26 19:26:45 +08:00
dapan1121 ba0913e645 fix: remove not used code 2022-10-26 19:25:12 +08:00
Haojun Liao 376e7ea5b9 fix(query): support limit/offset in merge sort operator. 2022-10-26 19:23:05 +08:00
Xiaoyu Wang d93d3b4e63 fix: push down limit 2022-10-26 19:00:08 +08:00
Minglei Jin cb0a3ec042 fix: continue to fetch next row if deleted 2022-10-26 18:39:04 +08:00
Hongze Cheng f3eb9c066a
Merge pull request #17671 from taosdata/fix/remove-batcharraytest
fix: remove tarray's batch remove test
2022-10-26 18:25:36 +08:00
Liu Jicong 2a3448552e test(wal): rollback multiple file 2022-10-26 18:03:25 +08:00
dapan1121 ce7fbaa6b6
Merge pull request #17632 from taosdata/fix/TD-19492
fix: fix scheduler status error
2022-10-26 18:01:53 +08:00
wangmm0220 d212be8a37 fix:defects in coverity 2022-10-26 17:54:19 +08:00
54liuyao 8fb78fd7fd feat(stream):add ci 2022-10-26 17:40:07 +08:00
Xiaoyu Wang 01d790d701 fix: push down limit 2022-10-26 17:31:43 +08:00
Alex Duan 41cdb1e917 fix(coverage): remove the function about skiplist callback 2022-10-26 17:29:49 +08:00
Haojun Liao 81d795c293 fix(query): enable limit in grouped scan. 2022-10-26 17:11:56 +08:00
Liu Jicong 78ff5f75e7
Merge pull request #17663 from taosdata/feature/stream
fix: memory leak
2022-10-26 17:09:43 +08:00
Xiaoyu Wang 02ac6fa552 enh: add unit test and delete useless code 2022-10-26 17:01:55 +08:00
Haojun Liao 8d2de8d723 fix(query): handle the offset value. 2022-10-26 16:25:33 +08:00
wade zhang d3e8ec9342
Merge pull request #17665 from taosdata/fix/TD-19858
fix(query): fix interp crash issue
2022-10-26 16:11:36 +08:00
dapan1121 2b278c16ba fix: fix insert error handling issue 2022-10-26 15:54:07 +08:00
Liu Jicong 4b5807c7f0 fix(tmq): set precision 2022-10-26 15:54:00 +08:00
Minglei Jin 18355ceaa7 fix: remove tarray's batch remove test 2022-10-26 15:28:13 +08:00
Ganlin Zhao 547e7694a8 fix(query): comment out unsed functions for code coverage 2022-10-26 15:06:56 +08:00
Liu Jicong 8dbe7ac377 fix: failed case 2022-10-26 14:02:36 +08:00
Haojun Liao b13e7c150d fix(query): remove invalid code check. 2022-10-26 13:44:53 +08:00
Ganlin Zhao c3362223d9 fix(query): comment out unsed functions for code coverage 2022-10-26 13:39:56 +08:00
Ganlin Zhao 88e5fa75e6 fix(query): fix interp crash issue
TD-19858
2022-10-26 12:43:29 +08:00
Hongze Cheng 2afcda198b
Merge pull request #17657 from taosdata/fix/TD-19865
fix: malloc and copy binary data when inserting last & last_row
2022-10-26 11:54:41 +08:00
Hongze Cheng 309bad6b3b
Merge pull request #17624 from taosdata/szhou/fixbugs
fix: set correct var meta length after tDecodeDataBlock
2022-10-26 11:53:25 +08:00
Liu Jicong a16b010e9f fix: memory leak 2022-10-26 11:35:15 +08:00
Haojun Liao 8cf3339b25 enh(query): enable the limit clause to be push down to the table scan operator. 2022-10-26 11:31:31 +08:00
Hongze Cheng b2affd12b9
Merge pull request #17656 from taosdata/fix/3.0_bugfix_wxy
fix: stream supports 'partition by tbname, column'
2022-10-26 11:16:51 +08:00
Xiaoyu Wang cb41374c90 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-26 11:11:18 +08:00
Liu Jicong b56e7a0f8c
Merge pull request #17650 from taosdata/feature/stream
refactor(stream): recover and fill history
2022-10-26 11:10:03 +08:00
Minghao Li 1ae3cab198 refactor(sync): check pSyncTimer NULL 2022-10-26 10:56:50 +08:00
Minglei Jin 89d74e5016 fix: malloc and copy binary data when inserting last & last_row 2022-10-26 10:52:35 +08:00
Haojun Liao 339c93021f
Merge pull request #17654 from taosdata/fix/liao_cov
refactor: fix typo and do  some internal  refactor.
2022-10-26 10:41:00 +08:00
Liu Jicong 8d8fd2b2bc refactor(stream): recover and fill history 2022-10-26 10:20:33 +08:00
Xiaoyu Wang db75eb8e20 fix: stream supports 'partition by tbname, column' 2022-10-26 10:20:00 +08:00
dapan1121 3fa1f535f1
Merge pull request #17609 from taosdata/fix/interpStable
fix: remove interp stable limitation and add test case
2022-10-26 09:59:42 +08:00
Hongze Cheng 4b15cd5efe
Merge pull request #17621 from taosdata/fix/TD-19468-2
fix: optimize tsdb cache loading speed
2022-10-26 09:47:50 +08:00
Haojun Liao d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +08:00
yihaoDeng cc03ab2edd rm debug log 2022-10-26 09:23:35 +08:00
Hui Li 29456c06d8
Merge pull request #17649 from taosdata/feature/sync2-merge
refactor(sync): adjust elect timer
2022-10-26 09:20:05 +08:00
slzhou f68f3bcad1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-10-26 09:19:42 +08:00
Liu Jicong 52b4b510a8 merge 3.0 2022-10-26 09:18:29 +08:00
Minglei Jin b52ad0f740 tsdb/cache: new separate dataf reader for last file reading 2022-10-26 08:58:38 +08:00
dapan1121 e1bb407aff fix: remove catalog ut from ci 2022-10-26 08:36:34 +08:00
Liu Jicong 75e5e490fd refactor(stream): recover and fill history 2022-10-26 00:31:00 +08:00
Shengliang Guan 015db4bc67
Merge pull request #17636 from taosdata/fix/3.0_bugfix_wxy
fix: alter table check
2022-10-26 00:07:11 +08:00
Shengliang Guan 08a85b16ed
Merge pull request #17643 from taosdata/fix/TD-19825
fix: fix merge join crash issue
2022-10-26 00:06:48 +08:00
Minghao Li 7723a9ac28 refactor(sync): delete %ld 2022-10-25 23:17:52 +08:00
Minghao Li 16e6273d9d refactor(sync): delete assert 2022-10-25 20:31:20 +08:00
Shengliang Guan 0522cedccb
Merge pull request #17641 from taosdata/feature/stream_ly
fix(executor):add lock to hash map
2022-10-25 20:20:24 +08:00
Shengliang Guan 02b47daa44
Merge pull request #17639 from taosdata/fix/TD-19743
fix: zero new dest pages to avoid double free ovfl cell
2022-10-25 20:19:55 +08:00
Minghao Li 49af601e19 refactor(sync): add SElectTimer 2022-10-25 19:56:49 +08:00
Minghao Li 9caea0f944 refactor(sync): adjust elect timer 2022-10-25 19:43:07 +08:00
Minghao Li 96a8a80cd7 refactor(sync): add trace log 2022-10-25 19:22:25 +08:00
Minghao Li 01b712fbfd refactor(sync): add trace log 2022-10-25 19:11:28 +08:00
Xiaoyu Wang d63eee8b49 fix: alter table check 2022-10-25 19:00:46 +08:00
Shengliang Guan a2ceb04c79
Merge pull request #17634 from taosdata/fix/TD-19794-V30
fix(util):  improve coverage rate with removing no reference function
2022-10-25 18:25:32 +08:00
Shengliang Guan 77da4a0959
Merge pull request #17637 from taosdata/fix/TD-19827
fix: remove/comment out unused code for more coverage
2022-10-25 18:25:03 +08:00
Shengliang Guan 9520ef4b41
Merge pull request #17613 from taosdata/enh/TD-19460
enh: redistribute vgroup
2022-10-25 18:24:37 +08:00
dapan1121 16f9c172ac fix: fix merge join crash issue 2022-10-25 18:20:20 +08:00
Minghao Li 64f539cacb refactor(sync): adjust timer 2022-10-25 18:03:22 +08:00
54liuyao 796cf764f4 fix(executor):add lock to hash map 2022-10-25 17:54:01 +08:00
Xiaoyu Wang f87209d4dc Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-25 17:48:18 +08:00
Minglei Jin 4dc0eaf0be fix: zero new dest pages to avoid double free ovfl cell 2022-10-25 17:48:06 +08:00
Shengliang Guan 414fe9c03d
Merge pull request #17629 from taosdata/feature/stream_ly
fear(stream): add log
2022-10-25 17:46:27 +08:00
Minglei Jin c84618ea3f
Merge branch '3.0' into fix/TD-19468-2 2022-10-25 17:36:56 +08:00
Xiaoyu Wang 658055090a Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-25 17:36:29 +08:00
Haojun Liao 0a007131d1
Merge pull request #17631 from taosdata/fix/liao_cov
fix(query):set correct column match info size.
2022-10-25 17:35:19 +08:00
Xiaoyu Wang b7056f58b7 fix: alter table check 2022-10-25 16:59:05 +08:00
Alex Duan b607fe277a fix(util): remove no reference function 2022-10-25 16:46:11 +08:00
Ganlin Zhao 28689c508a remove unused code 2022-10-25 16:45:00 +08:00
Ganlin Zhao 3125f3ea26 remove unused code 2022-10-25 16:42:52 +08:00
Ganlin Zhao 7fa93222f4 remove interp unused code 2022-10-25 16:40:56 +08:00
Ganlin Zhao cf60bf98d6 fix: add elapsed partial/merge 2022-10-25 16:37:01 +08:00
Shengliang Guan 7ebf2d5de0
Merge pull request #17614 from taosdata/opt/optSysIdxPerf
enh: opt sys idx perf
2022-10-25 16:25:47 +08:00
Shengliang Guan 011843d8f4
Merge pull request #17626 from taosdata/feature/sync2-merge
fix(sync): fix coverity scan issues
2022-10-25 16:25:14 +08:00
Shengliang Guan eae23f51ab fix: wait more times if database not ready 2022-10-25 16:23:30 +08:00
dapan1121 5bfedd2609 fix: fix scheduler status error 2022-10-25 16:21:39 +08:00
Haojun Liao 6acdfdd9ab refactor: do some internal refactor. 2022-10-25 16:20:51 +08:00
Xiaoyu Wang efb56e84c8 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-25 15:57:16 +08:00
Shengliang Guan b508c25118 enh: redistribute vgroup 2022-10-25 15:55:19 +08:00
Haojun Liao a87f915ebf fix(query):set correct column match info size. 2022-10-25 15:30:41 +08:00
slzhou bf0a93e8d0 fix: compute udf funcs with all const arguments on server side 2022-10-25 15:24:13 +08:00
54liuyao d9615c7d4c fear(stream): add log 2022-10-25 15:17:42 +08:00
slzhou 90ed32c43d fix: fix memory usage error 2022-10-25 15:16:31 +08:00
Alex Duan 88b7ad91dc fix(all): improve coverage rate 2022-10-25 14:58:26 +08:00
slzhou c3653e3d13 fix: udfd ctrl pipe functions only udfd is started by taosd 2022-10-25 14:57:53 +08:00
Xiaoyu Wang bd3c64d29e enh: interp support for stable 2022-10-25 14:52:07 +08:00
Minghao Li eb7b9d3819 fix(sync): fix coverity scan issues 2022-10-25 14:28:34 +08:00
Shengliang Guan 20a279e69a
Merge pull request #17605 from taosdata/fix/3.0_bugfix_wxy
fix: wrong permissions of 'show variables' command
2022-10-25 14:17:06 +08:00
slzhou bc0f120fb0 fix: set values before add it to array 2022-10-25 14:16:31 +08:00
plum-lihui 40fae0842f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-10-25 13:54:57 +08:00
Shengliang Guan 90645bd429
Merge pull request #17622 from taosdata/enh/TD-19783-D
enh: remove obsolete codes for raw data row
2022-10-25 13:49:48 +08:00
Shengliang Guan 32a234962a
Merge pull request #17602 from taosdata/fix/coverity_glzhao
fix: coverity issues
2022-10-25 13:49:36 +08:00
Shengliang Guan 919f09c5ec Merge remote-tracking branch 'origin/3.0' into enh/TD-19460 2022-10-25 13:41:55 +08:00
slzhou 211ab7f367 fix: set var meta length to data length when decode data block 2022-10-25 13:34:51 +08:00
Ganlin Zhao 600bb6ee77 fix coverity 2022-10-25 12:58:01 +08:00
Ganlin Zhao d03058aff8 fix coverity 2022-10-25 12:54:10 +08:00
Cary Xu 6d0d42569a enh: remove obsolete codes for raw data row 2022-10-25 11:30:57 +08:00
Ganlin Zhao b53a51e5e7 fix coverity 2022-10-25 11:11:17 +08:00
Xiaoyu Wang c38b200131 fix: wrong permissions of 'show variables' command 2022-10-25 11:08:56 +08:00
Minglei Jin 441fe8119c Merge branch '3.0' into fix/TD-19468-2 2022-10-25 10:51:35 +08:00
yihaoDeng 2092430556 opt trans on no-windows 2022-10-25 10:45:47 +08:00
Minglei Jin 89f7ad2920 fix: optimize tsdb cache loading speed 2022-10-25 10:36:30 +08:00
yihaoDeng 0905f16294 opt trans on no-windows 2022-10-25 10:17:05 +08:00
Shengliang Guan 2ba8fef013
Merge pull request #17571 from taosdata/fix/TD-19655-V30
fix(all): fixed coverity scan problems for second submiting
2022-10-25 10:00:00 +08:00
Shengliang Guan ca5ecdcc4e
Merge pull request #17606 from taosdata/enh/3.0_planner_optimize
enh: insert parser refactor
2022-10-25 09:58:19 +08:00
Ganlin Zhao 3a4dc8f0da Merge branch '3.0' into fix/coverity_glzhao 2022-10-25 09:47:46 +08:00
Ganlin Zhao 78d3a32f50 Revert "fix: coverity issues"
This reverts commit c2bff98311.
2022-10-25 09:43:25 +08:00
Ganlin Zhao 35b78f596e Revert "Revert "fix: coverity issues""
This reverts commit caa88bc54d.
2022-10-25 09:42:26 +08:00
Ganlin Zhao caa88bc54d Revert "fix: coverity issues"
This reverts commit aa4daf1770.
2022-10-25 09:39:17 +08:00
Shengliang Guan 848fa688eb
Merge pull request #17603 from taosdata/fix/avoidTransQuit
avoid invalid read/write
2022-10-25 09:14:46 +08:00
Shengliang Guan 31921b284c
Merge pull request #17611 from taosdata/feature/sync2-merge
fix(sync): add error log when pState is NULL
2022-10-25 09:11:45 +08:00
yihaoDeng 421d2e7332 opt trans on no-windows 2022-10-25 08:48:05 +08:00
yihaoDeng c6683d01af opt trans on no-windows 2022-10-24 20:32:10 +08:00
Ganlin Zhao c04ade7867 fix: coverity issues
CID: 400109
2022-10-24 19:48:58 +08:00
Ganlin Zhao 585577cef3 fix: coverity issues
CID: 399989
2022-10-24 19:28:36 +08:00
yihaoDeng afb309c557 opt sys index 2022-10-24 19:22:09 +08:00
Ganlin Zhao 23b7150dee fix: coverity issues
CID: 399845
2022-10-24 19:20:10 +08:00
Ganlin Zhao cd0a051157 fix: coverity issues
CID: 399671
2022-10-24 19:16:53 +08:00
Haojun Liao e0d72e4749 refactor: do some internal refactor, and reduce the number of bufferred intermediate blocks. 2022-10-24 19:10:50 +08:00
Ganlin Zhao 42dfe03e7d fix: coverity issues
CID: 399518
2022-10-24 19:02:33 +08:00
yihaoDeng 1421268479 opt sys index 2022-10-24 18:59:12 +08:00
Alex Duan d54ed45822 fix(all): remove seterror, no use 2022-10-24 18:49:48 +08:00
Alex Duan 97e70e8f27 fix(all): coverity scan problem fixed 2022-10-24 18:41:39 +08:00
yihaoDeng 6ee7b412ed opt sys index 2022-10-24 18:35:59 +08:00
Alex Duan d23b829c5b Merge branch '3.0' into fix/TD-19655-V30 2022-10-24 18:23:07 +08:00
Shengliang Guan e281714543 enh: redistribute vgroup 2022-10-24 18:14:57 +08:00
Minghao Li 8082b71cce fix(sync): free pLocalEntry 2022-10-24 18:05:14 +08:00
Ganlin Zhao 1935d349d4 fix: coverity issues
CID: 399493
2022-10-24 17:47:12 +08:00
dapan1121 af6a9aeb13 fix: remove interp stable limitation and add test case 2022-10-24 17:46:21 +08:00
Haojun Liao 992a130860 refactor: do some internal refactor. 2022-10-24 17:24:20 +08:00
Xiaoyu Wang 292f0c6db7 enh: insert parser refactor 2022-10-24 16:58:45 +08:00
Haojun Liao 3601391960 Merge branch '3.0' into fix/liao_cov 2022-10-24 16:57:12 +08:00
Xiaoyu Wang 2aed458bf7 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-24 16:47:20 +08:00
Haojun Liao e654f3f92c refactor: do some internal refactor. 2022-10-24 16:44:44 +08:00
Xiaoyu Wang 64cf24830e enh: insert parser refactor 2022-10-24 16:38:16 +08:00
Xiaoyu Wang 0fdce91b5a fix: wrong permissions of 'show variables' command 2022-10-24 16:34:10 +08:00
yihaoDeng 94a3d32ca5 avoid invalid read/write 2022-10-24 16:27:32 +08:00
Ganlin Zhao 68e274eba2 fix: coverity issues
CID: 399665
2022-10-24 16:22:35 +08:00
Ganlin Zhao 4780e88ce9 fix: coverity issues
CID: 400330
2022-10-24 15:52:52 +08:00
Ganlin Zhao 120a3ca4b9 fix: coverity issues
CID: 400059
2022-10-24 15:18:27 +08:00
Ganlin Zhao c2bff98311 fix: coverity issues
CID: 399945
2022-10-24 15:06:41 +08:00
Haojun Liao 319cd8af85 fix(query): refactor and fix some coverity issues. 2022-10-24 15:02:17 +08:00
Ganlin Zhao aa4daf1770 fix: coverity issues
CID: 399914
2022-10-24 15:02:01 +08:00
yihaoDeng a3447c5dae avoid invalid read/write 2022-10-24 14:59:47 +08:00
Ganlin Zhao 5728685772 fix: coverity issues
CID: 399907
2022-10-24 14:54:10 +08:00
Ganlin Zhao c12f1b6e6a fix: coverity issues
CID: 399890
2022-10-24 14:51:51 +08:00
Minghao Li fddd6657bc fix(sync): add error log when pState is NULL 2022-10-24 14:51:45 +08:00
Ganlin Zhao f4c290d545 fix: coverity issues
CID: 399791
2022-10-24 14:43:36 +08:00
Shengliang Guan ece9cb8042
Merge pull request #17588 from taosdata/feature/TD-19745
fix(stream): stream state invalid cur
2022-10-24 14:36:32 +08:00
Ganlin Zhao 623581a51d fix: coverity issues
CID: 399721
2022-10-24 14:26:13 +08:00
Shengliang Guan b41626414e
Merge pull request #17595 from taosdata/fix/liao_cov
fix(query): remove redundant ts cols in cache scan.
2022-10-24 14:26:04 +08:00
Ganlin Zhao f1dc1d63f7 fix: coverity issues
CID: 399714
2022-10-24 14:16:17 +08:00
Minghao Li a228d5ecb9 fix(sync): break when pState is NULL 2022-10-24 14:09:12 +08:00
Haojun Liao b06870f70f Merge branch '3.0' into fix/liao_cov 2022-10-24 14:07:59 +08:00
Haojun Liao 9f722438d2 fix(query): remove redundant codes. 2022-10-24 13:30:04 +08:00
54liuyao 5cee271cbc fix(stream): stream state invalid cur 2022-10-24 13:28:13 +08:00
Haojun Liao 2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Shengliang Guan 6d1bf00cee fix: use sync cfg from vnode 2022-10-24 12:42:44 +08:00
Shengliang Guan fdb6d2be11
Merge pull request #17583 from taosdata/fix/hzcheng_coverity_scan
fix: coverity scan
2022-10-24 12:40:03 +08:00
Shengliang Guan 6badadc478
Merge pull request #17585 from taosdata/feature/TD-14761
fix:error in schemaless if error happens
2022-10-24 12:39:40 +08:00
Shengliang Guan 7947882614
Merge pull request #17589 from taosdata/fix/sysTableIdx
fix: fix sys idx bug
2022-10-24 12:38:44 +08:00
Shengliang Guan b115863693
Merge pull request #17592 from taosdata/enh/TD-19461
fix: alter replica one by one
2022-10-24 12:38:09 +08:00
Shengliang Guan ec786b9d78 fix: alter replica one by one 2022-10-24 11:57:26 +08:00
Hongze Cheng 5f9545d273 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/td_19618 2022-10-24 10:56:27 +08:00
Shengliang Guan 569e776035
Merge pull request #17586 from taosdata/enh/TD-19461
fix: alter replica one by one
2022-10-24 10:54:17 +08:00
Hongze Cheng 801dc53e43 more fix 2022-10-24 10:51:10 +08:00
Hongze Cheng e0f166b1b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_coverity_scan 2022-10-24 10:46:16 +08:00
yihaoDeng bac0f359ee fix sys idx bug 2022-10-24 10:31:49 +08:00
Shengliang Guan bbb0475d69 fix: alter replica one by one 2022-10-24 10:05:57 +08:00
Liu Jicong 9d42de4397
Merge pull request #17584 from taosdata/feature/stream
fix(client): memory leak
2022-10-24 10:03:02 +08:00
Alex Duan 104e8f212a fix(all): fixed coverity problem 2022-10-24 09:58:19 +08:00
wangmm0220 2a214e3d25 fix:error in schemaless if error happens 2022-10-24 09:30:59 +08:00
Hongze Cheng 2772749e07 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/td_19618 2022-10-24 09:19:30 +08:00
Liu Jicong 11f153cf1a fix(client): memory leak 2022-10-24 09:18:35 +08:00
Shengliang Guan 3362550a60
Merge pull request #17581 from taosdata/enh/TD-19461
fix: invalid msg while alter db replica
2022-10-24 09:11:07 +08:00
Hongze Cheng 020b71515a fix: coverity scan 2022-10-24 09:09:45 +08:00
Shengliang Guan 9903bbc527
Merge pull request #17577 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-23 23:12:36 +08:00
Shengliang Guan 8a5066335a fix: invalid msg while alter db replica 2022-10-23 22:51:22 +08:00
Shengliang Guan ec4af6c062 Merge remote-tracking branch 'origin/3.0' into enh/TD-19461 2022-10-23 22:44:47 +08:00
Shengliang Guan 47cef3ba75 fix: invalid msg while alter db replica 2022-10-23 22:44:41 +08:00
Minghao Li e2a157bb02 fix(sync): fix timer bug 2022-10-23 20:14:51 +08:00
Shengliang Guan 577f5655bf
Merge pull request #17564 from taosdata/feature/sync2-merge
refactor(sync): refactor sync
2022-10-23 19:04:40 +08:00
Haojun Liao 6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Shengliang Guan 9b4c84af1d fix: comment out unstable case 2022-10-23 14:58:24 +08:00
Shengliang Guan fbf354a78c Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-23 14:40:27 +08:00
Shengliang Guan e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +08:00
Shengliang Guan e9e0165a62
Merge pull request #17576 from taosdata/fix/fixConveriyDefeats
fix: fix coverity scan defeats
2022-10-23 14:37:56 +08:00
Shengliang Guan d22ab18d53
Merge pull request #17575 from taosdata/fix/rmRedundance
fix: rm redundance
2022-10-23 14:37:46 +08:00
yihaoDeng b0edb7c017 rm [redundance 2022-10-23 12:29:02 +08:00
yihaoDeng 17ee66cd2c fix coverity scan defeats 2022-10-23 12:25:52 +08:00
yihaoDeng 5e19f2d24a add all tab to meta 2022-10-23 11:52:11 +08:00
yihaoDeng 44e27f2906 avoid duplication of name 2022-10-23 11:22:33 +08:00
yihaoDeng ada04eb2bc rm [èredundance 2022-10-23 10:38:16 +08:00
yihaoDeng edc0f38921 avoid invalid read/write 2022-10-23 10:11:20 +08:00
Shuduo Sang 7023e465cf
fix: client tmq connector coverity scan issues (#17573) 2022-10-23 08:59:34 +08:00
Shengliang Guan ed33fcb406 fix: invalid read problem 2022-10-23 08:38:03 +08:00
Minglei Jin 214df56e39 fix: return 0 usage when pTsdb is null 2022-10-23 06:54:24 +08:00
Shengliang Guan c0707f19dc Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-22 23:50:41 +08:00
Shengliang Guan 0914c02394 fix: compile error in mac 2022-10-22 23:49:49 +08:00
Shengliang Guan cbf5ddb002
Merge pull request #17572 from taosdata/fix/TD-19732-D
fix: null column value when build rsma result
2022-10-22 23:32:11 +08:00
Shengliang Guan 5cff3c02d0
Merge pull request #17570 from taosdata/fix/TD-19223-D
enh: add warn log for abnormal monitor value
2022-10-22 23:31:37 +08:00
yihaoDeng 3cd517cd19 avoid invalid read/write 2022-10-22 23:23:28 +08:00
yihaoDeng e5be6663c8 avoid invalid read/write 2022-10-22 23:06:41 +08:00
Shengliang Guan 8354d7a491 test: comment out unstable case 2022-10-22 22:22:20 +08:00
Shengliang Guan 15fade84d8 fix: compile error 2022-10-22 22:21:11 +08:00
Shengliang Guan bf1fff7532 fix: stop mgmt worker before close vnodes 2022-10-22 22:13:55 +08:00
yihaoDeng 471b581cea avoid invalid read/write 2022-10-22 22:13:21 +08:00
Shengliang Guan b14534ca5c
Merge pull request #17569 from taosdata/fix/TD-19146
fix: give clear msg when failed to connect
2022-10-22 22:09:15 +08:00
yihaoDeng 48604314e6 avoid invalid read/write 2022-10-22 21:19:25 +08:00
Zhiqiang Wang 0286fab538
fix: func basename error (#17547)
* fix: func basename error

* chore: add cargo update

Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-10-22 20:23:38 +08:00
yihaoDeng 8e08d8dcc0 avoid invalid read/write 2022-10-22 20:03:20 +08:00
yihaoDeng e2465387c6 avoid invalid read/write 2022-10-22 18:40:54 +08:00
Cary Xu 4f5a38b786 fix: null column value when build rsma result 2022-10-22 18:01:43 +08:00
Cary Xu cebee295e2 enh: add warn log for abnormal monitor value 2022-10-22 16:09:22 +08:00
yihaoDeng 79ac1153ce avoid invalid read/write 2022-10-22 16:02:09 +08:00
Alex Duan 39c800da80 fix(all): fixed coverity scan problems for second submiting 2022-10-22 15:41:37 +08:00
Haojun Liao 6e95d18643 Merge branch '3.0' into fix/liao_cov 2022-10-22 15:15:47 +08:00
Haojun Liao 1fa1e55dee refactor: do some internal refactor. 2022-10-22 15:00:27 +08:00
Cary Xu 949ccc692f enh: add warn log for abnormal monitor value 2022-10-22 13:55:28 +08:00
Cary Xu c02989f44a enh: add warn log for abnormal monitor value 2022-10-22 13:42:37 +08:00
Cary Xu 75ee92e989 enh: add warn log for abnormal monitor value 2022-10-22 13:41:52 +08:00
Cary Xu 633a989892 enh: add warn log for abnormal monitor value 2022-10-22 13:34:07 +08:00
Shengliang Guan 21445a717c Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-22 09:07:39 +08:00
Shengliang Guan c58a77b516 Merge remote-tracking branch 'origin/3.0' into fix/td_19618 2022-10-22 09:03:43 +08:00
Shengliang Guan 8b7d2a4c9e test: comment out unstable case 2022-10-22 09:03:29 +08:00
Shengliang Guan 71ac720ac0 fix: compile error in mac 2022-10-22 08:47:09 +08:00
Shengliang Guan 2d3f5274b7 fix: compile error in mac 2022-10-22 08:39:58 +08:00
Shengliang Guan 1806815fe4
Merge pull request #17567 from taosdata/fix/TD-19646
rm invalid read
2022-10-22 08:16:15 +08:00
Shengliang Guan d82abe5ca4
Merge pull request #17561 from taosdata/szhou/fixbugs
fix: fix coverity scan errors
2022-10-22 08:16:02 +08:00
Shengliang Guan 93557c3670
Merge pull request #17557 from taosdata/feature/stream_ly
feat(stream):change stream mode & add ci
2022-10-22 08:15:41 +08:00
Shengliang Guan 5d293869a9
Merge pull request #17553 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-22 08:14:44 +08:00
Shengliang Guan 71d4d82cf4
Merge pull request #17450 from taosdata/fix/TD-19312
fix: add cachesize in show create database result
2022-10-22 08:14:17 +08:00
yihaoDeng a9ec68c87f avoid err msg 2022-10-21 20:05:29 +08:00
yihaoDeng 51c24d2dc6 avoid err msg 2022-10-21 19:59:44 +08:00
Shengliang Guan 067af996ed
Merge pull request #17566 from taosdata/fix/TS-1937
fix: fix show create table crash issue
2022-10-21 19:13:19 +08:00