Commit Graph

339 Commits

Author SHA1 Message Date
Shengliang Guan bc8e6b7fd7 refactor: adjust vnode sync 2022-06-08 21:17:17 +08:00
Shengliang Guan 30da7560f8 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-06-04 11:50:47 +08:00
Shengliang Guan e35ebdadac refactor: rename LEADER to leader 2022-06-02 14:35:59 +08:00
Li Minghao e3068a60ee
Merge pull request #13180 from taosdata/feature/3.0_mhli
enh(sync): add SSnapshot callback: reader, writer
2022-05-29 07:37:54 +08:00
Minghao Li cd2e8fe730 enh(sync): add SSnapshot callback: reader, writer 2022-05-29 07:15:29 +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
Minghao Li 3327a0692f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-05-27 21:34:54 +08:00
Minghao Li b10f8e4aa2 fix(sync) raftCfgPersist 2022-05-27 21:32:28 +08:00
Li Minghao aa691d137f
Merge pull request #13096 from taosdata/feature/3.0_mhli
enh(sync) snapshot sender, receiver
2022-05-27 18:55:51 +08:00
Minghao Li 3a1be0c58a refactor: make logStore static 2022-05-27 18:00:09 +08:00
Minghao Li 5a754023f5 refactor: make logStore static 2022-05-27 16:36:44 +08:00
Minghao Li 5471792549 refactor: make logStoreGetLastEntry static 2022-05-27 16:13:02 +08:00
Minghao Li d45221c863 enh(sync) logStoreGetEntry -> pLogStore->getEntry 2022-05-27 15:41:19 +08:00
Minghao Li b7be03898c enh(sync) snapshot sender, receiver 2022-05-27 15:35:26 +08:00
Minghao Li 8141c430bc enh(sync) snapshot sender, receiver 2022-05-27 15:09:17 +08:00
Minghao Li 17ed7e0747 fix(sync) delete assert, due to config change 2022-05-27 00:00:24 +08:00
Minghao Li 1a22de765c fix(sync) add multi mnodes 2022-05-26 18:03:38 +08:00
Minghao Li f078f5b300 fix(sync): syncSetStandby 2022-05-26 15:08:20 +08:00
Minghao Li 4e1aa6b5c5 refactor: config change 2022-05-26 14:21:24 +08:00
Minghao Li 9a2eddda4c fix(sync), call FpCommitCb twice when FOLLOWER 2022-05-26 11:02:35 +08:00
Minghao Li 8c5f6b6849 fix(sync): persist isStandby 2022-05-25 18:32:34 +08:00
Minghao Li 104a207579 FpReConfigCb 2022-05-25 14:43:45 +08:00
Minghao Li 81d0798f5f refactor: update config when there's one locally 2022-05-25 14:27:59 +08:00
Minghao Li cb20717ce6 refactor: votesRespondUpdate 2022-05-24 20:23:11 +08:00
Minghao Li 94438de0ec enh(sync): syncStartStandBy 2022-05-24 19:45:09 +08:00
Minghao Li aa85781560 enh(sync): add mndSnapshotRead mndSnapshotApply 2022-05-24 15:28:12 +08:00
Minghao Li 800ef42a26 Merge branch 'feature/sync-mnode-integration' of https://github.com/taosdata/TDengine into feature/sync-mnode-integration 2022-05-24 14:47:11 +08:00
Minghao Li aa1de8b34a enh(sync): add FpSnapshotRead FpSnapshotApply 2022-05-24 14:46:22 +08:00
Shengliang Guan 077ea4a14f fix: avoid memory leak in mnode sync 2022-05-24 11:58:50 +08:00
Shengliang Guan 07fee01d1c fix: avoid memory leak in mnode sync 2022-05-24 11:26:17 +08:00
Shengliang Guan 0e8e04805a fix: avoid memory leak 2022-05-24 09:46:54 +08:00
Minghao Li c7691590be enh(sync) add syncIsRestoreFinish 2022-05-23 23:53:15 +08:00
Minghao Li 1d7bdbc351 fix(sync) sync/mnode integration dead lock 2022-05-23 21:37:13 +08:00
Minghao Li 102a08f44b enh(sync) sync/mnode integration, add log 2022-05-23 20:26:12 +08:00
Shengliang Guan 3ff366cdaf Merge remote-tracking branch 'origin/feature/sync-mnode-integration' into fix/mnode 2022-05-23 18:33:09 +08:00
Minghao Li ee4b694a35 enh(sync) sync/mnode integration, syncStart async -> sync 2022-05-23 18:10:04 +08:00
Shengliang Guan 8bfbc0f315 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-23 16:40:03 +08:00
Hongze Cheng d784da0da0 feat: discard const when decode 2022-05-23 07:47:49 +00:00
Minghao Li 4535722957 enh(sync) sync/mnode integration, syncStart async -> sync 2022-05-23 15:41:04 +08:00
Minghao Li 97b1e95ad8 enh(sync) sync/mnode integration, add term, currentTerm in cbMeta 2022-05-23 12:14:53 +08:00
Shengliang Guan e06f9fd05c refactor: sync integrate into mnode 2022-05-22 16:04:50 +08:00
Shengliang Guan c4428ba599 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-22 12:07:39 +08:00
Minghao Li 249aecacda enh(sync) sync/mnode integration 2022-05-21 21:26:27 +08:00
Minghao Li 1a5be99bd4 fix(sync): syncRespMgrGetAndDel 2022-05-21 17:01:18 +08:00
Shengliang Guan f2a84eda09 refactor: adjust vnode header file 2022-05-20 10:45:43 +08:00
Shengliang Guan 0f9cd43027 refactor: adjust sync header file 2022-05-20 10:30:30 +08:00
Yihao Deng 040292cb80
Merge pull request #12718 from taosdata/enh/deleteDupCode
Enh/delete dup code
2022-05-19 22:12:46 +08:00
yihaoDeng 76b9a5acee fix: avoid invalid read/write 2022-05-19 21:56:39 +08:00