Minghao Li
6f29fd4020
fix(sync): snapshot begin index
2022-07-16 15:34:22 +08:00
Minghao Li
ee3ceccb0a
fix(sync): vnode snapshot sender
2022-07-10 16:05:21 +08:00
Shengliang Guan
e4a855e591
Merge remote-tracking branch 'origin/3.0' into fix/valgrind
2022-07-08 19:54:26 +08:00
Shengliang Guan
a5e8ddbc56
refactor: adjust logs
2022-07-08 18:00:19 +08:00
Minghao Li
56e65d13d1
refactor(sync): add fake syncRestoreFromSnapshot
2022-07-08 17:37:25 +08:00
Minghao Li
1c3c270307
fix(sync): snapshot strategy wal first
2022-07-07 17:00:01 +08:00
Minghao Li
83b639ae8f
refactor(sync): persist batch size
2022-07-06 14:58:38 +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
0ffc6c46f3
refactor(sync): add snapshot2 interface
2022-07-01 14:47:12 +08:00
Minghao Li
91238e823e
refactor(sync): add snapshot2 interface
2022-07-01 14:22:14 +08:00
Minghao Li
4f39cd31b0
refactor(sync): add snapshot2 interface
2022-07-01 09:50:20 +08:00
Minghao Li
4c410bd5ec
refactor(sync): refactor snapshot code
2022-06-28 11:33:14 +08:00
Minghao Li
0df1415caf
refactor(sync): add trace log
2022-06-25 11:30:34 +08:00
Minghao Li
ca4d7329ce
refactor(sync): modify wal error log
2022-06-23 14:07:18 +08:00
Minghao Li
ecc43b6697
refactor(sync): delete some assert
2022-06-21 16:02:36 +08:00
Minghao Li
0fb64add90
refactor(sync) add trace log
2022-06-21 15:09:23 +08:00
Minghao Li
5968c6353f
refactor(sync): get snapshot and create reader
2022-06-20 10:58:59 +08:00
Minghao Li
b247762931
refactor(sync) refactor trace log
2022-06-18 15:17:58 +08:00
Shengliang Guan
43f8f34b0f
refactor: adjust logs
2022-06-17 14:24:17 +08:00
Minghao Li
3fdd0c30ac
refactor(sync): add trace log
2022-06-16 19:08:44 +08:00
Minghao Li
15ac89590c
refactor(sync): add trace log
2022-06-16 17:41:01 +08:00
Minghao Li
9a9200d28b
refactor(sync): add restore finish when become leader again
2022-06-16 15:38:40 +08:00
Minghao Li
58051169d2
refactor(sync): add trace log
2022-06-16 10:54:13 +08:00
Minghao Li
6a4cdadef6
refactor(sync): add debug log
2022-06-11 21:56:44 +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
e9d466ec82
refactor(sync) delete some trace log
2022-06-10 16:51:17 +08:00
Minghao Li
736862541e
fix(sync): restart with config change
2022-06-10 15:19:11 +08:00
Minghao Li
2c38692258
refactor(sync): add log
2022-06-10 11:28:41 +08:00
Minghao Li
9a61a567c5
refactor(sync): set gRaftDetailLog false
2022-06-09 16:32:37 +08:00
Minghao Li
e86ee68f8b
refactor(sync): sync snapshot
2022-06-08 22:43:58 +08:00
Minghao Li
98a2451c15
refactor(sync): sync snapshot
2022-06-08 21:55:36 +08:00
Minghao Li
29b97fa0ad
refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb
2022-06-08 19:53:07 +08:00
Minghao Li
76185e1742
refactor(sync): SSyncSnapshotSender
2022-06-08 18:07:50 +08:00
Minghao Li
2547e8d02e
refactor: sync index
2022-06-08 11:03:28 +08:00
Minghao Li
eba8f2b543
fix(sync) send snapshot multi-times
2022-06-07 19:20:05 +08:00
Minghao Li
31b54e7462
enh(sync): add privateTerm into SyncSnapshotRsp, SyncSnapshotSend, SSyncSnapshotReceiver
2022-06-07 18:33:06 +08:00
Minghao Li
8680da282a
fix(sync): snapshot maybe change when sending
2022-06-07 15:36:41 +08:00
Minghao Li
326714a077
fix(sync): snapshot maybe change when sending
2022-06-07 14:35:20 +08:00
Minghao Li
44a893a1c1
fix(sync): snapshot maybe change when sending
2022-06-07 13:48:40 +08:00
Minghao Li
a89e455267
fix(sync): delete some assert temporary
2022-06-07 09:55:18 +08:00
Minghao Li
9baaf2cd0c
enh(sync): add log index manager
2022-06-06 20:55:59 +08:00
Minghao Li
6b329f791b
enh(sync): update raft core functions
2022-06-06 16:35:44 +08:00
Minghao Li
af27303a4c
enh(sync): update raft core functions
2022-06-06 16:02:25 +08:00
Minghao Li
7917716b4f
enh(sync): syncNodeOnAppendEntriesReplySnapshotCb
2022-05-31 19:06:55 +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
d6c57bd372
enh(sync): add snapshotEnable2
2022-05-30 13:14:48 +08:00
Cary Xu
f2b4cca23d
fix: init buffer to avoid invalid write
2022-05-29 01:10:32 +08:00
Minghao Li
7066274cc7
add sync format code
2022-04-18 21:50:56 +08:00
Minghao Li
996886e726
sync refactor
2022-03-23 17:08:07 +08:00
Minghao Li
aea4e0f472
sync refactor
2022-03-18 19:09:22 +08:00
Minghao Li
6a7f5c5fd2
sync refactor
2022-03-18 11:29:03 +08:00
Minghao Li
bc60b00d75
sync refactor
2022-03-16 21:22:56 +08:00
Minghao Li
acea32ed41
sync refactor
2022-03-16 20:17:32 +08:00
Minghao Li
f22226a44e
sync refactor
2022-03-16 17:16:10 +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
f924c1b879
sync index
2022-03-14 20:43:35 +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
551d7cfa6d
sync refactor
2022-03-06 12:25:12 +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
0e0af1de05
add sync code
2022-02-23 15:17:49 +08:00
Minghao Li
be375fa143
add sync code
2022-02-22 11:28:15 +08:00