Xiaoyu Wang
d6dd087f84
merge main
2023-02-25 10:29:20 +08:00
Xiaoyu Wang
5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
...
merge main
2023-02-25 10:01:26 +08:00
Haojun Liao
993ae9e7e9
Merge branch '3.0' into fix/3_coverity
2023-02-24 14:34:01 +08:00
Xiaoyu Wang
58fc265b80
merge main
2023-02-24 13:26:45 +08:00
Haojun Liao
22aa03307c
fix(query): fix syntax errors on centos.
2023-02-24 11:38:54 +08:00
Haojun Liao
cc393f3939
Merge pull request #20143 from taosdata/feature/3_liaohj
...
refactor: do some internal refactor.
2023-02-24 09:58:44 +08:00
Haojun Liao
b8fe575aa4
Merge pull request #20068 from taosdata/fix/TD-22624
...
fix:compare func for topic & double free in taosArrayRemoveDuplicate…
2023-02-23 17:19:17 +08:00
Xiaoyu Wang
1ab144609e
merge main
2023-02-23 14:58:22 +08:00
Haojun Liao
24c38d30e3
Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj
2023-02-23 14:10:25 +08:00
Haojun Liao
f00b7b3af0
refactor: do some internal refactor.
2023-02-23 14:09:56 +08:00
Haojun Liao
b203107922
Merge branch 'main' into feature/3_liaohj
2023-02-23 10:22:17 +08:00
Haojun Liao
6015729560
refactor: add some logs.
2023-02-23 09:21:32 +08:00
Haojun Liao
4432ae51e6
Merge branch 'main' into fix/liaohj
2023-02-23 09:04:32 +08:00
Minglei Jin
0a782ef78c
fix(mnd): coverity scan issues
2023-02-22 14:50:41 +08:00
Haojun Liao
37fea8cf3d
fix(tmq): update the epset when the leader of vnode changed.
2023-02-21 23:04:58 +08:00
Haojun Liao
9a5b7ce220
refactor: do some internal refactor.
2023-02-21 15:32:17 +08:00
cyang
ad56390a08
fix:compare func for topic & doublue free in taosArrayRemoveDuplicateP for topic
2023-02-21 00:54:34 +08:00
Haojun Liao
8d187efc18
refactor:do some internal refactor.
2023-02-20 10:04:08 +08:00
Xiaoyu Wang
5d499e52f9
merge main
2023-02-03 17:13:11 +08:00
Liu Jicong
d83a94bb19
fix: check dup rebalance
2023-02-03 09:48:50 +08:00
Shengliang Guan
307f457103
Merge remote-tracking branch 'origin/3.0' into enh/TD-20047
2023-01-16 09:40:37 +08:00
Shengliang Guan
ad8c73645b
fix: update epset on dnode info changed
2023-01-13 15:26:24 +08:00
Xiaoyu Wang
0c269c317b
merge 3.0
2022-12-23 17:50:05 +08:00
Liu Jicong
27c7e23397
refactor: remove assert
2022-12-21 14:26:27 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req
2022-12-19 11:24:00 +08:00
Haojun Liao
48f7fc5c3d
Merge branch '3.0' into refact/submit_req
2022-12-12 18:11:17 +08:00
Shengliang Guan
71587df603
enh: topic privilege
2022-12-12 17:34:32 +08:00
Shengliang Guan
06b0fefc38
fix: check topic privilege only
2022-12-09 11:15:22 +08:00
Haojun Liao
27ebafdbaa
other: merge 3.0
2022-12-09 10:19:05 +08:00
Liu Jicong
c0c98320f3
enh: check topic privilege
2022-12-08 17:16:44 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases"
2022-12-07 21:51:17 +08:00
Shengliang Guan
f69a188f7e
refact: replcase ASSERT with tAssert
2022-12-07 18:37:40 +08:00
Shengliang Guan
9b793fd1e6
refact: adjust some assert cases
2022-12-07 17:21:24 +08:00
Shengliang Guan
6bb736aeeb
refact: adjust some assert cases
2022-12-07 16:30:21 +08:00
Liu Jicong
619bbdfd82
refactor: support submitreq2
2022-12-06 05:58:28 +08:00
Shengliang Guan
2d48563959
fix: crash if failed to decode sdb row
2022-12-01 16:04:39 +08:00
Haojun Liao
124fb5fc50
refactor: do some internal refactor.
2022-11-30 17:52:12 +08:00
Liu Jicong
48894c8bdb
enh(stream): new api for stream queue
2022-11-25 18:03:40 +08:00
dapan1121
fb861a3935
enh: refactor tmq messages
2022-11-17 14:09:15 +08:00
Liu Jicong
4000176dc7
enh(tmq): auto clear lost consumer
2022-11-09 14:44:09 +08:00
Liu Jicong
411373a7c5
fix: msg compatibility
2022-11-01 20:02:17 +08:00
Liu Jicong
2e640c38a2
refactor: stream and tmq message
2022-10-31 18:37:28 +08:00
Liu Jicong
dcf2c980c5
refactor(mnode): remove unused code
2022-10-27 15:32:20 +08:00
Benguang Zhao
3b0968d7f9
enh: enable the -Wformat=2 compiler option
2022-10-19 09:24:15 +08:00
Liu Jicong
d507678b35
refactor(stream): set state buffer size
2022-10-13 11:18:02 +08:00
Liu Jicong
69352e6e89
fix tbanme length check
2022-10-12 10:50:54 +08:00
Liu Jicong
b1594a6857
fix coverity scan
2022-10-10 11:44:17 +08:00
Liu Jicong
01c94a775b
feat(tmq): push optimization
2022-09-28 14:55:19 +08:00
Shengliang Guan
c16f4ae3f7
Merge pull request #17037 from taosdata/fix/TD-19220
...
fix: do not send ttl msg on taosd startup
2022-09-27 11:24:03 +08:00
Shengliang Guan
555a99bf90
enh: dump sdb info from mnode
2022-09-26 16:18:48 +08:00
Shengliang Guan
fbf3641df7
fix: do not send ttl msg on taosd startup
2022-09-23 16:50:32 +08:00
Shengliang Guan
43ef21f67b
enh: add oper name to show transaction
2022-09-22 16:19:33 +08:00
wangmm0220
345b68ccee
fix: cols num error in tmq for query
2022-09-19 15:28:28 +08:00
wangmm0220
dfc5ce23a0
fix:error in auto create table for taosX
2022-09-16 17:01:41 +08:00
Liu Jicong
273adb9895
fix memory leak
2022-09-16 16:17:02 +08:00
Liu Jicong
e5e82f0cf2
merge 3.0
2022-08-10 16:31:23 +08:00
Liu Jicong
18f6fb6123
enh(tmq): speed up consumer recover
2022-08-10 16:04:03 +08:00
Shengliang Guan
56f2e49764
refactor: adjust logs
2022-08-02 17:12:07 +08:00
Liu Jicong
a3133b9f6d
feat(wal): log applied ver
2022-07-20 10:55:28 +08:00
Liu Jicong
bc1af6deaf
refactor(stream): batch optimization for submit msg
2022-07-19 15:52:08 +08:00
Liu Jicong
500553d581
refactor: add debug log
2022-07-18 11:41:56 +08:00
Liu Jicong
01a345a7c1
merge 3.0
2022-07-16 16:47:35 +08:00
Liu Jicong
bb58ec1e02
feat(tmq): support background heartbeat
2022-07-16 16:44:07 +08:00
Liu Jicong
219d966b25
fix(wal): read after rolling
2022-07-10 21:02:25 +08:00
Shengliang Guan
a5e8ddbc56
refactor: adjust logs
2022-07-08 18:00:19 +08:00
Shengliang Guan
43f1d41122
fix: compile error
2022-06-25 11:23:44 +08:00
Shengliang Guan
23653fd843
enh: privilege for topic and stream
2022-06-25 11:22:34 +08:00
Shengliang Guan
09ce47ae9f
refactor: rename auth to privilege
2022-06-25 10:27:27 +08:00
Liu Jicong
6f4f6c14fa
enh(tmq): add log
2022-06-11 14:02:48 +08:00
Liu Jicong
6fcee0e244
refactor(tsdb): tsdb reader open
2022-06-10 15:20:57 +08:00
dapan1121
deaa295fb5
Merge branch '3.0' into feature/3_liaohj
2022-06-08 20:44:01 +08:00
dapan1121
9eb8444373
fix tmq issue
2022-06-08 19:03:10 +08:00
Liu Jicong
238b2c1639
fix(tmq): status check
2022-06-08 18:10:38 +08:00
Liu Jicong
e1fd4a6640
feat(tmq): get_db api
2022-06-02 10:18:11 +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
984b831563
fix(tmq): unref topic
2022-05-24 15:56:10 +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
Liu Jicong
2f9c63ae3f
enh(tq): update tb uid when droping table
2022-05-19 15:37:30 +08:00
Liu Jicong
82b2ae4194
enh(tmq): set and show client id
2022-05-19 11:20:47 +08:00
Liu Jicong
9e71d03d37
enh(tmq): commit when consumer_close called
2022-05-18 15:31:05 +08:00
Shengliang Guan
00a69a4d57
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-05-17 19:41:53 +08:00
Liu Jicong
8ceae5854d
fix(tmq): fix memory leak
2022-05-17 17:01:07 +08:00
Shengliang Guan
d7e895448d
fix: conflicts after refactor SRpcMsg
2022-05-17 16:32:23 +08:00
Shengliang Guan
0623514ed1
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-05-17 16:12:53 +08:00
Liu Jicong
44a9695460
enh(tmq): cascade drop
2022-05-17 04:09:25 +08:00
Shengliang Guan
96b7f2696a
refactor: adjust SRpcMsg
2022-05-16 14:55:31 +08:00
Liu Jicong
15dd272154
enh(tmq): do not show closed consumer
2022-05-11 02:58:17 +08:00
Liu Jicong
ac460915d6
fix(tmq): show
2022-05-10 23:47:44 +08:00
Liu Jicong
661fbd2e46
enh(stream): improve topic show
2022-05-09 16:35:59 +08:00
Liu Jicong
3496381fcc
refactor: rebalance input
2022-04-29 21:01:13 +08:00
Liu Jicong
f78a31806c
enh(tmq): add rebalance global lock
2022-04-28 15:21:55 +08:00
Liu Jicong
108b9ee181
feat(stream): support perf schema
2022-04-28 13:36:43 +08:00
Liu Jicong
c790b4dfad
refacor(tmq): extract unassigned vg out of hash
2022-04-27 21:18:41 +08:00
Liu Jicong
e119a7ad48
fix
2022-04-27 17:27:36 +08:00
Liu Jicong
37a2977ad9
feat(tmq): consumer support recover
2022-04-27 17:15:02 +08:00
Liu Jicong
19ec7bcafc
enh: more info in perf schema
2022-04-27 15:16:57 +08:00
Liu Jicong
a5a10f7068
feat: tmq support show
2022-04-26 17:08:42 +08:00
Liu Jicong
f7a63661ac
fix
2022-04-20 22:08:04 +08:00
Liu Jicong
d75ab9b3ff
refactor
2022-04-20 21:36:55 +08:00
Liu Jicong
b7bf0fe10b
refactor(tmq): subscribe and rebalance process
2022-04-19 17:02:49 +08:00
Haojun Liao
bcbc8618d2
ehn(query): refactor show module in mnode.
2022-04-13 19:27:47 +08:00
Haojun Liao
208f639806
feature[query]:refactor show query processing in mnode.
2022-04-09 16:19:08 +08:00
Liu Jicong
798c3a9f82
add more log
2022-04-02 23:03:12 +08:00
Liu Jicong
9ebdee326f
fix txn
2022-04-01 18:13:46 +08:00
afwerar
222db126bc
[TD-13758]<fix>: redefine memory api.
2022-03-26 00:29:53 +08:00
Shengliang Guan
ba12601dff
Merge remote-tracking branch 'origin/3.0' into feature/shm
2022-03-16 14:48:49 +08:00
Shuduo Sang
3c6c518470
[TD-13063]<feature>: 3.0 on windows ( #10765 )
...
* [TD-13063]<feature>: 3.0 on Windows
* add pthread in contrib
* fix linux compile
* fix osSemaphore
* add gnu regex for Windows
* fix compile error for Windows
* support arm platform
* port more OS files
* fix for Windows compile
* port more files
* fix macOS on x86_64
* port osFile
* port osSemaphone.h
* port osSocket.c
* port tconfig.c
* port ttimer.c
* add couple files
* merge with 3.0
2022-03-16 11:37: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
Shengliang Guan
d89f396dc7
serialize stb msg
2022-02-15 18:17:18 +08:00
Liu Jicong
f51295a23c
seperate rebalance msg from set conn msg
2022-02-12 11:28:22 +08:00
Liu Jicong
f0d7d1b323
mq rebalance
2022-02-11 18:09:25 +08:00
Liu Jicong
42da4f6fdd
rewrite rebalance
2022-02-11 16:24:38 +08:00
Liu Jicong
432f8bfd6b
rewrite rebalance
2022-02-10 11:22:50 +08:00
Liu Jicong
573aad5cc1
fix uninitialized
2022-02-03 19:47:27 +08:00
Liu Jicong
8f24333d7d
fix mem leak
2022-01-28 19:10:18 +08:00
Liu Jicong
ca84e47a97
fix query crash
2022-01-25 15:17:02 +08:00
Liu Jicong
d410ef1ca2
fix plan convert error
2022-01-24 18:21:25 +08:00
Liu Jicong
00ccbb4a3a
add subscribe for sdb
2022-01-19 16:28:13 +08:00
Liu Jicong
ddf7dcc94f
fix mem leak
2022-01-18 16:02:12 +08:00
Shengliang Guan
a326b29021
minor changes
2022-01-10 04:44:11 -08:00
Liu Jicong
8a437a89dc
add heartbeat framework
2022-01-06 18:17:08 +08:00
Liu Jicong
b0d935ba7d
merge from 3.0
2022-01-06 10:56:25 +08:00
Liu Jicong
df554c03fc
handle merge conflict
2022-01-06 10:44:34 +08:00
Liu Jicong
0ba5427a9b
handle subscribe
2022-01-06 10:28:34 +08:00
Liu Jicong
0a83ecac81
add sub structure
2022-01-04 10:40:34 +08:00
Shengliang Guan
d3927b54c0
Improve the error handling of mnode
2021-12-30 22:22:50 -08:00
Liu Jicong
335de53594
add mndconsumer
2021-12-29 17:53:43 +08:00