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