Commit Graph

85 Commits

Author SHA1 Message Date
Shengliang Guan edb7a2c0b2 refactor: mnode snapshot 2022-05-29 13:14:36 +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
Shengliang Guan c4c1ce9b9e enh: save sdb file if there is too many commit 2022-05-28 17:10:29 +08:00
Shengliang Guan 147c7ee0b4 enh: sdb snapshot 2022-05-28 16:41:38 +08:00
Shengliang Guan 576a7ee0a7 enh: sdb snapshot 2022-05-28 15:00:18 +08:00
Shengliang Guan b5a1131c25 enh: sdb snapshot 2022-05-28 12:56:33 +08:00
Shengliang Guan f6c676a174 enh: sdb snapshot 2022-05-28 11:11:48 +08:00
Shengliang Guan dfdaf1cd51 enh: sdb snapshot 2022-05-27 23:00:13 +08:00
Shengliang Guan 335b56ed81 fix: set standby while create mnode 2022-05-27 21:26:04 +08:00
Shengliang Guan 9a1959c400 fix: return mnode epset while master changed 2022-05-27 18:42:15 +08:00
Shengliang Guan c44ec05229 fix: error in sync sem 2022-05-27 15:21:59 +08:00
Shengliang Guan f5e3b409ab refactor: add some log 2022-05-26 16:47:37 +08:00
Shengliang Guan 60b65b9fc9 refactor: log for apply index 2022-05-25 20:45:45 +08:00
Minghao Li e0d3b53be7 Merge branch 'feature/sync-mnode-integration' of https://github.com/taosdata/TDengine into feature/sync-mnode-integration 2022-05-25 18:32:59 +08:00
Minghao Li 8c5f6b6849 fix(sync): persist isStandby 2022-05-25 18:32:34 +08:00
Shengliang Guan 1100ec3fb3 refacor: alter mnode 2022-05-25 17:44:43 +08:00
Shengliang Guan 077ea1b658 Merge branch 'feature/sync-mnode-integration' into fix/mnode 2022-05-25 17:06:35 +08:00
Shengliang Guan b638d0ef8c refactor: let mnode report sync state 2022-05-25 16:41:38 +08:00
Shengliang Guan 9b051104ae Merge branch 'fix/mnode' into feature/sync-mnode-integration 2022-05-25 14:49:58 +08:00
Minghao Li 104a207579 FpReConfigCb 2022-05-25 14:43:45 +08:00
Shengliang Guan bf8bbfbfbb refactor: mnode sync 2022-05-25 10:30:02 +08:00
Shengliang Guan 7f3c60421a refactor: mnode sync 2022-05-24 22:34:48 +08:00
Minghao Li 9fc7536a0b refactor: modify FpSnapshotRead, FpSnapshotApply 2022-05-24 21:03:49 +08:00
Minghao Li 0a5412f33d refactor: modify FpSnapshotRead, FpSnapshotApply 2022-05-24 21:00:14 +08:00
Shengliang Guan e0d6d47930 Merge branch 'feature/sync-mnode-integration' of https://github.com/taosdata/TDengine into feature/sync-mnode-integration 2022-05-24 20:44:45 +08:00
Minghao Li 94438de0ec enh(sync): syncStartStandBy 2022-05-24 19:45:09 +08:00
Shengliang Guan d2d0ae20aa refactor: mnode snapshot 2022-05-24 19:29:23 +08:00
Shengliang Guan f99b20aaa9 refactor: add standby option for mnode 2022-05-24 17:28:33 +08:00
Minghao Li 6cf9f50c3a enh(sync): syncStartStandBy 2022-05-24 17:14:12 +08:00
Shengliang Guan 8f37bb2e56 Merge branch 'feature/sync-mnode-integration' of https://github.com/taosdata/TDengine into feature/sync-mnode-integration 2022-05-24 15:41:19 +08:00
Minghao Li 8fa1096c5b enh(sync): add mndSnapshotRead mndSnapshotApply 2022-05-24 15:38:52 +08:00
Shengliang Guan ca89251caa Merge branch 'feature/sync-mnode-integration' of https://github.com/taosdata/TDengine into feature/sync-mnode-integration 2022-05-24 15:38:05 +08:00
Minghao Li aa85781560 enh(sync): add mndSnapshotRead mndSnapshotApply 2022-05-24 15:28:12 +08:00
Shengliang Guan 9b273e1766 feat: create mnode 2022-05-24 15:05:01 +08:00
Shengliang Guan 077ea4a14f fix: avoid memory leak in mnode sync 2022-05-24 11:58:50 +08:00
Shengliang Guan 0e8e04805a fix: avoid memory leak 2022-05-24 09:46:54 +08:00
Shengliang Guan 924b334b00 fix: avoid memory leak whilel stop sync 2022-05-24 00:07:09 +08:00
Shengliang Guan 7ec3c82cd6 Merge remote-tracking branch 'origin/feature/sync-mnode-integration' into fix/mnode 2022-05-23 23:19:21 +08:00
Shengliang Guan 2f32e122af Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-23 23:17:21 +08:00
Minghao Li 43f2a51e4b fix(sync) sync/mnode eq msg 2022-05-23 22:08:14 +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
Shengliang Guan 5ec450d01c fix: stop sync after queue is empty 2022-05-23 18:15:31 +08:00
Minghao Li dc82c1ba22 enh(sync) sync/mnode integration, syncStart async -> sync 2022-05-23 16:00:03 +08:00
Shengliang Guan 68b7f6946d refactor: sync integrate into mnode 2022-05-23 13:15:27 +08:00
Shengliang Guan 89c1e82337 refactor: sync integrate into mnode 2022-05-23 13:05:35 +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 c38a8055ba fix: add error code if malloc failed 2022-05-23 12:04:57 +08:00
Shengliang Guan 6c1d1927c9 refactor: sync integrate into mnode 2022-05-23 09:58:21 +08:00
Shengliang Guan 2b668e3b27 Merge branch '3.0' into fix/mnode 2022-05-22 18:15:45 +08:00