Shengliang Guan
c4428ba599
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-05-22 12:07:39 +08:00
Minghao Li
249aecacda
enh(sync) sync/mnode integration
2022-05-21 21:26:27 +08:00
Minghao Li
1a5be99bd4
fix(sync): syncRespMgrGetAndDel
2022-05-21 17:01:18 +08:00
Shengliang Guan
f2a84eda09
refactor: adjust vnode header file
2022-05-20 10:45:43 +08:00
Shengliang Guan
0f9cd43027
refactor: adjust sync header file
2022-05-20 10:30:30 +08:00
Yihao Deng
040292cb80
Merge pull request #12718 from taosdata/enh/deleteDupCode
...
Enh/delete dup code
2022-05-19 22:12:46 +08:00
yihaoDeng
76b9a5acee
fix: avoid invalid read/write
2022-05-19 21:56:39 +08:00
Shengliang Guan
0161b6456c
refactor: adjust msgcb
2022-05-19 19:44:01 +08:00
Shengliang Guan
77575d1e70
refactor: shm queue in multi process mode
2022-05-18 14:20:46 +08:00
Shengliang Guan
81e89ec7b6
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-05-16 20:13:02 +08:00
Shengliang Guan
fc94b71c80
refactor: adjust SRpcMsg
2022-05-16 15:17:11 +08:00
Li Minghao
9bc8307d40
Merge pull request #12530 from taosdata/feature/3.0_mhli
...
enh(sync): raft config change
2022-05-16 14:59:33 +08:00
Minghao Li
956ab45a30
enh(sync): raft config change
2022-05-16 14:10:18 +08:00
Minghao Li
3e65caccaa
enh(sync): add syncStartStandBy
2022-05-14 19:54:18 +08:00
Minghao Li
a2d43fb96f
enh(sync): add syncStartStandBy
2022-05-14 18:12:53 +08:00
Minghao Li
1cfa16fcd8
enh(sync): add syncConfigChangeTest
2022-05-14 16:53:04 +08:00
Shengliang Guan
7ad96ac276
enh: control the memory of the rpc queue
2022-05-14 11:53:46 +08:00
Minghao Li
f97adf54d3
enh(sync): add syncStartStandBy
2022-05-13 12:12:37 +08:00
Minghao Li
346f9007db
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-05-12 15:24:15 +08:00
Minghao Li
b69a26678c
enh(sync): raft config change
2022-05-12 15:23:41 +08:00
Minghao Li
453d105a08
enh(sync): add error log, linux api error, %X
2022-05-12 07:54:45 +08:00
Minghao Li
7c41d52967
enh(sync): add error log, linux api error
2022-05-11 15:52:31 +08:00
Minghao Li
503de649cb
enh(sync): add error log
2022-05-10 12:22:57 +08:00
Minghao Li
8c0d600cdf
enh(sync): add error log
2022-05-10 12:20:13 +08:00
Minghao Li
589048e96b
fix(sync): fix memory leak, RespMgr
2022-05-09 20:14:31 +08:00
Minghao Li
b71b5284ae
fix(sync): fix memory leak when break
2022-05-09 17:25:42 +08:00
Minghao Li
39bf90c0da
fix(sync): fix memory leak
2022-05-09 15:17:33 +08:00
Hongze Cheng
323ce214b6
refact encode APIs
2022-05-07 10:03:06 +00:00
Hongze Cheng
0c8b7bb094
more refact
2022-05-07 07:29:54 +00:00
Hongze Cheng
5d150204dd
more refact
2022-05-07 06:57:31 +00:00
Minghao Li
d75b3568a7
enh(sync): add trace log
2022-05-06 23:40:34 +08:00
Minghao Li
2584b034df
add syncGetEpSet
2022-04-30 10:29:29 +08:00
Minghao Li
4d40af9929
add redirect
2022-04-28 16:41:13 +08:00
Minghao Li
9a603170b4
add redirect before syncPropose
2022-04-27 19:28:01 +08:00
Minghao Li
b96e434ab3
format
2022-04-27 18:10:57 +08:00
Li Minghao
16d60bf313
add flag in syncEnv, to deal with expired timer 2
2022-04-25 23:14:17 -07:00
Li Minghao
c5602fbaba
add flag in syncEnv, to deal with expired timer
2022-04-25 22:54:04 -07:00
Li Minghao
2fa176a49d
when 1 replica, become leader immediately
2022-04-25 07:49:40 -07:00
Li Minghao
76a9ff06b6
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-04-25 07:39:30 -07:00
afwerar
f966242047
feature(dnode): mul parameter start.
2022-04-25 13:57:55 +08:00
Li Minghao
7c1f1243fc
add UT test.sh
2022-04-24 19:37:01 -07:00
Shengliang Guan
d1ac98fa84
Merge remote-tracking branch 'origin/3.0' into feature/check
2022-04-24 19:21:42 +08:00
Shengliang Guan
4033da4b24
Merge remote-tracking branch 'origin/3.0' into feature/check
2022-04-24 19:03:54 +08:00
yihaoDeng
80ae360e8b
Merge branch '3.0' into auth
2022-04-24 15:12:13 +08:00
Li Minghao
f2749b4bf0
Merge pull request #11791 from taosdata/feature/sync-vnode-merge-3.0
...
Feature/sync vnode merge 3.0
2022-04-24 15:09:07 +08:00
Li Minghao
1afda11b9c
comment doSyncEnvStart 2
2022-04-23 23:55:01 -07:00
Li Minghao
e01cb71cea
comment doSyncEnvStart
2022-04-23 23:37:17 -07:00
Liu Jicong
314a92fb76
Merge pull request #11788 from taosdata/feature/tq
...
refacor(wal): rename len to bodyLen
2022-04-24 14:33:59 +08:00
Liu Jicong
3d972f81a2
refacor(wal): rename len to bodyLen
2022-04-24 13:42:54 +08:00
Li Minghao
9c9d57c961
fix bug, syncEnv free NULL
2022-04-23 22:38:49 -07:00
Shengliang Guan
15ddbe8231
Merge remote-tracking branch 'origin/3.0' into feature/check
2022-04-24 11:25:15 +08:00
yihaoDeng
b384167087
enh(rpc): fix hb problem
2022-04-23 18:29:45 +08:00
Minghao Li
d53b3a4480
call syncCleanUp taosMemoryFree(pSyncEnv)
2022-04-22 18:41:32 +08:00
Minghao Li
64dfc1da1c
merge 3.0 code
2022-04-22 17:11:56 +08:00
Shengliang Guan
bc65c92ee3
refactor(tools): adjust client config parameters
2022-04-22 16:04:10 +08:00
afwerar
fc24521621
fix(os): windows compile 3.0.
2022-04-22 09:54:27 +08:00
Minghao Li
446a2ed1bf
rm syncReplicateTest 2, 3, Load
2022-04-21 17:35:48 +08:00
Minghao Li
49cf252495
add syncReplicateTest.cpp
2022-04-21 15:24:50 +08:00
Minghao Li
a6b949831a
delete syncElectTest 1-3, add syncReplicateTest.cpp
2022-04-21 14:56:41 +08:00
Minghao Li
52b6a9c058
add syncElectTest, config replicaNum myIndex
2022-04-21 13:59:42 +08:00
Minghao Li
672be6f4ff
del trace log flag
2022-04-21 11:35:22 +08:00
Minghao Li
0df5100836
add syncLogStoreCheck.cpp
2022-04-21 11:25:17 +08:00
Minghao Li
bbe85695cf
add syncMaybeAdvanceCommitIndex, maybe only one replica
2022-04-20 20:29:20 +08:00
Minghao Li
a6ee17fd43
add syncElectTest1.cpp
2022-04-20 20:26:10 +08:00
Minghao Li
a1a498a19a
sync integration add error code
2022-04-20 16:56:00 +08:00
Minghao Li
9cb2192a87
add SyncApplyMsg and test
2022-04-20 14:30:34 +08:00
Minghao Li
6035f0305d
sync integration add SyncApplyMsg
2022-04-20 11:51:00 +08:00
Shengliang Guan
b66718a4d8
feat: report service status
2022-04-19 21:39:42 +08:00
Minghao Li
9a7924049f
sync integration
2022-04-19 15:43:24 +08:00
Minghao Li
01008939f2
sync snapshot
2022-04-19 11:51:51 +08:00
Minghao Li
7066274cc7
add sync format code
2022-04-18 21:50:56 +08:00
afwerar
c11946fd75
[TD-13756]<fix>: Fix macro name error.
2022-04-11 18:55:43 +08:00
afwerar
2662a3b69d
[TD-13254]<fix>: make 3.0 grant.
2022-04-10 19:08:16 +08:00
afwerar
222db126bc
[TD-13758]<fix>: redefine memory api.
2022-03-26 00:29:53 +08:00
Minghao Li
16b44c9e28
sync refactor
2022-03-25 10:37:26 +08:00
Minghao Li
83ecb8dd30
sync refactor
2022-03-24 19:40:37 +08:00
Minghao Li
61f227816d
sync refactor
2022-03-24 18:41:20 +08:00
Minghao Li
b3ec7c8261
sync refactor
2022-03-24 17:30:50 +08:00
Minghao Li
e58812aab5
sync refactor
2022-03-24 11:40:36 +08:00
Minghao Li
b05706f9cf
sync refactor
2022-03-23 18:53:58 +08:00
Minghao Li
d5188f14f9
sync refactor
2022-03-23 17:56:32 +08:00
Minghao Li
996886e726
sync refactor
2022-03-23 17:08:07 +08:00
Minghao Li
7c6fbbfbd1
sync refactor
2022-03-22 16:58:36 +08:00
Minghao Li
f7432337fd
sync refactor
2022-03-22 16:43:30 +08:00
Minghao Li
1c3113686e
sync refactor
2022-03-22 16:17:17 +08:00
Minghao Li
944bb33156
sync refactor
2022-03-22 15:29:32 +08:00
Minghao Li
559f570ea0
sync refactor
2022-03-22 14:43:58 +08:00
Minghao Li
0c9e64f0d2
sync refactor
2022-03-22 13:18:29 +08:00
Minghao Li
c5c00d5955
sync refactor
2022-03-22 10:42:02 +08:00
Minghao Li
3139aaef05
sync refactor
2022-03-21 20:06:57 +08:00
Minghao Li
48aace92c5
sync refactor
2022-03-21 19:26:48 +08:00
Minghao Li
3a053453c6
sync refactor
2022-03-21 17:07:00 +08:00
Minghao Li
b8a13daf9f
sync refactor
2022-03-21 16:56:37 +08:00
Minghao Li
0f176a3afc
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-21 16:51:15 +08:00
Minghao Li
1251d64e81
sync refactor
2022-03-21 16:42:30 +08:00
Minghao Li
7129645023
sync refactor
2022-03-21 16:28:50 +08:00
Minghao Li
82144e35f0
sync refactor
2022-03-21 16:00:57 +08:00
afwerar
79057240bd
[TD-13759]<fix>: redefine thread api.
2022-03-20 00:47:45 +08:00
Minghao Li
aea4e0f472
sync refactor
2022-03-18 19:09:22 +08:00
Minghao Li
3ce39eec1c
sync refactor
2022-03-18 18:42:49 +08:00
Minghao Li
4ddb1272ad
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-18 17:48:04 +08:00
Minghao Li
736dfaf064
sync refactor
2022-03-18 17:46:40 +08:00
Minghao Li
21feed915f
sync refactor
2022-03-18 17:23:48 +08:00
Li Minghao
f0917eeec2
Merge pull request #10822 from taosdata/feature/3.0_mhli
...
Feature/3.0 mhli
2022-03-18 16:07:16 +08:00
Minghao Li
59ae887e30
sync refactor
2022-03-18 15:24:38 +08:00
Minghao Li
5de67d4256
sync refactor
2022-03-18 15:21:40 +08:00
Minghao Li
b5547c7a3d
sync refactor
2022-03-18 15:05:56 +08:00
Minghao Li
ef61d3ee94
sync refactor
2022-03-18 11:47:46 +08:00
Minghao Li
6a7f5c5fd2
sync refactor
2022-03-18 11:29:03 +08:00
Li Minghao
6a18279dd6
Merge pull request #10801 from taosdata/feature/3.0_mhli
...
sync refactor
2022-03-18 09:38:55 +08:00
Minghao Li
11c8ac91da
sync refactor
2022-03-17 18:55:26 +08:00
Li Minghao
d2366f6320
Merge pull request #10796 from taosdata/feature/3.0_mhli
...
Feature/3.0 mhli
2022-03-17 16:45:08 +08:00
Minghao Li
e5b0e1465d
sync refactor
2022-03-17 16:33:10 +08:00
Minghao Li
13aa59409d
sync refactor
2022-03-17 16:22:51 +08:00
Minghao Li
9db8804581
sync refactor
2022-03-17 15:53:28 +08:00
afwerar
30c10ef8b3
[TD-13063]<fix>: prepare for win compilation.
2022-03-17 14:22:36 +08:00
Minghao Li
bc60b00d75
sync refactor
2022-03-16 21:22:56 +08:00
Minghao Li
5ab55c6554
sync refactor
2022-03-16 21:21:48 +08:00
Minghao Li
4d4fabf403
sync refactor
2022-03-16 21:11:20 +08:00
Minghao Li
acea32ed41
sync refactor
2022-03-16 20:17:32 +08:00
Minghao Li
fda9803c17
sync refactor
2022-03-16 20:03:22 +08:00
Minghao Li
f22226a44e
sync refactor
2022-03-16 17:16:10 +08:00
Minghao Li
5387e4ff7d
sync refactor
2022-03-16 16:54:55 +08:00
Minghao Li
b08cdf2f82
sync refactor
2022-03-16 16:20:01 +08:00
Minghao Li
acfe73ed18
sync refactor
2022-03-16 15:47:49 +08:00
Minghao Li
90478b8742
sync refactor
2022-03-16 15:24:11 +08:00
Minghao Li
f7cd75544c
sync raft store
2022-03-16 15:09:56 +08:00
Minghao Li
6fcbca5b39
sync ping
2022-03-16 11:45:12 +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
Minghao Li
b5b1417a8b
sync append entries (sync-io)
2022-03-16 10:54:06 +08:00
Shuduo Sang
23bef711fc
Feature/sangshuduo/td 13063 3.0 windows ( #10720 )
...
* [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
2022-03-15 21:35:04 +08:00
Minghao Li
a69330b68d
sync append entries (sync-io)
2022-03-15 14:07:45 +08:00
Minghao Li
09e2f36ddd
sync append entries
2022-03-15 14:04:16 +08:00
Minghao Li
17e6071033
sync index
2022-03-15 10:47:11 +08:00
Minghao Li
f924c1b879
sync index
2022-03-14 20:43:35 +08:00
Minghao Li
7c868aea85
sync index
2022-03-14 18:44:53 +08:00
Minghao Li
8ae9fb6ae1
sync index
2022-03-14 18:22:39 +08:00
Minghao Li
9734b9b0ec
sync index
2022-03-14 17:02:43 +08:00
Minghao Li
a471152b96
sync index
2022-03-14 16:34:01 +08:00
Minghao Li
7d897369d5
sync index
2022-03-14 16:27:25 +08:00
Minghao Li
1a78917767
sync index
2022-03-14 14:05:40 +08:00
Minghao Li
51ceed983f
sync io test
2022-03-13 16:36:32 +08:00
Minghao Li
1336e08ad0
sync io
2022-03-13 16:27:14 +08:00
Minghao Li
9bac1deeb9
sync io
2022-03-13 16:19:54 +08:00
Minghao Li
7607169b17
sync io
2022-03-12 17:19:54 +08:00
Minghao Li
2796c0d171
sync comment
2022-03-12 17:13:49 +08:00
Minghao Li
81be154e0d
sync refactor
2022-03-12 17:02:15 +08:00
Minghao Li
be532bd5eb
sync refactor
2022-03-12 12:29:44 +08:00
Minghao Li
94efe10119
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-11 19:57:24 +08:00
Minghao Li
f1624582cc
sync refactor
2022-03-11 19:56:17 +08:00
Minghao Li
317f7669d7
sync refactor
2022-03-11 19:52:59 +08:00
Minghao Li
690dabd617
sync refactor
2022-03-11 19:11:38 +08:00
Minghao Li
78b5da0e0f
sync refactor
2022-03-11 17:08:27 +08:00
afwerar
e04ef027ab
[TD-13768]<fix>: redefine time api.
2022-03-11 16:49:07 +08:00
Minghao Li
7469d62fd7
sync refactor
2022-03-11 15:05:10 +08:00
Minghao Li
a0a62227c8
sync refactor
2022-03-11 11:47:56 +08:00
Minghao Li
6a3869a3bc
sync refactor
2022-03-11 10:50:50 +08:00
Minghao Li
88aef2d1ab
sync refactor
2022-03-10 19:21:02 +08:00
Minghao Li
73d768d273
sync refactor
2022-03-10 16:54:26 +08:00
Minghao Li
901b5976cc
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-10 16:18:32 +08:00
Minghao Li
889d1339e5
sync refactor
2022-03-10 16:18:16 +08:00
Minghao Li
ebeb4bb7a6
sync refactor
2022-03-10 14:34:02 +08:00
afwerar
651b3971c0
[TD-13766]<fix>: redefine sleep api.
2022-03-10 11:56:11 +08:00
Minghao Li
a51e576126
sync refactor
2022-03-10 11:21:04 +08:00
afwerar
c6de196769
[TD-13765]<fix>: redefine rand api.
2022-03-10 00:36:30 +08:00
Minghao Li
30be9d3e31
sync refactor
2022-03-09 20:04:39 +08:00
Minghao Li
d083c79744
sync refactor
2022-03-09 19:13:09 +08:00
Minghao Li
3dfb9bb022
sync refactor
2022-03-09 18:56:39 +08:00
Minghao Li
c462ef61e3
sync refactor
2022-03-09 18:35:57 +08:00
Minghao Li
41516e024a
sync refactor
2022-03-09 18:33:41 +08:00
Minghao Li
d87411116b
sync refactor
2022-03-09 16:34:34 +08:00
Minghao Li
fa7f441f42
sync refactor
2022-03-09 15:07:43 +08:00
Minghao Li
0c8f62f701
sync refactor
2022-03-09 14:51:02 +08:00
Minghao Li
2fcc970d79
sync refactor
2022-03-09 11:27:22 +08:00
Minghao Li
d3b1d5d8f1
sync refactor
2022-03-09 10:58:22 +08:00
Minghao Li
3b4149ba32
sync refactor
2022-03-09 10:15:40 +08:00
Minghao Li
3fb4b86248
sync refactor
2022-03-08 20:43:12 +08:00
Minghao Li
d958655dd3
sync refactor
2022-03-08 20:22:31 +08:00
Minghao Li
2ae6f747f9
sync refactor
2022-03-08 17:07:29 +08:00
Minghao Li
54c260738f
sync refactor
2022-03-08 14:45:03 +08:00
Minghao Li
ffe442301c
sync refactor
2022-03-08 14:19:50 +08:00
Minghao Li
f556d98159
sync refactor
2022-03-08 13:55:13 +08:00
Minghao Li
c9c48e870d
sync refactor
2022-03-08 13:43:54 +08:00
Minghao Li
264c30e5db
sync refactor
2022-03-08 10:52:18 +08:00
Minghao Li
cf0857e113
sync refactor
2022-03-07 16:59:16 +08:00
Minghao Li
b8aa420e3a
sync refactor
2022-03-07 16:46:17 +08:00
Minghao Li
586f9035f0
sync refactor
2022-03-07 16:29:21 +08:00
Minghao Li
fa8284af73
sync refactor
2022-03-07 16:17:41 +08:00
Minghao Li
25af19bd24
sync refactor
2022-03-07 16:06:07 +08:00
Minghao Li
a0319ae49b
sync refactor
2022-03-07 14:42:04 +08:00
Minghao Li
b59028365a
sync refactor
2022-03-07 14:18:46 +08:00
Minghao Li
5696c85aa8
sync refactor
2022-03-06 18:58:20 +08:00
Minghao Li
97a71fd81e
sync refactor
2022-03-06 17:59:24 +08:00
Minghao Li
d95593ac46
sync refactor
2022-03-06 12:51:42 +08:00
Minghao Li
551d7cfa6d
sync refactor
2022-03-06 12:25:12 +08:00
Minghao Li
29fab2e30a
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-05 15:06:59 +08:00
Minghao Li
b7e22154b2
sync timeout
2022-03-05 15:03:49 +08:00
Minghao Li
b75da82c96
sync timeout
2022-03-05 12:28:34 +08:00
Minghao Li
98b3530699
sync timeout
2022-03-04 16:54:25 +08:00
Minghao Li
8d789bba31
sync enq
2022-03-04 15:48:09 +08:00