Commit Graph

10486 Commits

Author SHA1 Message Date
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
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
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
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
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
Minghao Li 3fbb51346b refactor(sync): modify syncEnvTest 2022-11-01 10:52:25 +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
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
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 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
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
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 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
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 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
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
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 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
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 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 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
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
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
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
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
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
yihaoDeng 63827f7551 use sys mem 2022-10-28 13:56:55 +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
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
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
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
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 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