Shengliang Guan
15fade84d8
fix: compile error
2022-10-22 22:21:11 +08:00
Shengliang Guan
2d3f5274b7
fix: compile error in mac
2022-10-22 08:39:58 +08:00
Benguang Zhao
3b0968d7f9
enh: enable the -Wformat=2 compiler option
2022-10-19 09:24:15 +08:00
Minghao Li
c5ec1741bc
refactor(sync): add syncHeartbeatReply
2022-09-07 18:02:10 +08:00
Minghao Li
d9363214b7
refactor(sync): add syncHeartbeat
2022-09-07 15:29:04 +08:00
Minghao Li
2ca5bdc708
refactor(sync): add syncNodeDynamicQuorum
2022-08-17 15:39:38 +08:00
Minghao Li
64f4325bd7
refactor(sync): modify propose batch interface
2022-07-28 17:55:15 +08:00
Shengliang Guan
6bb8a9ad8a
refactor: adjust logs
2022-07-08 19:41:23 +08:00
Shengliang Guan
a5e8ddbc56
refactor: adjust logs
2022-07-08 18:00:19 +08:00
Minghao Li
1c3c270307
fix(sync): snapshot strategy wal first
2022-07-07 17:00:01 +08:00
Minghao Li
a5d3b7033a
refactor(sync): add snapshot writer param
2022-07-04 14:18:06 +08:00
Minghao Li
856806bb22
refactor(sync): add snapshot2 interface
2022-07-04 13:33:49 +08:00
Minghao Li
4fc500c91c
refactor(sync): add SyncAppendEntriesBatch
2022-07-02 16:01:47 +08:00
Minghao Li
086ec29ca0
refactor(sync): add SyncClientRequestBatch
2022-07-02 14:41:54 +08:00
Minghao Li
24a3c817a4
refactor(sync): add batch propose
2022-06-30 16:44:49 +08:00
Minghao Li
376bf46a64
refactor(sync): add SyncClientRequestBatch
2022-06-30 15:28:23 +08:00
Minghao Li
1a8cf049b7
refactor(sync): add syncAppendEntriesBatch
2022-06-30 13:39:13 +08:00
Minghao Li
ecc43b6697
refactor(sync): delete some assert
2022-06-21 16:02:36 +08:00
Minghao Li
e441bd266b
refactor(sync): add changing state
2022-06-20 17:48:56 +08:00
Minghao Li
dffbec29c7
refactor(sync): add last config index z
2022-06-11 15:31:49 +08:00
Minghao Li
fa54663871
refactor(sync): add last config index
2022-06-11 13:52:17 +08:00
Minghao Li
6586f78599
refactor(sync): add last config index
2022-06-11 12:44:58 +08:00
Minghao Li
d81f5e9f77
fix(sync): add detail log flag
2022-06-09 11:18:48 +08:00
Minghao Li
29b97fa0ad
refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb
2022-06-08 19:53:07 +08:00
Minghao Li
0e41ab7f99
Merge branch 'feature/sync-refactor' of https://github.com/taosdata/TDengine into feature/sync-refactor
2022-06-07 18:34:07 +08:00
Minghao Li
31b54e7462
enh(sync): add privateTerm into SyncSnapshotRsp, SyncSnapshotSend, SSyncSnapshotReceiver
2022-06-07 18:33:06 +08:00
Shengliang Guan
9efa68ab96
Merge branch 'fix/mnode' into feature/sync-refactor
2022-06-07 17:11:52 +08:00
Minghao Li
7852188394
enh(sync): add privateTerm into SSyncSnapshotSender, SyncAppendEntries, SyncAppendEntriesReply
2022-06-07 16:49:07 +08:00
Shengliang Guan
a047d4a559
Merge remote-tracking branch 'origin/feature/sync-refactor' into fix/mnode
2022-06-07 16:37:50 +08:00
Shengliang Guan
30da7560f8
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-06-04 11:50:47 +08:00
Minghao Li
757a1248dc
fix: send snapshot
2022-06-01 21:23:39 +08:00
Minghao Li
6d8733a232
enh(sync): add SSyncSnapshotSender
2022-05-31 16:14:19 +08:00
Minghao Li
cdc0dc487f
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-05-30 21:24:05 +08:00
Minghao Li
c5526ef915
enh(sync): add SyncSnapshotRsp SyncSnapshotSend
2022-05-30 21:11:14 +08:00
Cary Xu
f2b4cca23d
fix: init buffer to avoid invalid write
2022-05-29 01:10:32 +08:00
Cary Xu
890075ef4a
fix: init buf to avoid invalid write
2022-05-29 00:59:23 +08:00
Cary Xu
5374680649
fix: init buffer to avoid invalid write
2022-05-29 00:37:18 +08:00
Shengliang Guan
07fee01d1c
fix: avoid memory leak in mnode sync
2022-05-24 11:26:17 +08:00
Hongze Cheng
d784da0da0
feat: discard const when decode
2022-05-23 07:47:49 +00: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
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
Minghao Li
7066274cc7
add sync format code
2022-04-18 21:50:56 +08:00
afwerar
222db126bc
[TD-13758]<fix>: redefine memory api.
2022-03-26 00:29:53 +08:00
Minghao Li
559f570ea0
sync refactor
2022-03-22 14:43:58 +08:00
Minghao Li
9db8804581
sync refactor
2022-03-17 15:53:28 +08:00
Minghao Li
acea32ed41
sync refactor
2022-03-16 20:17:32 +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
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
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
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
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
73d768d273
sync refactor
2022-03-10 16:54:26 +08:00
Minghao Li
ebeb4bb7a6
sync refactor
2022-03-10 14:34:02 +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
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
97a71fd81e
sync refactor
2022-03-06 17:59:24 +08:00
Minghao Li
b75da82c96
sync timeout
2022-03-05 12:28:34 +08:00
Minghao Li
8d789bba31
sync enq
2022-03-04 15:48:09 +08:00
Minghao Li
aeb94af5e0
sync encode/decode
2022-03-03 16:15:18 +08:00
Minghao Li
f263a623dd
sync encode/decode
2022-03-03 14:52:30 +08:00
Minghao Li
fe1f280ce4
sync modify timer
2022-03-02 20:43:03 +08:00
Minghao Li
6d6e7bdf3d
sync modify timer
2022-03-02 18:30:21 +08:00
Minghao Li
8057e44d17
sync modify timer
2022-03-02 17:40:22 +08:00
Minghao Li
ee43a70c4d
sync modify timer
2022-03-02 10:43:59 +08:00
Minghao Li
12c202aa31
sync encode test
2022-03-01 18:35:07 +08:00
Minghao Li
12050c9a2a
sync encode test
2022-03-01 16:42:37 +08:00
Minghao Li
48bed2020c
sync encode test
2022-03-01 16:19:42 +08:00
Minghao Li
d57320031f
sync ping
2022-03-01 15:16:44 +08:00
Minghao Li
b55cf2bc7e
add sync code
2022-02-27 02:24:50 +08:00
Minghao Li
e8780cebed
add sync code
2022-02-26 18:30:58 +08:00
Minghao Li
296d9abe2a
add sync code
2022-02-25 15:34:24 +08:00
Minghao Li
be375fa143
add sync code
2022-02-22 11:28:15 +08:00