Commit Graph

48 Commits

Author SHA1 Message Date
Benguang Zhao 99bfc95d54 fix: synchronize access to raftStore 2023-02-13 19:00:10 +08:00
Shengliang Guan 2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Shengliang Guan 4940080a1c refact: adjust sync log prints 2022-11-13 18:00:11 +08:00
Shengliang Guan cd19ff0173 enh: adjust request vote reply 2022-11-12 13:17:56 +08:00
Shengliang Guan fd152f00ec refact: adjust head file and sync log 2022-11-11 14:35:16 +08:00
Shengliang Guan 8a051c001d refact: adjust sync debug codes 2022-11-10 17:05:13 +08:00
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minghao Li 8bdec5f2f2 refactor(sync): delete standby 2022-10-21 11:53:14 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Minghao Li 357951e947 refactor(sync): modify some code 2022-10-19 16:08:42 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Minghao Li 797d1324c5 refactor(sync): request vote 2022-10-15 09:28:55 +08:00
Minghao Li 4d123c4da6 refactor(sync): add interface in sync 2022-10-14 11:18:48 +08:00
Minghao Li 8dbacfdfe3 refactor(sync): make leader life longer 2022-08-05 17:42:35 +08:00
Minghao Li e23c969d26 refactor(sync): make leader life longer 2022-08-05 13:33:49 +08:00
Minghao Li 7808fdfccb refactor(sync): add trace log 2022-07-20 17:19:42 +08:00
Minghao Li 90e7d794f3 fix(sync): reset commit index by snapshot when open sync 2022-07-20 13:32:38 +08:00
Minghao Li 11b473fe9e refactor(sync): add trace log 2022-07-20 11:56:46 +08:00
Minghao Li 4c3e1fdaa9 refactor(sync): add trace log 2022-07-20 11:34:51 +08:00
Minghao Li 322bbc493e refactor(sync): add trace log 2022-07-20 11:09:54 +08:00
Minghao Li 2dd7abd47e refactor(sync): add vnode snapshot case 2022-07-11 10:34:02 +08:00
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Minghao Li 0df1415caf refactor(sync): add trace log 2022-06-25 11:30:34 +08:00
Minghao Li ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +08:00
Minghao Li e86ee68f8b refactor(sync): sync snapshot 2022-06-08 22:43:58 +08:00
Minghao Li 2547e8d02e refactor: sync index 2022-06-08 11:03:28 +08:00
Minghao Li af27303a4c enh(sync): update raft core functions 2022-06-06 16:02:25 +08:00
Minghao Li fd823c8670 enh(sync): syncNodeOnRequestVoteReplySnapshotCb 2022-05-31 18:12:17 +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 aea4e0f472 sync refactor 2022-03-18 19:09:22 +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 b08cdf2f82 sync refactor 2022-03-16 16:20:01 +08:00
Minghao Li 90478b8742 sync refactor 2022-03-16 15:24:11 +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