Commit Graph

751 Commits

Author SHA1 Message Date
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
Minghao Li b77e0a6750 refactor(sync): add trace log 2022-07-20 19:58:26 +08:00
Minghao Li 3491896b7a refactor(sync): add trace log 2022-07-20 19:12:02 +08:00
Minghao Li 94b3e9d2f0 refactor(sync): add trace log 2022-07-20 19:00:55 +08:00
Minghao Li 7808fdfccb refactor(sync): add trace log 2022-07-20 17:19:42 +08:00
Minghao Li c2b348bec5 refactor(sync): add trace log 2022-07-20 15:34:09 +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 54be75ff13 refactor(sync): add trace log 2022-07-20 11:18:43 +08:00
Minghao Li 322bbc493e refactor(sync): add trace log 2022-07-20 11:09:54 +08:00
Minghao Li 30bf78af96 refactor(sync): restart heartbeat timer after replicate 2022-07-19 19:04:11 +08:00
Minghao Li 991d6fd8a1 refactor(sync): add trace log 2022-07-19 17:20:59 +08:00
Minghao Li 329ba3cee8 refactor(sync): add trace log 2022-07-19 14:34:39 +08:00
Minghao Li fc08a35fbf refactor(sync): update sync-timeout to 10s 2022-07-19 13:52:02 +08:00
Minghao Li 651ae5832e refactor(sync): delete not exist log 2022-07-19 10:46:47 +08:00
Minghao Li 7187c87d35 refactor(sync): add restart heartbeat timer 2022-07-18 16:55:24 +08:00
Minghao Li 9f94dcb384 refactor(sync): add index/term in vnodeSnapWriterClose 2022-07-18 09:45:33 +08:00
Minghao Li fdf7930702 refactor(sync): add index/term in snapshot write 2022-07-16 18:09:36 +08:00
Minghao Li c978bd10ec fix(sync): do not sender snapshot when there's wal 2022-07-16 16:23:56 +08:00
Minghao Li 5cefb68dde fix(sync): snapshot end index 2022-07-16 16:00:16 +08:00
Minghao Li 6f29fd4020 fix(sync): snapshot begin index 2022-07-16 15:34:22 +08:00
Minghao Li 59c7348c94 refactor(sync): add leader transfer callback 2022-07-15 16:07:45 +08:00
Minghao Li 681993884f refactor(sync): add leader transfer callback 2022-07-15 14:55:33 +08:00
Li Minghao e3eaddac0d
Merge pull request #14869 from taosdata/feature/3.0_mhli
refactor(sync): optimized replication
2022-07-15 13:12:37 +08:00
Minghao Li 3769e07708 refactor(sync): optimized replication 2022-07-13 18:13:22 +08:00
Li Minghao 60703bdd05
Merge pull request #14857 from taosdata/feature/3.0_mhli
refactor(sync): add skiplist entry cache
2022-07-13 17:52:45 +08:00
Minghao Li 511c39a0cf refactor(sync): add skiplist entry cache 2022-07-13 15:55:38 +08:00
Shengliang Guan 480de34a0e enh: support alter debugflag in dnode 2022-07-13 14:13:12 +08:00
Minghao Li e91ca30b19 refactor(sync): add resp ttl clean 2022-07-12 20:23:31 +08:00
Shengliang Guan 037f84fafd Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-07-12 17:29:23 +08:00
Minghao Li 473e134f31 refactor(sync): add resp ttl clean 2022-07-12 16:57:19 +08:00
Minghao Li 96f9274fef refactor(sync): add timer routines 2022-07-12 15:04:32 +08:00
Minghao Li 129b289bdf refactor(sync): do leader transfer 2022-07-12 14:34:18 +08:00
Shengliang Guan 75804db990 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-07-12 14:22:10 +08:00
Shengliang Guan b9165a9503 fix: reset queueSize after the queueItem is consumed and executed by the worker 2022-07-12 13:56:54 +08:00
Shengliang Guan 52b63db905 fix: invalid vnode ref while drop stream 2022-07-12 13:26:55 +08:00
Minghao Li 03fe08a890 refactor(sync): modify trace log 2022-07-12 11:15:58 +08:00
Minghao Li d7d8d82eec refactor(sync): modify log to index 2022-07-12 11:08:01 +08:00
Minghao Li ded3224471 refactor(sync): modify log to index 2022-07-12 11:07:07 +08:00
Minghao Li df63225b74 refactor(sync): modify append log 2022-07-11 17:26:45 +08:00
Liu Jicong 6d9727579b
Merge pull request #14761 from taosdata/feature/stream
feat(wal): add append interface
2022-07-11 16:50:28 +08:00
Liu Jicong c6052fadba feat(wal): add append interface 2022-07-11 16:22:51 +08:00
Minghao Li 27d06cae30 refactor(sync): add syncEntryCacheTest 2022-07-11 14:54:40 +08:00
Minghao Li 9e1b9fe64c refactor(sync): add syncEntryCacheTest 2022-07-11 14:21:36 +08:00
Minghao Li 2dd7abd47e refactor(sync): add vnode snapshot case 2022-07-11 10:34:02 +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
Li Minghao 94cc3af08f
Merge pull request #14686 from taosdata/feature/3.0_mhli
refactor(sync): add fake syncRestoreFromSnapshot
2022-07-08 19:46:51 +08:00