Commit Graph

298 Commits

Author SHA1 Message Date
Minglei Jin cdaafb7b89 fix(meta): new error for creating sub tb already exist in other stables 2022-11-19 08:19:03 +08:00
Minglei Jin 35b9dc6b6c meta: use meta cache to get uid's version instead of fetching from tdb 2022-11-18 17:07:19 +08:00
Minglei Jin 78335f83d2 tdb/api: migrate txn related api changes of meta, sma, tq, and stream meta/state 2022-11-17 20:02:13 +08:00
stephenkgu 4a8196b520 fix: update stb stats cache when creating/dropping child tables 2022-11-11 10:36:27 +08:00
Shengliang Guan b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +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
yihaoDeng 421d2e7332 opt trans on no-windows 2022-10-25 08:48:05 +08:00
yihaoDeng afb309c557 opt sys index 2022-10-24 19:22:09 +08:00
Hongze Cheng 801dc53e43 more fix 2022-10-24 10:51:10 +08:00
Hongze Cheng 020b71515a fix: coverity scan 2022-10-24 09:09:45 +08:00
Shengliang Guan e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +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 c4f7607e8c opt sys query 2022-10-20 14:04:18 +08:00
Hongze Cheng 1c488cf7e4
Merge pull request #17503 from taosdata/fix/TD-19250-5
fix: coverity issues
2022-10-20 13:37:14 +08:00
Minglei Jin 716c3f8a59 fix: coverity issues 2022-10-20 09:47:04 +08:00
Hongze Cheng 446e8c5d6d fix: coverity scan problem 2022-10-20 09:36:15 +08:00
Shengliang Guan 7db984bdc4
Merge pull request #17490 from taosdata/fix/TD-19652
rm deleted table idx
2022-10-19 20:48:46 +08:00
yihaoDeng 66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
yihaoDeng 9805c50b38 rm deleted table idx 2022-10-19 19:44:07 +08:00
Shengliang Guan b44a795179
Merge pull request #17432 from taosdata/fix/TD-19250-3
fix: coverity issues
2022-10-18 18:14:03 +08:00
Shengliang Guan c5e9b6abd6
Merge pull request #17402 from taosdata/fix/TD-19259
fix: fix coverity scan problem
2022-10-18 14:50:45 +08:00
Minglei Jin 029abe7396 fix: coverity issues 2022-10-18 14:32:18 +08:00
yihaoDeng 0c6ada5eea Merge branch 'n2' into new 2022-10-18 11:42:00 +08:00
yihaoDeng 80a8858fe1 fix invalid packet 2022-10-17 20:10:57 +08:00
yihaoDeng c9aadfadee fix coverity scan problem 2022-10-17 16:29:50 +08:00
Minglei Jin 5c66712b91 fix: coverity issues 2022-10-17 15:28:10 +08:00
Hongze Cheng ef06a9d265 fix more coverity scan problem 2022-10-17 09:58:34 +08:00
yihaoDeng 1132f72440 Merge branch 'n2' into new 2022-10-16 21:33:12 +08:00
Hongze Cheng 7e174e347e fix more issue 2022-10-15 11:20:37 +08:00
yihaoDeng 681b973cae add index to ins_tables 2022-10-13 18:53:04 +08:00
Minglei Jin de113ccf5f fix: use stable stats cache to get ctbNum 2022-10-11 17:50:42 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
Shengliang Guan 0b645f5010
Merge pull request #16953 from taosdata/fix/TD-19129
fix: wlock for meta update tag value
2022-09-20 17:43:23 +08:00
Minglei Jin 3f839d6832 fix: wlock for meta update tag value 2022-09-20 16:33:35 +08:00
wangmm0220 e3bc2487b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-18740 2022-09-16 19:00:49 +08:00
wangmm0220 dfc5ce23a0 fix:error in auto create table for taosX 2022-09-16 17:01:41 +08:00
Hongze Cheng 4b4d8d7f17
Merge pull request #16796 from taosdata/fix/TD-19012
fix: c is uninitialized for empty btree
2022-09-13 16:00:03 +08:00
Minglei Jin d9ce8e3fcd fix: c is uninitialized for empty btree 2022-09-13 14:42:51 +08:00
Hongze Cheng 25fdef4540 fix: alter table memory leakage 2022-09-13 13:35:14 +08:00
yihaoDeng f0c1950b63 refactor code 2022-09-07 19:39:44 +08:00
Cary Xu 31fb2a31b6 enh: drop child tables support for rsma 2022-09-05 16:25:13 +08:00
wade zhang 2ad31384f6
Merge pull request #15818 from taosdata/feature/TD-14761
feat: get meta and data from tmq using snapshot
2022-08-29 09:49:35 +08:00
Minglei Jin 2eacdf51fa fix: return -1 if child table's uid not exist 2022-08-26 10:30:07 +08:00
wangmm0220 6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
Minglei Jin 85da71460e fix: stats normal tables' timeseries 2022-08-25 16:22:55 +08:00
dapan1121 150956ffd3 enh: update tbMeta after creating table 2022-08-24 13:19:52 +08:00
dapan1121 0ebd3281c5 enh: update table meta after creating table 2022-08-23 18:26:27 +08:00
wangmm0220 514711e54c feat:get data from snapshot for taosx 2022-08-23 17:28:49 +08:00
wangmm0220 43862ccd74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-22 16:53:53 +08:00
Hongze Cheng 470c774f54 fix: alter table schema 2022-08-21 15:05:56 +08:00
wangmm0220 03a187571c fix:error in snapshot for taosx 2022-08-19 15:12:04 +08:00
Hui Li 73c3a1eb64
Merge pull request #15975 from taosdata/feature/3.0_query_optimize
opti:logic for get table list
2022-08-18 10:37:27 +08:00
Minglei Jin 5e38aab3d7 fix: plus 1 with tdb strlen 2022-08-17 17:51:49 +08:00
Minglei Jin 701c11417d Merge branch 'v3.0' into fix/TD-18437 2022-08-17 17:35:06 +08:00
wangmm0220 d5a8b397f0 fix:merge from 3.0 2022-08-17 11:09:49 +08:00
Shengliang Guan 4c4f5bdf5f fix: the supertable and subtable can have same name 2022-08-16 19:28:16 +08:00
Minglei Jin 7c82b1221f fix: return error if stable's name duplicate with child table 2022-08-16 17:04:35 +08:00
Hongze Cheng dc83f9c4f7 fix: a little bug 2022-08-16 07:18:37 +00:00
wangmm0220 19c5051b8c fix:confilcts from 3.0 2022-08-16 14:42:19 +08:00
Hongze Cheng 5d1cbb54c1 optimize 2022-08-16 06:22:55 +00:00
Minglei Jin e9d072273f fix: close tbc before returning 2022-08-13 12:05:08 +08:00
wangmm0220 37f6d1195c fix:error in get table list 2022-08-12 21:57:29 +08:00
wangmm0220 61a19b80d7 Merge branch '3.0' into feature/3.0_query_optimize 2022-08-12 14:41:08 +08:00
wangmm0220 e102f81f92 opti:use suid+uid->tags index to optimize time cost 2022-08-12 11:33:53 +08:00
Minglei Jin 8cac647881 fix: return stable not exists 2022-08-11 18:12:32 +08:00
Cary Xu 0beed37cfd fix: insert tsma data 2022-08-06 18:06:02 +08:00
Shengliang Guan 56f2e49764 refactor: adjust logs 2022-08-02 17:12:07 +08:00
Shengliang Guan efb0127fbf refactor: adjust logs 2022-08-02 16:48:49 +08:00
Shengliang Guan d5aea7dac2 refactor: adjust sync log 2022-08-02 16:39:12 +08:00
Minglei Jin cfab6c9b20 fix: first round number of chile tables and timeseries 2022-08-01 18:01:44 +08:00
yihaoDeng eccc590d07 fix index bugf 2022-07-30 16:12:02 +08:00
yihaoDeng d2f57b4ad7 fix alter tag 2022-07-30 15:09:53 +08:00
Minglei Jin 5a82a04264 fix: return stable not exist instead of assert(0) 2022-07-28 15:55:47 +08:00
Shengliang Guan 7296bf1658 fix: failed to create stb in 3 replica db 2022-07-25 20:26:25 +08:00
Minglei Jin 80a88605b1
Merge pull request #15351 from taosdata/fix/TD-17683
fix: super table not exists if suid expired
2022-07-23 17:32:53 +08:00
Minglei Jin dbdee1152c fix: super table not exists if suid expired 2022-07-23 16:56:26 +08:00
Xiaoyu Wang 6c5eb5c563 fix: semantic check when last(*) and column are together 2022-07-23 13:42:43 +08:00
Liu Jicong 0a47ebc580 merge 3.0 2022-07-22 16:06:57 +08:00
Liu Jicong 2441ec22bd feat(tmq): check alter for ntb 2022-07-22 16:05:28 +08:00
wangmm0220 6d0c718fbf fix:modify ttl push interval to 86400 & modify lock scope when receive ttl message 2022-07-22 10:28:28 +08:00
Liu Jicong 414673db57
Merge branch '3.0' into feature/stream 2022-07-19 19:46:36 +08:00
Minglei Jin ab00d5670b fix: check super table exists or not when creating child table 2022-07-19 13:38:38 +08:00
Liu Jicong 159f1c7bae fix(tmq): drop stb after subscribing database 2022-07-18 22:39:51 +08:00
Cary Xu 156e72b071 enh: rsma drop and code optimization 2022-07-18 19:34:53 +08:00
wangmm0220 037ea1519c fix:core dump if consumer multi vgroup message with sequence:create/alter/delete/create or create/delete/create 2022-07-13 13:42:55 +08:00
Minghao Li e1db3eee36 refactor(sync): merge tsdb_snapshot code 2022-07-10 10:55:46 +08:00
Hongze Cheng 0840affc32 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-08 12:33:12 +00:00
yihaoDeng 3ed0280025 feat: support del index when drop child table 2022-07-07 17:39:49 +08:00
yihaoDeng d9e8329975 support bool tag 2022-07-07 10:05:48 +08:00
Hongze Cheng 089d5e6150 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-07 01:37:50 +00:00
Hongze Cheng b3da0e2a15 meta snapshot write 2022-07-06 12:21:59 +00:00
yihaoDeng bc29708686 fix json tag value 2022-07-06 20:05:45 +08:00
yihaoDeng 14cfbd7e45 fix tag/json tag error 2022-07-06 15:07:42 +08:00
yihaoDeng bd77e5b107 refactor index 2022-07-04 16:01:45 +08:00
Cary Xu e6dd04f573 refactor: rsma restore 2022-06-27 14:47:14 +08:00
Cary Xu 0597f3b9cd refactor: rsma resource release 2022-06-26 18:44:49 +08:00
yihaoDeng 5a4b51a968 fix index bug 2022-06-25 20:36:38 +08:00
wangmm0220 7acf012253 fix:memory error 2022-06-25 13:51:43 +08:00
wangmm0220 f3c2957628 opti:ttl/comment log and parameters 2022-06-24 18:38:06 +08:00
wangmm0220 c8f223a6ec fix:merge from 3.0 2022-06-23 14:26:26 +08:00
wangmm0220 fb59f14289 fix: unlock meta 2022-06-23 12:09:24 +08:00
wangmm0220 f2ad546666 fix: add configure for ttl unit 2022-06-21 18:37:47 +08:00
wangmm0220 8494bf17be opt:partition by tag 2022-06-21 10:52:09 +08:00
wangmm0220 8ace8dfd8b feat:add ttl/comment function & fix global version shadows a variable 2022-06-17 14:47:37 +08:00
wangmm0220 2bd2996e74 feat:add comment function 2022-06-16 20:45:00 +08:00
wangmm0220 e28e92ea35 feat:add ttl 2022-06-16 20:44:25 +08:00
wangmm0220 f2a19c98ef feat:add test for operator encode/decode 2022-06-15 20:35:45 +08:00
yihaoDeng d9c83f6357 enh: change rpcGetConnInfo 2022-06-09 13:50:18 +08:00
yihaoDeng fb389ab826 fix: avoid filter failure 2022-06-07 21:43:30 +08:00
yihaoDeng 991b5c7b40 fix: avoid invalid read/write 2022-06-07 17:57:26 +08:00
yihaoDeng 9105c19e42 fix: add json contains 2022-06-07 16:02:41 +08:00
yihaoDeng f35ba2a85e fix: failed to update json idx 2022-06-06 11:51:00 +08:00
yihaoDeng 0ca6a5ae27 refactor json index 2022-06-05 21:46:07 +08:00
yihaoDeng 02e46da0d1 handle conflict 2022-06-05 18:56:43 +08:00
yihaoDeng 7c9d76a6a6 enh: add json index 2022-06-04 22:33:36 +08:00
yihaoDeng 74513630db Merge branch 'DEV' into idx 2022-06-02 18:26:20 +08:00
Shengliang Guan 0bade86534
Merge pull request #13410 from taosdata/fix/mnode
enh: adjust vnode replica and some logs
2022-06-02 17:06:10 +08:00
Yihao Deng a7d2042e56
Merge branch '3.0' into enh/idxFilter 2022-06-02 16:39:38 +08:00
yihaoDeng 6b69b28649 enh: refactor tag filter code 2022-06-02 16:36:48 +08:00
WANG MINGMING 3a51acf55e
Merge pull request #13407 from taosdata/feat/tag_refact
fix:fix error in updata tag
2022-06-02 14:49:57 +08:00
Shengliang Guan 27c1687a05 refactor: adjust some logs 2022-06-02 14:30:26 +08:00
wangmm0220 7b4d4e8b93 fix:fix error in updata tag 2022-06-02 14:16:46 +08:00
dapan1121 7251634534 Merge branch '3.0' into feature/qnode 2022-06-02 12:39:14 +08:00
dapan1121 d8093c91c2 alter table return meta 2022-06-01 20:28:29 +08:00
Hongze Cheng 8e1a922057 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-06-01 07:32:09 +00:00
wangmm0220 f99e66df32 fix:fix error in new tag format 2022-06-01 10:29:10 +08:00
wangmm0220 172834bc59 feat:fix conflict merge from 3.0 2022-06-01 09:58:58 +08:00
wangmm0220 19b0932781 feat:merge from 3.0 2022-05-31 23:46:04 +08:00
wangmm0220 51b5e35933 feat:add new logic for new tag format 2022-05-31 23:38:21 +08:00
yihaoDeng 64ffbc1eea enh: support tag filter 2022-05-31 18:34:17 +08:00
wangmm0220 816cea07f9 feat:add new logic for new tag format 2022-05-31 17:49:33 +08:00
Hongze Cheng aa6da0b5ea Merge branch 'feat/tag_refact' of https://github.com/taosdata/TDengine into feat/row_refact 2022-05-30 05:07:51 +00:00
Cary Xu fdf7d77856 fix: bug fix for tag refactor 2022-05-29 20:28:54 +08:00
Cary Xu 174eb2d862 fix: add more debug logs 2022-05-28 20:13:59 +08:00
Cary Xu 292d579932 feat: adapt for interface 2022-05-28 18:05:50 +08:00
Cary Xu 9b4c9e4802 enh: tag refactor for normal tags 2022-05-28 17:16:04 +08:00
yihaoDeng 6acbe7e777 enh: support tag filter 2022-05-28 16:15:24 +08:00
Hongze Cheng fe22f0f6d3 use two version in server and refact 2022-05-26 08:29:52 +00:00
Hongze Cheng d1a4e2d232 feat: drop stable 2022-05-25 08:03:05 +00:00
Hongze Cheng 74f2746677 drop super table 2022-05-25 07:14:36 +00:00
wangmm0220 e7194116e7 merge:from 3.0 2022-05-23 20:32:33 +08:00
wangmm0220 70312ba0b3 fix:add json test case 2022-05-23 19:32:10 +08:00
Hongze Cheng 528f10c3fe feat: vnode pre-process msg 2022-05-23 08:38:05 +00:00
Hongze Cheng d784da0da0 feat: discard const when decode 2022-05-23 07:47:49 +00:00
yihaoDeng fb4982f8ca merge 3.0 2022-05-22 21:41:55 +08:00
Hongze Cheng f3d527589f fix: memory leak 2022-05-21 12:37:04 +00:00
Hongze Cheng 86dcce42ac fix: alter column length 2022-05-21 03:28:29 +00:00
yihaoDeng 9a6710b465 enh: add invert index to vnode 2022-05-20 23:39:52 +08:00
Liu Jicong 2174b5e48e enh(tq): update tb uid when droping table 2022-05-19 16:46:12 +08:00