Commit Graph

799 Commits

Author SHA1 Message Date
Benguang Zhao 36bf800e15 fix: improve fault tolerance on disk space full with error handling enhanced 2022-10-14 22:02:27 +08:00
Shengliang Guan 78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Minghao Li 4d123c4da6 refactor(sync): add interface in sync 2022-10-14 11:18:48 +08:00
Minghao Li 2ae4081a3f refactor(sync): add double queues in vnode 2022-10-13 20:57:36 +08:00
Minghao Li 733440b352 refactor(sync): add double queues in vnode 2022-10-13 14:37:18 +08:00
Hongze Cheng c79cc7e454 more code format 2022-10-13 14:06:27 +08:00
Shengliang Guan 3be4a2ed9c Merge remote-tracking branch 'origin/3.0' into fix/TD-19245 2022-09-29 19:42:09 +08:00
Shengliang Guan e94646ca70 fix: coverity issues 2022-09-29 19:41:54 +08:00
Shengliang Guan c56dd86399 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:29:30 +08:00
Shengliang Guan 4df3303514 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:24:45 +08:00
Benguang Zhao b71a9e3483 enh: improve error handling in syncNodeOpen 2022-09-28 13:34:13 +08:00
Shengliang Guan f16029ad78
Merge pull request #17042 from taosdata/FIX/TD-19226-3.0
fix: avoid assertion on changing num of spaces in JSON files raft_config.json and raft_store.json
2022-09-27 09:33:41 +08:00
Shengliang Guan f4cbf6dd75
Merge pull request #17040 from taosdata/fix/ZhiqiangWang/TD-13064-fix-mac-test-error
os: fix Mac test error
2022-09-26 18:53:48 +08:00
afwerar 91b35a0b62 os: fix Mac test error 2022-09-26 11:30:40 +08:00
Benguang Zhao b10bc2ed5b fix: avoid assertion on changing num of spaces in JSON files raft_config.json and raft_store.json 2022-09-23 19:17:39 +08:00
afwerar 5deb0e25d5 build: close default gtest compile and docker 2022-09-23 16:38:20 +08:00
Minglei Jin 8bc6a6297f enh(sync): log entry cache for sync 2022-09-20 19:57:02 +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 c151dd3b92 fix(sync): mem leak 2022-09-07 10:35:44 +08:00
Minghao Li 87dd0fc168 refactor(sync): delete ASSERT(0) in snapshotReceiverFinish 2022-09-01 10:54:02 +08:00
Shengliang Guan 4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
Minghao Li 8da7950282 refactor(sync): close receiver when become leader 2022-08-22 15:40:28 +08:00
Minghao Li dd212b5dbb refactor(sync): modify config file len 2022-08-22 14:25:36 +08:00
Minghao Li 8a32c0c189 refactor(sync): adjust strategy for dynamic quorum 2022-08-18 14:55:57 +08:00
Minghao Li 2ca5bdc708 refactor(sync): add syncNodeDynamicQuorum 2022-08-17 15:39:38 +08:00
Minghao Li eee4c0853d refactor(sync): add syncNodeAppendEntriesOnePeer 2022-08-17 10:34:53 +08:00
Minghao Li 4164d14637 refactor(sync): add syncIsReadyForRead 2022-08-15 18:50:14 +08:00
Minghao Li 6cff4dcfd8 refactor(sync): add syncIsReadyForRead 2022-08-15 14:42:40 +08:00
Minghao Li 8f0361bf75 refactor(sync): delete expired config index 2022-08-11 17:42:04 +08:00
Minghao Li 8328aae50f refactor(sync): add raft config index test 2022-08-11 15:22:44 +08:00
Minghao Li dc42544e9e refactor(sync): add leader, follower call back2 2022-08-10 20:45:36 +08:00
Minghao Li b4c8685766 refactor(sync): add leader, follower call back 2022-08-10 17:17:30 +08:00
Minghao Li 6cabe5847e fix(sync): delete memory after optimized 2022-08-10 11:26:23 +08:00
Li Minghao 7722f88093
Merge pull request #15861 from taosdata/feature/3.0_mhli
refactor(sync): speed up replicate
2022-08-08 20:36:49 +08:00
Minghao Li df18cc5f47 refactor(sync): speed up replicate 2022-08-08 19:46:37 +08:00
Li Minghao 4c775b118a
Merge pull request #15843 from taosdata/feature/3.0_mhli
refactor(sync): speed up replicate
2022-08-08 17:26:34 +08:00
Minghao Li 62b07dbe5d refactor(sync): speed up replicate 2022-08-08 15:10:32 +08:00
Li Minghao ad55155897
Merge pull request #15838 from taosdata/feature/3.0_mhli
refactor(sync): make leader life longer
2022-08-08 14:03:33 +08:00
Minghao Li d9b8417d7b refactor(sync): make leader life longer 2022-08-08 14:01:31 +08:00
Minghao Li 0f63837e69 refactor(sync): make leader life longer 2022-08-08 13:25:02 +08:00
Li Minghao 363a4f38e3
Merge pull request #15821 from taosdata/feature/3.0_mhli
refactor(sync): make leader life longer
2022-08-08 10:32:55 +08:00
Minghao Li 2f1bf1eba9 refactor(sync): make leader life longer 2022-08-06 21:41:03 +08:00
Minghao Li f8b0c98a71 refactor(sync): make leader life longer 2022-08-06 20:44:14 +08:00
Minghao Li f83ca89ea2 refactor(sync): make leader life longer 2022-08-06 19:40:10 +08:00
Zhiqiang Wang 0f13d640b9
Merge pull request #15798 from taosdata/fix/ZhiqiangWang/TD-15311-fix-win-sync-compile-error
os: fix win sync compile error
2022-08-06 14:34:39 +08:00
Li Minghao 3e26cbbb61
Merge pull request #15800 from taosdata/feature/3.0_mhli
refactor(sync): make leader life longer
2022-08-06 14:13:09 +08:00
afwerar d42c9b0eae os: fix win sync compile error 2022-08-06 13:44:01 +08:00
Minghao Li 05229b6650 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-08-06 13:18:03 +08:00
Minghao Li e628b70726 refactor(sync): make leader life longer 2022-08-06 13:17:08 +08:00
afwerar 240a4a197c os: fix win sync compile error 2022-08-06 13:10:01 +08:00
afwerar 457cae2561 os: fix win sync compile error 2022-08-06 11:46:05 +08:00
gccgdb1234 77d8657e69 fix: correct wrong parameter thread_count_create_tbl 2022-08-06 10:48:50 +08:00
Minghao Li 7d50c26207 refactor(sync): make leader life longer 2022-08-05 20:51:29 +08:00
Minghao Li 8dbacfdfe3 refactor(sync): make leader life longer 2022-08-05 17:42:35 +08:00
Minghao Li 27d72283bc refactor(sync): make leader life longer 2022-08-05 16:45:21 +08:00
Minghao Li 327b938cbb refactor(sync): make leader life longer 2022-08-05 15:33:44 +08:00
Minghao Li e23c969d26 refactor(sync): make leader life longer 2022-08-05 13:33:49 +08:00
Minghao Li 32830ca9c0 refactor(sync): make leader life longer 2022-08-04 20:44:10 +08:00
Minghao Li 9be864a6be refactor(sync): make leader life longer 2022-08-04 20:36:12 +08:00
Shengliang Guan 72b8e0eb20 refactor: adjust logs 2022-08-03 19:17:42 +08:00
Minghao Li 998e24474c refactor(sync): change wal fsync flag to false 2022-08-03 19:15:07 +08:00
Minghao Li f98965d749 refactor(sync): delete find sync pointer optimized 2022-08-03 14:41:38 +08:00
Shengliang Guan f7e8341457 fix: adjust logs 2022-08-03 10:56:37 +08:00
Shengliang Guan d5ff7c3207 fix: remove redundant syncNodeReplicate calls 2022-08-02 21:02:26 +08:00
Shengliang Guan 11bf501cad refactor: adjust logs 2022-08-02 19:59:02 +08:00
Shengliang Guan 56f2e49764 refactor: adjust logs 2022-08-02 17:12:07 +08:00
Shengliang Guan efb0127fbf refactor: adjust logs 2022-08-02 16:48:49 +08:00
Shengliang Guan d5aea7dac2 refactor: adjust sync log 2022-08-02 16:39:12 +08:00
Shengliang Guan 99f29f6455 refactor: adjust log 2022-08-01 17:23:52 +08:00
Minghao Li cd7d434ed8 refactor(sync): delete trace log 2022-08-01 15:50:51 +08:00
Minghao Li f9f5449b5d refactor(sync): modify auto bench 2022-08-01 14:13:03 +08:00
Minghao Li b529f05aec refactor(sync): add test case 2022-08-01 11:03:18 +08:00
Minghao Li ad3695cee6 refactor(sync): return when snapshot start > end 2022-07-30 18:15:15 +08:00
Minghao Li 4b6b1de91c refactor(sync): restart hb timer when replicate get error term 2022-07-30 17:30:10 +08:00
Minghao Li 2885767a93 refactor(sync): delete speed up2 2022-07-30 11:14:45 +08:00
Minghao Li e0e23fc2cb refactor(sync): speed up sync point2 2022-07-29 21:17:39 +08:00
Minghao Li 7ce5fb11b0 refactor(sync): speed up sync point 2022-07-29 21:05:56 +08:00
Minghao Li 7dc12d7e4f refactor(sync): add test case 2022-07-29 11:03:35 +08:00
Minghao Li 5ad0ac9500 refactor(sync): add propose batch 2022-07-28 20:24:31 +08:00
Minghao Li 64f4325bd7 refactor(sync): modify propose batch interface 2022-07-28 17:55:15 +08:00
Minghao Li b5ebd55be7 refactor(sync): add test case 2022-07-28 14:36:11 +08:00
Minghao Li 166331c377 refactor(sync): add pre-commit interface 2022-07-26 19:12:13 +08:00
Minghao Li 49a4e83d48 refactor(sync): add pre-commit interface 2022-07-26 13:23:56 +08:00
Minghao Li 0addf09996 refactor(sync): add pre-commit interface 2022-07-26 11:24:39 +08:00
Minghao Li 43e2f8bc2b refactor(sync): add pre-commit interface 2022-07-26 10:59:56 +08:00
Minghao Li cedad48a73 refactor(sync): add ref in log entry 2022-07-25 17:47:15 +08:00
Minghao Li 7f2d0dc077 refactor(sync): add entry cache test 2022-07-25 14:26:41 +08:00
Minghao Li dcdb7144c4 refactor(sync): delete timeout check 2022-07-23 19:54:56 +08:00
Minghao Li 0b494d256f refactor(sync): add ref id in raft entry 2022-07-23 19:18:18 +08:00
Minghao Li 75f9f415e6 refactor(sync): add entry cache test 2022-07-23 16:05:34 +08:00
Minghao Li b375a69aa8 refactor(sync): add log tool 2022-07-22 17:10:02 +08:00
Minghao Li aebf398b9a refactor(sync): add trace log 2022-07-21 17:34:29 +08:00
Minghao Li da2686ce69 refactor(sync): add log tools 2022-07-21 16:43:56 +08:00
Minghao Li ee237b091d refactor(sync): add log tools 2022-07-21 15:43:55 +08:00
Minghao Li c4bb5a1a52 refactor(sync): add log tools 2022-07-21 15:25:46 +08:00
Minghao Li 8915486ec1 fix(sync): raft store persist 2022-07-21 14:51:02 +08:00
Minghao Li ac51192084 refactor(sync): add trace log 2022-07-21 13:54:24 +08:00
Minghao Li 3eff1f03e0 refactor(sync): add trace log 2022-07-21 10:57:14 +08:00
Minghao Li 540f519ad7 refactor(sync): add trace log 2022-07-20 20:24:49 +08:00