Commit Graph

664 Commits

Author SHA1 Message Date
Haojun Liao f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
yihaoDeng 07ca8eb8e0 enh: add trace to transaction 2023-03-16 10:25:46 +00:00
54liuyao abbc69a2ed fix:asan error 2023-02-28 17:43:47 +08:00
Xiaoyu Wang 58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Xiaoyu Wang d06dedd5cc
Merge pull request #20103 from taosdata/fix/TD-22668
fix: coverity scan issues
2023-02-24 10:53:49 +08:00
54liuyao d43355e77f fix:check null column 2023-02-23 17:31:52 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
Minglei Jin 0a782ef78c fix(mnd): coverity scan issues 2023-02-22 14:50:41 +08:00
54liuyao 1d58f85a54 feat:coverity scan 2023-02-22 10:10:04 +08:00
Xiaoyu Wang 7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
merge main
2023-02-21 16:27:19 +08:00
54liuyao f34509cc6e feat:a maximum of 60 streams can be created 2023-02-20 14:18:21 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao 751c1cb5d2 refactor:do some internal refactor. 2023-02-20 10:12:27 +08:00
Haojun Liao 8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
54liuyao 33caf8e625 fix:check stream 2023-02-16 13:48:47 +08:00
Haojun Liao c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
Haojun Liao c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Xiaoyu Wang b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Xiaoyu Wang 98e2fa2d7b feat: add ignore update option for create stream 2023-02-08 18:46:12 +08:00
Liu Jicong ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Liu Jicong 55f78b4109 fix case 2023-02-06 16:41:30 +08:00
Liu Jicong e615053f4a enh: stream number limit 2023-02-06 11:32:04 +08:00
54liuyao e03deeaed8 feat:add stream delete mark 2023-01-17 16:21:51 +08:00
54liuyao 3ec1560faa create stream and use existing super table 2023-01-13 10:26:49 +08:00
54liuyao d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
54liuyao 4734795fe1 feat(stream):stream insert data into an existing table 2022-12-28 17:09:54 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Shengliang Guan cb5ec76cce enh: check conflict before create trans 2022-12-23 13:58:39 +08:00
Liu Jicong 27c7e23397 refactor: remove assert 2022-12-21 14:26:27 +08:00
Liu Jicong 4ab9638f9a enh(stream): forbid source db replica > 1 2022-12-16 15:41:08 +08:00
Liu Jicong 4402bcef94 enh(stream): forbid source db replica > 1 2022-12-16 08:53:33 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Shengliang Guan 99657ccf78 fix: compatibility after update stream 2022-12-02 08:00:10 +08:00
Shengliang Guan b8cc174211 Merge remote-tracking branch 'origin/3.0' into feature/stream 2022-12-02 07:59:39 +08:00
Shengliang Guan ffb1d52e55 fix: compatility after update stream 2022-12-02 07:57:22 +08:00
Shengliang Guan a366696478
Merge pull request #18596 from taosdata/feature/stream
refactor(stream): distributed checkpoint
2022-12-02 07:51:10 +08:00
Liu Jicong 3424b184d3 refactor(stream): distributed checkpoint 2022-12-02 03:48:45 +08:00
Shengliang Guan 2d48563959 fix: crash if failed to decode sdb row 2022-12-01 16:04:39 +08:00
Shengliang Guan 74f83a362b fix: memory while use taosx 2022-11-27 22:23:40 +08:00
Shengliang Guan 853c22de28 fix: memory leak while create stream 2022-11-16 10:55:19 +08:00
Liu Jicong a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
Liu Jicong 7c8b2867ce enh(stream): add stream task info into information schema 2022-11-14 19:23:42 +08:00
Shengliang Guan 30058f7619 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 10:46:32 +08:00
Liu Jicong 2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
Liu Jicong 2e640c38a2 refactor: stream and tmq message 2022-10-31 18:37:28 +08:00
Liu Jicong 26d4af6968 fix: memory leak 2022-10-21 11:42:30 +08:00
Liu Jicong 035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Liu Jicong fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Liu Jicong eafe8666f7 merge 3.0 2022-10-09 17:00:18 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
Shengliang Guan 4e65accad2 fix: coverity issues 2022-10-08 17:02:34 +08:00
Shengliang Guan e98335bdfa fix: coverity issues 2022-10-08 11:29:46 +08:00
Shengliang Guan 31e424d5ab fix: coverity issues 2022-09-30 14:59:31 +08:00
Shengliang Guan dfb2b0678f fix: coverity issues 2022-09-30 14:03:46 +08:00
Shengliang Guan 3810b5d4fa fix: add more info log for mnode 2022-09-23 15:42:36 +08:00
Shengliang Guan 43ef21f67b enh: add oper name to show transaction 2022-09-22 16:19:33 +08:00
Shengliang Guan 30b2bd98b8 fix: STrans struct dbname2 naming ambiguity 2022-09-19 10:39:51 +08:00
Liu Jicong e484090b75 fix(stream): fix handling invalid option 2022-08-25 16:27:18 +08:00
Liu Jicong a2757eb4f3 fix(mnode): memory leak 2022-08-18 14:26:11 +08:00
Liu Jicong b8a3654cd6 enh(stream): show stream 2022-08-11 13:37:32 +08:00
Liu Jicong 7f4b46e003 feat(stream): session window trigger delete 2022-08-10 21:26:05 +08:00
Liu Jicong 9e5d347383 enh(tmq): enable background heartbeat by default 2022-08-10 18:22:22 +08:00
Liu Jicong 95f696b30d enh(tmq): prevent drop db when topic exists 2022-08-10 17:24:47 +08:00
Liu Jicong d9a4ea305d fix(stream): memory error 2022-08-09 14:11:41 +08:00
Liu Jicong 43026ac31d refactor(stream) 2022-08-08 11:29:50 +08:00
Liu Jicong 7c9d57bd89 refactor(stream): unify sink and dispatch 2022-08-05 20:16:47 +08:00
54liuyao c1522632dc fix(stream): amend error message 2022-08-04 13:39:16 +08:00
Liu Jicong 280ed4f65d feat(stream): pipelined exec for recovering 2022-07-15 21:29:53 +08:00
Liu Jicong 9394e3380f feat(stream): recover from failure 2022-07-15 17:58:53 +08:00
Liu Jicong 9ea0ad57ec refactor(stream): destroy stream task 2022-07-14 15:32:21 +08:00
Liu Jicong 31bbef82d1 fix(tmq): seek snapshot offset 2022-07-02 20:18:40 +08:00
Shengliang Guan f249bae82d Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-07-02 14:14:01 +08:00
Shengliang Guan 0c510fcc8c fix: drop db has stream exist 2022-07-02 11:55:59 +08:00
Liu Jicong 4a2b266612 feat(stream): support ignore expired flag 2022-07-02 10:59:29 +08:00
Liu Jicong 996f995644 fix(sma): drop stream when drop sma 2022-06-25 18:14:42 +08:00
Liu Jicong bdd4134fc1
Revert "fix(sma): drop stream when drop sma" 2022-06-25 18:11:11 +08:00
Liu Jicong 3210fdc367 merge from 3.0 2022-06-25 17:49:25 +08:00
Liu Jicong 47ae534c0f fix(sma): drop stream when drop sma 2022-06-25 17:44:54 +08:00
Shengliang Guan 1fb2c664a4
Merge pull request #14223 from taosdata/fix/tsim
refactor: rename auth to privilege
2022-06-25 15:26:59 +08:00
Liu Jicong e6f88b6286
Merge pull request #14225 from taosdata/feature/stream
enh(query): window included in serialized retrieve table rsp
2022-06-25 11:35:18 +08:00
Shengliang Guan 23653fd843 enh: privilege for topic and stream 2022-06-25 11:22:34 +08:00
Liu Jicong 5040cb9541 enh(query): window included in serialized retrieve table rsp 2022-06-25 10:43:19 +08:00
Shengliang Guan 09ce47ae9f refactor: rename auth to privilege 2022-06-25 10:27:27 +08:00
Liu Jicong f53521cb8c test(stream): partition by tbname 2022-06-24 16:50:11 +08:00
Liu Jicong b884ca9db7 refactor(stream): seperate stream scheduling and persistence 2022-06-24 14:19:12 +08:00
Liu Jicong c409760f75 feat(stream): drop stream 2022-06-21 11:32:36 +08:00
Liu Jicong 212144a3e6 test(stream): window close not work for stb 2022-06-20 21:50:13 +08:00
Shengliang Guan 5ae355077c enh(mnode): transaction conflict supports two db 2022-06-17 11:11:29 +08:00
Shengliang Guan 80e0b830fe refactor: remove duplicate conninfo in SRpcMsg 2022-06-17 10:40:42 +08:00
Liu Jicong 07288e26b2 refactor(stream): change msg name 2022-06-16 17:08:31 +08:00
Liu Jicong 44e733645c ci: remove unstable case 2022-06-16 16:35:55 +08:00
Liu Jicong 32d8e60ce2 refactor(sma): create 2022-06-16 16:22:58 +08:00
Liu Jicong 928f45709d feat(stream): drop stream 2022-06-16 16:01:22 +08:00
Liu Jicong 803249837a feat(stream): drop stream 2022-06-16 10:29:30 +08:00
Liu Jicong 683bc24646
Merge pull request #13876 from taosdata/feature/stream
feat(stream): drop task
2022-06-15 22:59:43 +08:00
Liu Jicong 5572abe1b4 feat(stream): drop task 2022-06-15 21:41:59 +08:00
Shengliang Guan 1b15c3439a
Merge pull request #13859 from taosdata/fix/dnode
feat: increase enable and sysinfo limits for user privilege
2022-06-15 18:24:32 +08:00
Shengliang Guan 6711d79434 feat: increase enable and sysinfo limits for user privilege 2022-06-15 17:40:02 +08:00
Liu Jicong d7a6c4976c
fix(stream): max delay should not be seen by operator (#13864) 2022-06-15 17:27:01 +08:00
Liu Jicong d200fc710b fix(stream): max delay should not be seen by operator 2022-06-15 17:25:47 +08:00
Liu Jicong 8eb08fa0d4 feat(stream): trigger mode add max delay 2022-06-15 16:11:20 +08:00
Xiaoyu Wang 380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
Liu Jicong a7fba4b224 refactor(stream): stream scheduler 2022-06-10 21:57:59 +08:00
Liu Jicong 94d7cbe622 feat(stream): snode process stream msg 2022-06-07 16:24:50 +08:00
Shengliang Guan 980e289cdf refactor: add alter-confirm while alter db 2022-06-05 14:59:53 +08:00
Shengliang Guan 1013b06107 refactor: make trans support global conflict 2022-05-31 19:24:26 +08:00
Shengliang Guan 9057abeb39 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-31 17:39:57 +08:00
Shengliang Guan 04ef9e15e6 refactor: make trans support global conflict 2022-05-31 17:37:25 +08:00
Liu Jicong d1259b3c82 fix(tmq): remove topic ref cnt 2022-05-30 22:50:59 +08:00
Liu Jicong a0f3138888 fix(stream): tb name error 2022-05-26 11:16:35 +08:00
Shengliang Guan a878b3edd5 fix: commit log should not be null 2022-05-23 21:17:04 +08:00
Shengliang Guan 682a7cab17 fix: avoid memory leak 2022-05-21 16:35:24 +08:00
Shengliang Guan 96b7f2696a refactor: adjust SRpcMsg 2022-05-16 14:55:31 +08:00
Liu Jicong 661fbd2e46 enh(stream): improve topic show 2022-05-09 16:35:59 +08:00
Liu Jicong 3ed1ab6acb enh(stream): auto create ctb 2022-05-07 23:19:05 +08:00
Hongze Cheng 323ce214b6 refact encode APIs 2022-05-07 10:03:06 +00:00
Shengliang Guan fe62139a7f
Merge pull request #12195 from taosdata/feature/dnode
refactor: alter stb
2022-05-07 14:52:17 +08:00
Shengliang Guan cdb7c37d16 refactor: adjust stb codes 2022-05-07 12:07:45 +08:00
Liu Jicong 861fde2508 fix(stream): create stb in stream 2022-05-07 10:21:51 +08:00
Liu Jicong 3ae79a77c7 enh(stream): fix create stb in stream 2022-05-07 01:47:45 +08:00
Liu Jicong 375814c0ca fix 2022-04-28 17:03:25 +08:00
Liu Jicong f8be9820bc fix: show stream 2022-04-28 16:37:47 +08:00
Liu Jicong 3ae3fd65e8 fix: memory error 2022-04-28 16:31:35 +08:00
Liu Jicong d998e3e804 fix: create stream 2022-04-28 14:20:32 +08:00
Liu Jicong 108b9ee181 feat(stream): support perf schema 2022-04-28 13:36:43 +08:00
Liu Jicong 3035ecd58e add show topic 2022-04-22 14:26:36 +08:00
Xiaoyu Wang b9fb9c580d feat: sql command "create stream" 2022-04-16 13:15:14 +08:00
Shengliang Guan 2635df084d refact<cluster>: adjust show types 2022-04-14 20:54:43 +08:00
Shengliang Guan 495e417ce6 enh<cluster>: add show message funcs 2022-04-14 18:16:02 +08:00
Haojun Liao bcbc8618d2 ehn(query): refactor show module in mnode. 2022-04-13 19:27:47 +08:00
Haojun Liao 60c1ce2d08 ehn(query): refactor show module in mnd. 2022-04-12 20:05:13 +08:00
Haojun Liao 208f639806 feature[query]:refactor show query processing in mnode. 2022-04-09 16:19:08 +08:00
Liu Jicong 16f99d9916 stream support fix ep sink 2022-03-29 10:40:13 +08:00
Liu Jicong a3b4de6631 stream support sma 2022-03-28 14:40:22 +08:00
Liu Jicong 06285a252e refactor tmq container 2022-03-26 20:12:45 +08:00
Liu Jicong 71097ea56a put schema into stream 2022-03-26 16:48:14 +08:00
afwerar 222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
Haojun Liao bf124afb7a
Merge pull request #10990 from taosdata/feature/3.0_liaohj
[td-13039]add api for stream computing.
2022-03-25 14:08:59 +08:00
Cary Xu c98626b081 tSma create bug fix 2022-03-25 13:19:41 +08:00
Haojun Liao b7368e2133 [td-13039]add api for stream computing. 2022-03-25 10:59:15 +08:00
Liu Jicong 4cf88c35da modify stream task 2022-03-24 16:18:08 +08:00
Liu Jicong d3e62358b1 merge from 3.0 2022-03-24 11:39:18 +08:00
Liu Jicong b0ebd174c1 add stream sink 2022-03-24 11:34:43 +08:00
Shengliang Guan 8323cad2a6 Merge remote-tracking branch 'origin/3.0' into feature/shm 2022-03-24 10:56:24 +08:00
Shengliang Guan 21a4b868e2 sma 2022-03-24 10:37:27 +08:00
Shengliang Guan 8431ff349b
Merge pull request #10951 from taosdata/feature/shm
sma
2022-03-24 10:06:17 +08:00
Shengliang Guan 2ba675ec40 Merge remote-tracking branch 'origin/3.0' into feature/shm 2022-03-23 20:16:33 +08:00
Shengliang Guan e9831674b2 sma 2022-03-23 20:12:50 +08:00
Liu Jicong 492cb92348 extract output name from ast 2022-03-23 19:58:32 +08:00
Liu Jicong d1363d9cb2 task running 2022-03-23 14:47:24 +08:00
Zhiqiang Wang 29c5e63d85
Merge pull request #10882 from taosdata/fix/ZhiqiangWang/TD-13762-redefine-atomic-api
[TD-13762]<fix>: redefine atomic api.
2022-03-22 01:06:55 +08:00
afwerar a263f72d58 [TD-13762]<fix>: redefine atomic api. 2022-03-22 00:54:21 +08:00
Liu Jicong 70cddceb60 assign task to vg 2022-03-21 16:35:27 +08:00
Shengliang Guan 41880bac8e Merge remote-tracking branch 'origin/3.0' into feature/shm 2022-03-18 11:27:06 +08:00
Liu Jicong 1c40afc67c add tmq_get_row 2022-03-17 17:55:13 +08:00
Shengliang Guan 565774b985 Merge remote-tracking branch 'origin/3.0' into feature/shm 2022-03-16 21:35:48 +08:00
Liu Jicong 18f254a017 task deploy and task exec 2022-03-16 18:29:31 +08:00
Shengliang Guan 332da70335 rename msg 2022-03-15 20:53:29 +08:00
Shengliang Guan ae4835dbc5 shm 2022-03-11 11:53:52 +08:00
Liu Jicong e766f3fad4 add mnode stream 2022-03-10 17:15:45 +08:00