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
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
Shengliang Guan
6bb8a9ad8a
refactor: adjust logs
2022-07-08 19:41:23 +08:00
Shengliang Guan
de644c7d43
refactor: adjust logs
2022-07-08 18:33:52 +08:00
Shengliang Guan
a5e8ddbc56
refactor: adjust logs
2022-07-08 18:00:19 +08:00
Minghao Li
56e65d13d1
refactor(sync): add fake syncRestoreFromSnapshot
2022-07-08 17:37:25 +08:00
Shengliang Guan
361c21a35c
refactor: adjust logs
2022-07-08 17:27:06 +08:00
Li Minghao
d94680c3c4
Merge pull request #14676 from taosdata/feature/3.0_mhli
...
fix(sync): append entries batch
2022-07-08 16:07:22 +08:00
Shengliang Guan
b7077b7fb3
Merge pull request #14679 from taosdata/fix/valgrind
...
refactor: change fndebugfalg to udfdebugflag
2022-07-08 15:44:37 +08:00
Minghao Li
cc31a7c3c3
refactor(sync): add syncRestoreFromSnapshot
2022-07-08 15:38:40 +08:00
Minghao Li
ed6001d5ca
refactor(sync): add syncRestoreFromSnapshot
2022-07-08 15:31:50 +08:00
Minghao Li
a39de34984
refactor(sync): rm syncOnMessage
2022-07-08 15:21:44 +08:00
Shengliang Guan
6e12d8e707
refactor: adjust log
2022-07-08 15:20:15 +08:00
Minghao Li
1ee5468411
fix(sync): append entries batch
2022-07-08 14:47:00 +08:00
Li Minghao
1e1e373220
Merge pull request #14654 from taosdata/feature/3.0_mhli
...
fix(sync): snapshot strategy wal first
2022-07-07 17:45:17 +08:00
Minghao Li
1c3c270307
fix(sync): snapshot strategy wal first
2022-07-07 17:00:01 +08:00
Liu Jicong
1ec57798d2
ci: remove unstable case
2022-07-07 11:45:28 +08:00
Liu Jicong
baa48489b7
merge from 3.0
2022-07-06 21:25:34 +08:00
Minghao Li
b73914fb0d
refactor(sync): add term in rpcMsg
2022-07-06 16:52:39 +08:00
Minghao Li
78efbaabe1
refactor(sync): add syncGetSnapshotByIndex
2022-07-06 15:16:52 +08:00
Minghao Li
83b639ae8f
refactor(sync): persist batch size
2022-07-06 14:58:38 +08:00
Minghao Li
6ec47a7a60
fix(sync): propose batch
2022-07-06 13:17:16 +08:00
Minghao Li
730a7a4a58
refactor(sync): snapshot strategy
2022-07-06 11:44:28 +08:00
Minghao Li
cd4bc6e30b
refactor(sync): snapshot strategy
2022-07-06 11:12:45 +08:00
Minghao Li
8a4e251be7
fix(sync): batch propose
2022-07-06 10:32:17 +08:00
Minghao Li
103a9cd9e8
fix(sync): release SyncNode ref
2022-07-05 17:39:01 +08:00
Minghao Li
88b0ab5458
fix(sync): release SyncNode ref
2022-07-05 17:32:51 +08:00
Minghao Li
e8160342c3
refactor(sync): snapshot sender, receiver
2022-07-05 14:38:44 +08:00
Shengliang Guan
2daef4ba58
fix: add ref log to sync
2022-07-05 11:36:41 +08:00
Minghao Li
6437d20cda
refactor(sync): add resp syncRespCleanByTTL
2022-07-04 21:28:52 +08:00
Minghao Li
6e59c13cbd
refactor(sync): add sync strategy
2022-07-04 15:57:28 +08:00
Minghao Li
ded4616074
refactor(sync): add sync strategy
2022-07-04 14:55:26 +08:00
Minghao Li
a5d3b7033a
refactor(sync): add snapshot writer param
2022-07-04 14:18:06 +08:00
Minghao Li
856806bb22
refactor(sync): add snapshot2 interface
2022-07-04 13:33:49 +08:00
Minghao Li
4fc500c91c
refactor(sync): add SyncAppendEntriesBatch
2022-07-02 16:01:47 +08:00
Minghao Li
086ec29ca0
refactor(sync): add SyncClientRequestBatch
2022-07-02 14:41:54 +08:00
Minghao Li
d4ab134645
refactor(sync): add snapshot2 interface
2022-07-01 17:30:52 +08:00
Minghao Li
0ffc6c46f3
refactor(sync): add snapshot2 interface
2022-07-01 14:47:12 +08:00
Minghao Li
91238e823e
refactor(sync): add snapshot2 interface
2022-07-01 14:22:14 +08:00
Minghao Li
4f39cd31b0
refactor(sync): add snapshot2 interface
2022-07-01 09:50:20 +08:00
Minghao Li
24a3c817a4
refactor(sync): add batch propose
2022-06-30 16:44:49 +08:00
Minghao Li
376bf46a64
refactor(sync): add SyncClientRequestBatch
2022-06-30 15:28:23 +08:00
Minghao Li
1a8cf049b7
refactor(sync): add syncAppendEntriesBatch
2022-06-30 13:39:13 +08:00
Minghao Li
c3b2b98454
refactor(sync): delete some asserts
2022-06-29 19:18:15 +08:00
Minghao Li
3440822ebf
refactor(sync): add some comments
2022-06-29 16:40:36 +08:00
Minghao Li
41f24314d0
refactor(sync): add SYNC_TERM_INVALID
2022-06-29 15:44:30 +08:00
Minghao Li
18b78f2450
refactor(sync): add return code restore from snapshot
2022-06-29 14:50:59 +08:00
Minghao Li
4bd650609d
refactor(sync): delete old functions
2022-06-29 14:02:40 +08:00
Minghao Li
aded474d5b
refactor(sync): adjust trace log
2022-06-28 16:19:15 +08:00
Minghao Li
33d1440e7b
refactor(sync): adjust trace log
2022-06-28 14:23:45 +08:00
Minghao Li
4c410bd5ec
refactor(sync): refactor snapshot code
2022-06-28 11:33:14 +08:00
Minghao Li
2647ec21e0
refactor(sync): add comments in snapshot
2022-06-27 20:23:08 +08:00
Minghao Li
5e7b7cb449
refactor(sync): add entries cache
2022-06-27 16:56:36 +08:00
Minghao Li
49ff32cda5
refactor(sync): add entries cache
2022-06-27 16:53:02 +08:00
Minghao Li
a22814a5a7
refactor(sync): optimized one replica
2022-06-27 10:36:28 +08:00
Minghao Li
6eecbcd1a6
refactor(sync): optimized one replica
2022-06-26 01:16:11 +08:00
Minghao Li
a6f33ba01c
refactor(sync): optimized one replica
2022-06-25 20:31:42 +08:00
Minghao Li
77b365f0cc
refactor(sync): do not replicate when one replica
2022-06-25 16:27:05 +08:00
Minghao Li
0df1415caf
refactor(sync): add trace log
2022-06-25 11:30:34 +08:00
Minghao Li
58296f6a5a
refactor(sync): adjust log buf size
2022-06-24 16:44:45 +08:00
Minghao Li
87defc2790
refactor(sync): add interface: get retry epset
2022-06-24 14:26:31 +08:00
Minghao Li
8a8e42a923
refactor(sync): set error code in syncIsReady
2022-06-24 14:04:58 +08:00
Minghao Li
8060108585
refactor(sync): add trace log
2022-06-24 13:50:23 +08:00
Minghao Li
b3fa103cb9
refactor(sync): add trace log
2022-06-24 11:36:26 +08:00
Minghao Li
3d9ffc42e8
refactor(sync): refactor wal abstraction
2022-06-23 21:16:16 +08:00
Minghao Li
f140a5ad1b
refactor(sync): add trace log
2022-06-23 16:57:18 +08:00
Minghao Li
4fdc62a27f
refactor(sync): delete fake match branch
2022-06-23 16:32:06 +08:00
Minghao Li
00c0926c44
refactor(sync): hold wal handle with log store
2022-06-23 14:58:52 +08:00
Minghao Li
cdb6b2429a
refactor(sync): update election timer range
2022-06-23 14:37:29 +08:00
Minghao Li
e18329ac19
refactor(sync): update election timer range
2022-06-23 14:22:53 +08:00
Minghao Li
ca4d7329ce
refactor(sync): modify wal error log
2022-06-23 14:07:18 +08:00
Minghao Li
81eae2a9af
refactor(sync): modify wal error log
2022-06-23 11:59:28 +08:00
Minghao Li
e051bc51db
refactor(sync): add trace log
2022-06-23 11:23:44 +08:00
Minghao Li
a701451a27
refactor(sync): add trace log
2022-06-23 11:09:01 +08:00
Minghao Li
9786ba2fbe
fix(sync): update nextindex, matchindex when backto nolog
2022-06-23 10:10:57 +08:00
Minghao Li
2f2715aca4
fix(sync): save saveErr
2022-06-22 20:23:49 +08:00
Minghao Li
13c916f5cb
fix(sync): update lcindex to -1, when get error
2022-06-22 19:48:36 +08:00
Minghao Li
7b5a3eff3f
refactor(sync): add syncLogStoreCheck tool
2022-06-22 10:42:54 +08:00
Minghao Li
0ba3326b99
fix(sync): update commit index when apply snapshot
2022-06-22 10:35:39 +08:00
Minghao Li
1f0d7807ac
fix(sync): sender get config from local
2022-06-21 19:27:52 +08:00
Minghao Li
4381c3620d
refactor(sync): calculate index after append entry
2022-06-21 19:00:24 +08:00
Minghao Li
363c98e9ed
refactor(sync): abstract for log store
2022-06-21 17:45:08 +08:00
Minghao Li
ecc43b6697
refactor(sync): delete some assert
2022-06-21 16:02:36 +08:00
Minghao Li
b61a5cd126
refactor(sync) add trace log
2022-06-21 15:30:24 +08:00
Minghao Li
0fb64add90
refactor(sync) add trace log
2022-06-21 15:09:23 +08:00
Minghao Li
6c71ae8985
fix(sync): config change when set index-mgr
2022-06-21 13:23:35 +08:00
Shengliang Guan
e87baa8df7
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-06-21 11:42:11 +08:00
Shengliang Guan
714c599fd7
fix: deadlock while set standby
2022-06-21 11:40:27 +08:00
Minghao Li
50e3527f2b
refactor(sync): set ranmdom seed by ns
2022-06-21 11:11:16 +08:00
Minghao Li
3b7e0bfdcc
fix(sync): set standby when not follower
2022-06-20 20:55:40 +08:00
Minghao Li
9f76504830
refactor(sync): propose fail when changing
2022-06-20 20:10:13 +08:00
Minghao Li
3573ae1564
refactor(sync): block when changing
2022-06-20 20:07:36 +08:00
Minghao Li
e441bd266b
refactor(sync): add changing state
2022-06-20 17:48:56 +08:00
Minghao Li
5968c6353f
refactor(sync): get snapshot and create reader
2022-06-20 10:58:59 +08:00
Minghao Li
16930ac3aa
refactor(sync): adjust log buf size
2022-06-18 18:42:40 +08:00
Minghao Li
f5366425ed
refactor(sync): append noop in become leader
2022-06-18 17:02:29 +08:00
Minghao Li
b247762931
refactor(sync) refactor trace log
2022-06-18 15:17:58 +08:00
Shengliang Guan
db4e02c7c7
fix: add log to debug mnode sync
2022-06-17 15:23:17 +08:00
Shengliang Guan
ab2f268601
Merge branch 'fix/tsim' into fix/dnode
2022-06-17 14:53:04 +08:00
Shengliang Guan
43f8f34b0f
refactor: adjust logs
2022-06-17 14:24:17 +08:00
Shengliang Guan
6e6f559f9c
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
2022-06-17 14:06:44 +08:00
Minghao Li
9ab28e0b88
refactor(sync): add last config index in fsm cbMeta
2022-06-17 14:05:52 +08:00
Shengliang Guan
ce08a98149
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
2022-06-17 13:09:19 +08:00
Minghao Li
455a8da0ad
refactor(sync): add config index to json
2022-06-17 13:08:41 +08:00
Shengliang Guan
7e0ad8781b
refactor(sync) add raft cfg test
2022-06-17 11:46:19 +08:00
Shengliang Guan
28b3268224
fix(sync) add trace log
2022-06-17 11:40:18 +08:00
Minghao Li
f5db109e61
fix(sync): get last max snapshot index
2022-06-17 11:37:10 +08:00
Shengliang Guan
793e6fa7d9
fix: rollback to avoid tsim/basic.sim failure
2022-06-17 09:26:25 +08:00
Shengliang Guan
e241fc0979
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
2022-06-16 21:13:35 +08:00
Minghao Li
d71027ac35
fix(sync): fake match2, need truncate log
2022-06-16 20:43:49 +08:00
Shengliang Guan
2dc41e86cb
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
2022-06-16 20:10:11 +08:00
Minghao Li
b42c963a5f
fix(sync): fake match when prevLogIndex less than commitIndex
2022-06-16 20:08:27 +08:00
Shengliang Guan
5d64fcb117
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
2022-06-16 19:47:40 +08:00
Minghao Li
d3f6f07902
fix(sync): fake match when prevLogIndex less than commitIndex
2022-06-16 19:40:08 +08:00
Shengliang Guan
dd024941b7
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
2022-06-16 19:10:52 +08:00
Minghao Li
3fdd0c30ac
refactor(sync): add trace log
2022-06-16 19:08:44 +08:00
Shengliang Guan
5d9a3850d2
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
2022-06-16 18:09:30 +08:00
Minghao Li
46c09f2c84
refactor(sync): add trace log
2022-06-16 18:08:01 +08:00
Shengliang Guan
34b6ecafba
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
2022-06-16 17:42:27 +08:00
Minghao Li
15ac89590c
refactor(sync): add trace log
2022-06-16 17:41:01 +08:00
Shengliang Guan
fe9f8bfe98
Merge remote-tracking branch 'origin/3.0' into test/chr/TD-14699
2022-06-16 17:39:39 +08:00
Shengliang Guan
26ca03af4f
fix: crash while mnode sync
2022-06-16 17:24:42 +08:00
Shengliang Guan
35c47cee55
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
2022-06-16 16:17:20 +08:00
Minghao Li
2f81a41f98
refactor(sync): add syncIsReady
2022-06-16 16:16:40 +08:00
Shengliang Guan
6ad87b9383
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
2022-06-16 15:57:20 +08:00
Minghao Li
9a9200d28b
refactor(sync): add restore finish when become leader again
2022-06-16 15:38:40 +08:00
Shengliang Guan
7aa087a48d
feat: redistribute vgroup
2022-06-16 15:25:04 +08:00
Minghao Li
77b03ac821
refactor(sync): add restore finish when become leader again
2022-06-16 14:40:42 +08:00
Minghao Li
58051169d2
refactor(sync): add trace log
2022-06-16 10:54:13 +08:00
Shengliang Guan
19439c8b58
fix: adjust log
2022-06-15 19:55:36 +08:00
Minghao Li
dcd65e6dea
refactor(sync): do not heartbeat when 1 replica
2022-06-15 17:17:15 +08:00
Minghao Li
4b18bd718e
refactor(sync): adjust errno
2022-06-15 16:14:17 +08:00
Minghao Li
c9f6c20410
refactor(sync): if eqmsg error, return
2022-06-15 11:42:04 +08:00
Minghao Li
6c7072286d
refactor(sync): if eqmsg error, return
2022-06-15 11:06:06 +08:00
Li Minghao
c156d964b6
Merge pull request #13841 from taosdata/feature/3.0_mhli
...
refactor(sync): add respMgr trace log
2022-06-14 22:56:42 +08:00
Minghao Li
a51eee06eb
refactor(sync): add trace log
2022-06-14 20:39:53 +08:00
Minghao Li
b60fde8f73
refactor(sync): add trace log
2022-06-14 20:33:57 +08:00
Minghao Li
b25840ebd4
refactor(sync): add test syncRaftIdCheck
2022-06-14 20:19:56 +08:00
Minghao Li
e4da993c15
refactor(sync): add test syncRaftIdCheck
2022-06-14 17:19:54 +08:00
Minghao Li
71dad1ea78
refactor(sync): add test syncRaftIdCheck
2022-06-14 15:50:44 +08:00
Li Minghao
41a285a3f6
Merge pull request #13807 from taosdata/feature/3.0_mhli
...
refactor(sync): update replica index in snapshot sender
2022-06-14 15:21:09 +08:00
Minghao Li
fa25fa32e0
refactor(sync): add test syncRaftIdChec
2022-06-14 14:54:11 +08:00
Minghao Li
5268b5233a
refactor(sync): update replica index in snapshot sender
2022-06-14 14:40:06 +08:00
Minghao Li
a2039d8bb2
fix(sync) if FpEqMsg return error, do not enqueue msg
2022-06-14 13:16:49 +08:00
Minghao Li
979420801e
fix(sync) if FpEqMsg return error, do not enqueue msg
2022-06-14 13:07:27 +08:00
Minghao Li
9cd54c5cc9
refactor(sync): update replica index in snapshot sender
2022-06-14 11:16:32 +08:00
Minghao Li
3887e940f1
fix(sync): when receive snapshot rsp from a dropped replica
2022-06-14 10:24:05 +08:00
Shengliang Guan
82112e8d4a
Merge pull request #13786 from taosdata/fix/mnode
...
fix(sync): send snapshot to multi nodes at the same time
2022-06-14 09:54:21 +08:00
Shengliang Guan
318f2771ea
fix(sync): close detail log
2022-06-13 22:36:54 +08:00
Shengliang Guan
be3de7b7df
fix(sync): send snapshot to multi nodes at the same time
2022-06-13 22:20:53 +08:00
Minghao Li
e4897e5f46
enh(sync): add leader transfer
2022-06-13 15:52:43 +08:00
Minghao Li
f47a28fe8a
enh(sync): add leader transfer
2022-06-13 15:47:43 +08:00
Xiaoyu Wang
1863bbee9a
merge 3.0
2022-06-13 15:01:29 +08:00
Xiaoyu Wang
380a071551
fix: handle the memory leak of parser
2022-06-13 14:54:38 +08:00
Minghao Li
b1093b4a79
fix(sync): use fqdn instead of raftId
2022-06-13 12:13:35 +08:00
Shengliang Guan
95e4b79091
feat: redistribute vgroup
2022-06-13 11:55:38 +08:00
Minghao Li
34c906a1e1
refactor(sync): add debug log
2022-06-13 10:39:32 +08:00
Minghao Li
aad288ab17
refactor(sync): add debug log
2022-06-12 15:21:56 +08:00
Minghao Li
6a4cdadef6
refactor(sync): add debug log
2022-06-11 21:56:44 +08:00
Minghao Li
f92f1bbcc0
fix(sync): snapshot overwrite config change
2022-06-11 16:20:15 +08:00
Minghao Li
104a1bb59b
fix(sync): snapshot overwrite config change
2022-06-11 16:11:18 +08:00
Minghao Li
dffbec29c7
refactor(sync): add last config index z
2022-06-11 15:31:49 +08:00
Minghao Li
fa54663871
refactor(sync): add last config index
2022-06-11 13:52:17 +08:00
Minghao Li
4af9d14457
refactor(sync): add last config index
2022-06-11 13:08:30 +08:00
Minghao Li
6adadc0b26
refactor(sync): add last config index
2022-06-11 13:03:58 +08:00
Minghao Li
6586f78599
refactor(sync): add last config index
2022-06-11 12:44:58 +08:00
Minghao Li
ae5219dd6e
refactor(sync): add heartbeat log
2022-06-10 22:29:28 +08:00
Minghao Li
972fee7fbc
refactor(sync): add rpcMsg to reconfig callback
2022-06-10 17:39:30 +08:00
Minghao Li
e9d466ec82
refactor(sync) delete some trace log
2022-06-10 16:51:17 +08:00
Minghao Li
736862541e
fix(sync): restart with config change
2022-06-10 15:19:11 +08:00
Minghao Li
b351fd8261
refactor(sync): add log
2022-06-10 13:15:43 +08:00
Minghao Li
2c38692258
refactor(sync): add log
2022-06-10 11:28:41 +08:00
Minghao Li
3148df2107
fix(sync): compatibility for both mnode(use snapshot) and vnode(no snapshot)
2022-06-09 17:16:06 +08:00
Shengliang Guan
81e431b16a
Merge branch 'feature/sync-refactor' of https://github.com/taosdata/TDengine into feature/sync-refactor
2022-06-09 16:33:43 +08:00
Minghao Li
9a61a567c5
refactor(sync): set gRaftDetailLog false
2022-06-09 16:32:37 +08:00
Shengliang Guan
0beb323653
Merge branch 'feature/sync-refactor' of https://github.com/taosdata/TDengine into feature/sync-refactor
2022-06-09 16:16:13 +08:00
Minghao Li
7ae6d8f77d
refactor(sync): set gRaftDetailLog true
2022-06-09 14:18:57 +08:00
Minghao Li
ee32302101
refactor(sync): add detail log flag
2022-06-09 14:14:45 +08:00
Shengliang Guan
65f65b53b3
Merge remote-tracking branch 'origin/3.0' into feature/sync-refactor
2022-06-09 13:49:43 +08:00
Minghao Li
4f7dc62433
refactor(sync): add detail log flag
2022-06-09 12:56:52 +08:00
Minghao Li
d81f5e9f77
fix(sync): add detail log flag
2022-06-09 11:18:48 +08:00
Minghao Li
89e2c2d47a
fix(sync): update sender when become leader
2022-06-09 11:00:28 +08:00
Minghao Li
e070657778
refactor(sync): add syncGetSnapshotMeta
2022-06-08 23:20:07 +08:00
Minghao Li
61cc736ca0
fix(sync): create db core due to snapshot
2022-06-08 23:08:40 +08:00
Minghao Li
e86ee68f8b
refactor(sync): sync snapshot
2022-06-08 22:43:58 +08:00
Minghao Li
98a2451c15
refactor(sync): sync snapshot
2022-06-08 21:55:36 +08:00
Shengliang Guan
bc8e6b7fd7
refactor: adjust vnode sync
2022-06-08 21:17:17 +08:00
Minghao Li
29b97fa0ad
refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb
2022-06-08 19:53:07 +08:00
Minghao Li
aa107d03c3
refactor(sync): SSyncSnapshotReceiver
2022-06-08 18:17:17 +08:00
Minghao Li
76185e1742
refactor(sync): SSyncSnapshotSender
2022-06-08 18:07:50 +08:00
Minghao Li
d72d2d698c
refactor(sync): SyncAppendEntries
2022-06-08 17:44:32 +08:00
Minghao Li
39d0b652ba
refactor(sync): add raft log test
2022-06-08 17:18:26 +08:00
Minghao Li
687caac2bf
refactor(sync): add raft log test
2022-06-08 16:45:40 +08:00
Minghao Li
f6aed44076
refactor(sync): syncNodeSendMsgById to one line
2022-06-08 13:52:33 +08:00
Minghao Li
77cd6f44f4
refactor(sync): syncUtilJson2Line
2022-06-08 11:25:24 +08:00
Minghao Li
2547e8d02e
refactor: sync index
2022-06-08 11:03:28 +08:00
Minghao Li
eba8f2b543
fix(sync) send snapshot multi-times
2022-06-07 19:20:05 +08:00
Minghao Li
0e41ab7f99
Merge branch 'feature/sync-refactor' of https://github.com/taosdata/TDengine into feature/sync-refactor
2022-06-07 18:34:07 +08:00
Minghao Li
31b54e7462
enh(sync): add privateTerm into SyncSnapshotRsp, SyncSnapshotSend, SSyncSnapshotReceiver
2022-06-07 18:33:06 +08:00
Shengliang Guan
4e99992cff
fix: change quorum on sync reconfig successed
2022-06-07 18:00:50 +08:00
Shengliang Guan
9efa68ab96
Merge branch 'fix/mnode' into feature/sync-refactor
2022-06-07 17:11:52 +08:00
Minghao Li
7852188394
enh(sync): add privateTerm into SSyncSnapshotSender, SyncAppendEntries, SyncAppendEntriesReply
2022-06-07 16:49:07 +08:00
Shengliang Guan
a047d4a559
Merge remote-tracking branch 'origin/feature/sync-refactor' into fix/mnode
2022-06-07 16:37:50 +08:00
Minghao Li
305f4a8580
enh(sync): add term into index mgr
2022-06-07 16:33:37 +08:00
Minghao Li
8680da282a
fix(sync): snapshot maybe change when sending
2022-06-07 15:36:41 +08:00
Minghao Li
326714a077
fix(sync): snapshot maybe change when sending
2022-06-07 14:35:20 +08:00
Minghao Li
44a893a1c1
fix(sync): snapshot maybe change when sending
2022-06-07 13:48:40 +08:00
Minghao Li
a89e455267
fix(sync): delete some assert temporary
2022-06-07 09:55:18 +08:00
Minghao Li
9baaf2cd0c
enh(sync): add log index manager
2022-06-06 20:55:59 +08:00
Minghao Li
2071c5a74e
fix(sync): sending snapshot
2022-06-06 20:02:27 +08:00
Minghao Li
0d7272a369
fix(sync): sending snapshot
2022-06-06 18:23:37 +08:00
Minghao Li
84a67e850e
fix(sync): sending snapshot
2022-06-06 17:23:59 +08:00
Minghao Li
6b329f791b
enh(sync): update raft core functions
2022-06-06 16:35:44 +08:00
Minghao Li
af27303a4c
enh(sync): update raft core functions
2022-06-06 16:02:25 +08:00
Minghao Li
01b04e03d9
enh(sync): forbid elect for this round
2022-06-06 11:46:59 +08:00
Minghao Li
4b87154b0e
enh(sync): forbid elect for this round
2022-06-06 11:40:37 +08:00
Minghao Li
9c1e1b2f96
enh(sync): add log index manager
2022-06-06 11:31:59 +08:00
Minghao Li
5009b7822f
enh(sync): add log index manager
2022-06-06 11:24:25 +08:00
Minghao Li
fb4d372255
enh(sync): add log index manager
2022-06-05 22:51:15 +08:00
Minghao Li
2adc0b8a76
enh(sync): add log index manager
2022-06-05 21:48:50 +08:00
Minghao Li
5908631ec3
enh(sync): add log store2
2022-06-05 19:47:54 +08:00
Minghao Li
ba8adb73cb
refactor(sync): restart elect timer when vote for
2022-06-04 15:49:42 +08:00
Shengliang Guan
30da7560f8
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-06-04 11:50:47 +08:00
Minghao Li
eea343c5a6
enh(sync): add syncTestTool
2022-06-04 11:25:03 +08:00
Minghao Li
44994201b6
fix(sync): sending snapshot
2022-06-02 19:47:06 +08:00
Shengliang Guan
e35ebdadac
refactor: rename LEADER to leader
2022-06-02 14:35:59 +08:00
Minghao Li
ac90f61b63
fix(sync): wal write from middle
2022-06-02 13:53:19 +08:00
Minghao Li
1ff40068e7
fix: send snapshot
2022-06-02 11:57:06 +08:00
Minghao Li
d04c12713a
fix: send snapshot
2022-06-02 11:36:26 +08:00
Minghao Li
48a331fd2c
refactor: print msg type
2022-06-02 00:00:27 +08:00
Minghao Li
c3bf3cc97c
fix: send snapshot
2022-06-01 21:57:30 +08:00
Minghao Li
757a1248dc
fix: send snapshot
2022-06-01 21:23:39 +08:00
Minghao Li
ae06cc3696
refactor: after review raft 6 cb
2022-06-01 19:11:31 +08:00
Minghao Li
df4787eff1
refactor: modify syncNodeAppendEntriesPeersSnapshot
2022-06-01 17:08:03 +08:00
Minghao Li
80c4e77b0b
refactor: modify syncNodeAppendEntriesPeersSnapshot
2022-06-01 17:07:14 +08:00
Minghao Li
78db753a64
refactor: review syncNodeAppendEntriesPeersSnapshot
2022-06-01 16:30:04 +08:00
Minghao Li
403f6085d5
refactor: review syncNodeRequestVotePeersSnapshot
2022-06-01 15:52:09 +08:00
Minghao Li
320f21820b
add snapshot test
2022-06-01 15:25:06 +08:00
Minghao Li
13b336d569
add snapshot test
2022-06-01 15:03:01 +08:00
Minghao Li
4453ebab3a
add snapshot recv log
2022-06-01 14:40:20 +08:00
Minghao Li
c706c6d0ce
add snapshot recv log
2022-06-01 14:35:20 +08:00
Minghao Li
295caad7c1
refactor: add snapshot send log
2022-06-01 14:12:11 +08:00
Minghao Li
2e840969c8
refactor: snapshotReSend
2022-06-01 13:53:21 +08:00
Minghao Li
56253aedc9
refactor: snapshotReSend
2022-06-01 13:40:43 +08:00
Minghao Li
5f0d23426d
refactor: snapshotReSend
2022-06-01 13:35:23 +08:00
Minghao Li
060f8224f4
refactor: snapshotReSend
2022-06-01 13:32:52 +08:00
Minghao Li
71c57d7769
refactor: sender code
2022-06-01 11:28:33 +08:00
Minghao Li
9988e85f85
add test sender, receiver
2022-05-31 21:31:07 +08:00
Minghao Li
7922997806
enh(sync): add test syncSnapshotRspTest.cpp
2022-05-31 20:54:39 +08:00
Minghao Li
995317bf9c
enh(sync): add test syncSnapshotSendTest.cpp
2022-05-31 20:38:59 +08:00
Minghao Li
057fda21ce
enh(sync): syncNodeOnAppendEntriesSnapshotCb
2022-05-31 19:46:49 +08:00
Minghao Li
7917716b4f
enh(sync): syncNodeOnAppendEntriesReplySnapshotCb
2022-05-31 19:06:55 +08:00
Minghao Li
fd823c8670
enh(sync): syncNodeOnRequestVoteReplySnapshotCb
2022-05-31 18:12:17 +08:00
Minghao Li
a20cac89cc
enh(sync): syncNodeOnRequestVoteSnapshotCb
2022-05-31 18:04:49 +08:00
Minghao Li
b9472dc386
enh(sync): syncNodeAppendEntriesPeersSnapshot
2022-05-31 17:53:38 +08:00
Minghao Li
ba212ce396
enh(sync): syncNodeRequestVotePeersSnapshot
2022-05-31 17:37:57 +08:00
Minghao Li
ee9cdb2967
enh(sync): syncNodeOnSnapshotSendCb, syncNodeOnSnapshotRspCb
2022-05-31 17:23:36 +08:00
Minghao Li
21191ae2a8
enh(sync): add SSyncSnapshotReceiver
2022-05-31 16:48:47 +08:00
Minghao Li
6d8733a232
enh(sync): add SSyncSnapshotSender
2022-05-31 16:14:19 +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
b9e4543a40
enh(sync): add SyncSnapshotRsp SyncSnapshotSend
2022-05-30 21:21:51 +08:00
Minghao Li
c5526ef915
enh(sync): add SyncSnapshotRsp SyncSnapshotSend
2022-05-30 21:11:14 +08:00
Minghao Li
6be4119fe7
add syncNodeIsIndexInSnapshot syncNodeGetLastIndexTerm syncNodeGetPreIndexTerm
2022-05-30 18:45:09 +08:00
Minghao Li
79ae770a0b
enh(sync): add snapshotEnable2
2022-05-30 17:31:55 +08:00
Minghao Li
43c383dcbc
enh(sync): add snapshotEnable2
2022-05-30 17:19:31 +08:00
Minghao Li
d6c57bd372
enh(sync): add snapshotEnable2
2022-05-30 13:14:48 +08:00
Minghao Li
bdc9acbf2e
enh(sync): add snapshotEnable
2022-05-30 12:26:15 +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
Shengliang Guan
0161b6456c
refactor: adjust msgcb
2022-05-19 19:44:01 +08:00
Shengliang Guan
77575d1e70
refactor: shm queue in multi process mode
2022-05-18 14:20:46 +08:00
Shengliang Guan
81e89ec7b6
Merge remote-tracking branch 'origin/3.0' into fix/mnode
2022-05-16 20:13:02 +08:00
Shengliang Guan
fc94b71c80
refactor: adjust SRpcMsg
2022-05-16 15:17:11 +08:00
Li Minghao
9bc8307d40
Merge pull request #12530 from taosdata/feature/3.0_mhli
...
enh(sync): raft config change
2022-05-16 14:59:33 +08:00
Minghao Li
956ab45a30
enh(sync): raft config change
2022-05-16 14:10:18 +08:00
Minghao Li
3e65caccaa
enh(sync): add syncStartStandBy
2022-05-14 19:54:18 +08:00
Minghao Li
a2d43fb96f
enh(sync): add syncStartStandBy
2022-05-14 18:12:53 +08:00
Minghao Li
1cfa16fcd8
enh(sync): add syncConfigChangeTest
2022-05-14 16:53:04 +08:00
Shengliang Guan
7ad96ac276
enh: control the memory of the rpc queue
2022-05-14 11:53:46 +08:00
Minghao Li
f97adf54d3
enh(sync): add syncStartStandBy
2022-05-13 12:12:37 +08:00
Minghao Li
346f9007db
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-05-12 15:24:15 +08:00
Minghao Li
b69a26678c
enh(sync): raft config change
2022-05-12 15:23:41 +08:00
Minghao Li
453d105a08
enh(sync): add error log, linux api error, %X
2022-05-12 07:54:45 +08:00
Minghao Li
7c41d52967
enh(sync): add error log, linux api error
2022-05-11 15:52:31 +08:00
Minghao Li
503de649cb
enh(sync): add error log
2022-05-10 12:22:57 +08:00
Minghao Li
8c0d600cdf
enh(sync): add error log
2022-05-10 12:20:13 +08:00
Minghao Li
589048e96b
fix(sync): fix memory leak, RespMgr
2022-05-09 20:14:31 +08:00
Minghao Li
b71b5284ae
fix(sync): fix memory leak when break
2022-05-09 17:25:42 +08:00
Minghao Li
39bf90c0da
fix(sync): fix memory leak
2022-05-09 15:17:33 +08:00
Hongze Cheng
323ce214b6
refact encode APIs
2022-05-07 10:03:06 +00:00
Hongze Cheng
0c8b7bb094
more refact
2022-05-07 07:29:54 +00:00
Hongze Cheng
5d150204dd
more refact
2022-05-07 06:57:31 +00:00
Minghao Li
d75b3568a7
enh(sync): add trace log
2022-05-06 23:40:34 +08:00
Minghao Li
2584b034df
add syncGetEpSet
2022-04-30 10:29:29 +08:00
Minghao Li
4d40af9929
add redirect
2022-04-28 16:41:13 +08:00
Minghao Li
9a603170b4
add redirect before syncPropose
2022-04-27 19:28:01 +08:00
Minghao Li
b96e434ab3
format
2022-04-27 18:10:57 +08:00
Li Minghao
16d60bf313
add flag in syncEnv, to deal with expired timer 2
2022-04-25 23:14:17 -07:00
Li Minghao
c5602fbaba
add flag in syncEnv, to deal with expired timer
2022-04-25 22:54:04 -07:00
Li Minghao
2fa176a49d
when 1 replica, become leader immediately
2022-04-25 07:49:40 -07:00
Li Minghao
76a9ff06b6
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-04-25 07:39:30 -07:00
afwerar
f966242047
feature(dnode): mul parameter start.
2022-04-25 13:57:55 +08:00
Li Minghao
7c1f1243fc
add UT test.sh
2022-04-24 19:37:01 -07:00
Shengliang Guan
d1ac98fa84
Merge remote-tracking branch 'origin/3.0' into feature/check
2022-04-24 19:21:42 +08:00
Shengliang Guan
4033da4b24
Merge remote-tracking branch 'origin/3.0' into feature/check
2022-04-24 19:03:54 +08:00
yihaoDeng
80ae360e8b
Merge branch '3.0' into auth
2022-04-24 15:12:13 +08:00
Li Minghao
f2749b4bf0
Merge pull request #11791 from taosdata/feature/sync-vnode-merge-3.0
...
Feature/sync vnode merge 3.0
2022-04-24 15:09:07 +08:00
Li Minghao
1afda11b9c
comment doSyncEnvStart 2
2022-04-23 23:55:01 -07:00
Li Minghao
e01cb71cea
comment doSyncEnvStart
2022-04-23 23:37:17 -07:00
Liu Jicong
314a92fb76
Merge pull request #11788 from taosdata/feature/tq
...
refacor(wal): rename len to bodyLen
2022-04-24 14:33:59 +08:00
Liu Jicong
3d972f81a2
refacor(wal): rename len to bodyLen
2022-04-24 13:42:54 +08:00
Li Minghao
9c9d57c961
fix bug, syncEnv free NULL
2022-04-23 22:38:49 -07:00
Shengliang Guan
15ddbe8231
Merge remote-tracking branch 'origin/3.0' into feature/check
2022-04-24 11:25:15 +08:00
yihaoDeng
b384167087
enh(rpc): fix hb problem
2022-04-23 18:29:45 +08:00
Minghao Li
d53b3a4480
call syncCleanUp taosMemoryFree(pSyncEnv)
2022-04-22 18:41:32 +08:00
Minghao Li
64dfc1da1c
merge 3.0 code
2022-04-22 17:11:56 +08:00
Shengliang Guan
bc65c92ee3
refactor(tools): adjust client config parameters
2022-04-22 16:04:10 +08:00
afwerar
fc24521621
fix(os): windows compile 3.0.
2022-04-22 09:54:27 +08:00
Minghao Li
446a2ed1bf
rm syncReplicateTest 2, 3, Load
2022-04-21 17:35:48 +08:00
Minghao Li
49cf252495
add syncReplicateTest.cpp
2022-04-21 15:24:50 +08:00
Minghao Li
a6b949831a
delete syncElectTest 1-3, add syncReplicateTest.cpp
2022-04-21 14:56:41 +08:00
Minghao Li
52b6a9c058
add syncElectTest, config replicaNum myIndex
2022-04-21 13:59:42 +08:00
Minghao Li
672be6f4ff
del trace log flag
2022-04-21 11:35:22 +08:00
Minghao Li
0df5100836
add syncLogStoreCheck.cpp
2022-04-21 11:25:17 +08:00
Minghao Li
bbe85695cf
add syncMaybeAdvanceCommitIndex, maybe only one replica
2022-04-20 20:29:20 +08:00
Minghao Li
a6ee17fd43
add syncElectTest1.cpp
2022-04-20 20:26:10 +08:00
Minghao Li
a1a498a19a
sync integration add error code
2022-04-20 16:56:00 +08:00
Minghao Li
9cb2192a87
add SyncApplyMsg and test
2022-04-20 14:30:34 +08:00
Minghao Li
6035f0305d
sync integration add SyncApplyMsg
2022-04-20 11:51:00 +08:00
Shengliang Guan
b66718a4d8
feat: report service status
2022-04-19 21:39:42 +08:00
Minghao Li
9a7924049f
sync integration
2022-04-19 15:43:24 +08:00
Minghao Li
01008939f2
sync snapshot
2022-04-19 11:51:51 +08:00
Minghao Li
7066274cc7
add sync format code
2022-04-18 21:50:56 +08:00
afwerar
c11946fd75
[TD-13756]<fix>: Fix macro name error.
2022-04-11 18:55:43 +08:00
afwerar
2662a3b69d
[TD-13254]<fix>: make 3.0 grant.
2022-04-10 19:08:16 +08:00
afwerar
222db126bc
[TD-13758]<fix>: redefine memory api.
2022-03-26 00:29:53 +08:00
Minghao Li
16b44c9e28
sync refactor
2022-03-25 10:37:26 +08:00
Minghao Li
83ecb8dd30
sync refactor
2022-03-24 19:40:37 +08:00
Minghao Li
61f227816d
sync refactor
2022-03-24 18:41:20 +08:00
Minghao Li
b3ec7c8261
sync refactor
2022-03-24 17:30:50 +08:00
Minghao Li
e58812aab5
sync refactor
2022-03-24 11:40:36 +08:00
Minghao Li
b05706f9cf
sync refactor
2022-03-23 18:53:58 +08:00
Minghao Li
d5188f14f9
sync refactor
2022-03-23 17:56:32 +08:00
Minghao Li
996886e726
sync refactor
2022-03-23 17:08:07 +08:00
Minghao Li
7c6fbbfbd1
sync refactor
2022-03-22 16:58:36 +08:00
Minghao Li
f7432337fd
sync refactor
2022-03-22 16:43:30 +08:00
Minghao Li
1c3113686e
sync refactor
2022-03-22 16:17:17 +08:00
Minghao Li
944bb33156
sync refactor
2022-03-22 15:29:32 +08:00
Minghao Li
559f570ea0
sync refactor
2022-03-22 14:43:58 +08:00
Minghao Li
0c9e64f0d2
sync refactor
2022-03-22 13:18:29 +08:00
Minghao Li
c5c00d5955
sync refactor
2022-03-22 10:42:02 +08:00
Minghao Li
3139aaef05
sync refactor
2022-03-21 20:06:57 +08:00
Minghao Li
48aace92c5
sync refactor
2022-03-21 19:26:48 +08:00
Minghao Li
3a053453c6
sync refactor
2022-03-21 17:07:00 +08:00
Minghao Li
b8a13daf9f
sync refactor
2022-03-21 16:56:37 +08:00
Minghao Li
0f176a3afc
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-21 16:51:15 +08:00
Minghao Li
1251d64e81
sync refactor
2022-03-21 16:42:30 +08:00
Minghao Li
7129645023
sync refactor
2022-03-21 16:28:50 +08:00
Minghao Li
82144e35f0
sync refactor
2022-03-21 16:00:57 +08:00
afwerar
79057240bd
[TD-13759]<fix>: redefine thread api.
2022-03-20 00:47:45 +08:00
Minghao Li
aea4e0f472
sync refactor
2022-03-18 19:09:22 +08:00
Minghao Li
3ce39eec1c
sync refactor
2022-03-18 18:42:49 +08:00
Minghao Li
4ddb1272ad
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-18 17:48:04 +08:00
Minghao Li
736dfaf064
sync refactor
2022-03-18 17:46:40 +08:00
Minghao Li
21feed915f
sync refactor
2022-03-18 17:23:48 +08:00
Li Minghao
f0917eeec2
Merge pull request #10822 from taosdata/feature/3.0_mhli
...
Feature/3.0 mhli
2022-03-18 16:07:16 +08:00
Minghao Li
59ae887e30
sync refactor
2022-03-18 15:24:38 +08:00
Minghao Li
5de67d4256
sync refactor
2022-03-18 15:21:40 +08:00
Minghao Li
b5547c7a3d
sync refactor
2022-03-18 15:05:56 +08:00
Minghao Li
ef61d3ee94
sync refactor
2022-03-18 11:47:46 +08:00
Minghao Li
6a7f5c5fd2
sync refactor
2022-03-18 11:29:03 +08:00
Li Minghao
6a18279dd6
Merge pull request #10801 from taosdata/feature/3.0_mhli
...
sync refactor
2022-03-18 09:38:55 +08:00
Minghao Li
11c8ac91da
sync refactor
2022-03-17 18:55:26 +08:00
Li Minghao
d2366f6320
Merge pull request #10796 from taosdata/feature/3.0_mhli
...
Feature/3.0 mhli
2022-03-17 16:45:08 +08:00
Minghao Li
e5b0e1465d
sync refactor
2022-03-17 16:33:10 +08:00
Minghao Li
13aa59409d
sync refactor
2022-03-17 16:22:51 +08:00
Minghao Li
9db8804581
sync refactor
2022-03-17 15:53:28 +08:00
afwerar
30c10ef8b3
[TD-13063]<fix>: prepare for win compilation.
2022-03-17 14:22:36 +08:00
Minghao Li
bc60b00d75
sync refactor
2022-03-16 21:22:56 +08:00
Minghao Li
5ab55c6554
sync refactor
2022-03-16 21:21:48 +08:00
Minghao Li
4d4fabf403
sync refactor
2022-03-16 21:11:20 +08:00
Minghao Li
acea32ed41
sync refactor
2022-03-16 20:17:32 +08:00
Minghao Li
fda9803c17
sync refactor
2022-03-16 20:03:22 +08:00
Minghao Li
f22226a44e
sync refactor
2022-03-16 17:16:10 +08:00
Minghao Li
5387e4ff7d
sync refactor
2022-03-16 16:54:55 +08:00
Minghao Li
b08cdf2f82
sync refactor
2022-03-16 16:20:01 +08:00
Minghao Li
acfe73ed18
sync refactor
2022-03-16 15:47:49 +08:00
Minghao Li
90478b8742
sync refactor
2022-03-16 15:24:11 +08:00
Minghao Li
f7cd75544c
sync raft store
2022-03-16 15:09:56 +08:00
Minghao Li
6fcbca5b39
sync ping
2022-03-16 11:45:12 +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
b5b1417a8b
sync append entries (sync-io)
2022-03-16 10:54:06 +08:00
Shuduo Sang
23bef711fc
Feature/sangshuduo/td 13063 3.0 windows ( #10720 )
...
* [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
2022-03-15 21:35:04 +08:00
Minghao Li
a69330b68d
sync append entries (sync-io)
2022-03-15 14:07:45 +08:00
Minghao Li
09e2f36ddd
sync append entries
2022-03-15 14:04:16 +08:00
Minghao Li
17e6071033
sync index
2022-03-15 10:47:11 +08:00
Minghao Li
f924c1b879
sync index
2022-03-14 20:43:35 +08:00
Minghao Li
7c868aea85
sync index
2022-03-14 18:44:53 +08:00
Minghao Li
8ae9fb6ae1
sync index
2022-03-14 18:22:39 +08:00
Minghao Li
9734b9b0ec
sync index
2022-03-14 17:02:43 +08:00
Minghao Li
a471152b96
sync index
2022-03-14 16:34:01 +08:00
Minghao Li
7d897369d5
sync index
2022-03-14 16:27:25 +08:00
Minghao Li
1a78917767
sync index
2022-03-14 14:05:40 +08:00
Minghao Li
51ceed983f
sync io test
2022-03-13 16:36:32 +08:00
Minghao Li
1336e08ad0
sync io
2022-03-13 16:27:14 +08:00
Minghao Li
9bac1deeb9
sync io
2022-03-13 16:19:54 +08:00
Minghao Li
7607169b17
sync io
2022-03-12 17:19:54 +08:00
Minghao Li
2796c0d171
sync comment
2022-03-12 17:13:49 +08:00
Minghao Li
81be154e0d
sync refactor
2022-03-12 17:02:15 +08:00
Minghao Li
be532bd5eb
sync refactor
2022-03-12 12:29:44 +08:00
Minghao Li
94efe10119
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-11 19:57:24 +08:00
Minghao Li
f1624582cc
sync refactor
2022-03-11 19:56:17 +08:00
Minghao Li
317f7669d7
sync refactor
2022-03-11 19:52:59 +08:00
Minghao Li
690dabd617
sync refactor
2022-03-11 19:11:38 +08:00
Minghao Li
78b5da0e0f
sync refactor
2022-03-11 17:08:27 +08:00
afwerar
e04ef027ab
[TD-13768]<fix>: redefine time api.
2022-03-11 16:49:07 +08:00
Minghao Li
7469d62fd7
sync refactor
2022-03-11 15:05:10 +08:00
Minghao Li
a0a62227c8
sync refactor
2022-03-11 11:47:56 +08:00
Minghao Li
6a3869a3bc
sync refactor
2022-03-11 10:50:50 +08:00
Minghao Li
88aef2d1ab
sync refactor
2022-03-10 19:21:02 +08:00
Minghao Li
73d768d273
sync refactor
2022-03-10 16:54:26 +08:00
Minghao Li
901b5976cc
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-10 16:18:32 +08:00
Minghao Li
889d1339e5
sync refactor
2022-03-10 16:18:16 +08:00
Minghao Li
ebeb4bb7a6
sync refactor
2022-03-10 14:34:02 +08:00
afwerar
651b3971c0
[TD-13766]<fix>: redefine sleep api.
2022-03-10 11:56:11 +08:00
Minghao Li
a51e576126
sync refactor
2022-03-10 11:21:04 +08:00
afwerar
c6de196769
[TD-13765]<fix>: redefine rand api.
2022-03-10 00:36:30 +08:00
Minghao Li
30be9d3e31
sync refactor
2022-03-09 20:04:39 +08:00
Minghao Li
d083c79744
sync refactor
2022-03-09 19:13:09 +08:00
Minghao Li
3dfb9bb022
sync refactor
2022-03-09 18:56:39 +08:00
Minghao Li
c462ef61e3
sync refactor
2022-03-09 18:35:57 +08:00
Minghao Li
41516e024a
sync refactor
2022-03-09 18:33:41 +08:00
Minghao Li
d87411116b
sync refactor
2022-03-09 16:34:34 +08:00
Minghao Li
fa7f441f42
sync refactor
2022-03-09 15:07:43 +08:00
Minghao Li
0c8f62f701
sync refactor
2022-03-09 14:51:02 +08:00
Minghao Li
2fcc970d79
sync refactor
2022-03-09 11:27:22 +08:00
Minghao Li
d3b1d5d8f1
sync refactor
2022-03-09 10:58:22 +08:00
Minghao Li
3b4149ba32
sync refactor
2022-03-09 10:15:40 +08:00
Minghao Li
3fb4b86248
sync refactor
2022-03-08 20:43:12 +08:00
Minghao Li
d958655dd3
sync refactor
2022-03-08 20:22:31 +08:00
Minghao Li
2ae6f747f9
sync refactor
2022-03-08 17:07:29 +08:00
Minghao Li
54c260738f
sync refactor
2022-03-08 14:45:03 +08:00
Minghao Li
ffe442301c
sync refactor
2022-03-08 14:19:50 +08:00
Minghao Li
f556d98159
sync refactor
2022-03-08 13:55:13 +08:00
Minghao Li
c9c48e870d
sync refactor
2022-03-08 13:43:54 +08:00
Minghao Li
264c30e5db
sync refactor
2022-03-08 10:52:18 +08:00
Minghao Li
cf0857e113
sync refactor
2022-03-07 16:59:16 +08:00
Minghao Li
b8aa420e3a
sync refactor
2022-03-07 16:46:17 +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
25af19bd24
sync refactor
2022-03-07 16:06:07 +08:00
Minghao Li
a0319ae49b
sync refactor
2022-03-07 14:42:04 +08:00
Minghao Li
b59028365a
sync refactor
2022-03-07 14:18:46 +08:00
Minghao Li
5696c85aa8
sync refactor
2022-03-06 18:58:20 +08:00
Minghao Li
97a71fd81e
sync refactor
2022-03-06 17:59:24 +08:00
Minghao Li
d95593ac46
sync refactor
2022-03-06 12:51:42 +08:00
Minghao Li
551d7cfa6d
sync refactor
2022-03-06 12:25:12 +08:00
Minghao Li
29fab2e30a
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-05 15:06:59 +08:00
Minghao Li
b7e22154b2
sync timeout
2022-03-05 15:03:49 +08:00
Minghao Li
b75da82c96
sync timeout
2022-03-05 12:28:34 +08:00
Minghao Li
98b3530699
sync timeout
2022-03-04 16:54:25 +08:00
Minghao Li
8d789bba31
sync enq
2022-03-04 15:48:09 +08:00
Shengliang Guan
fe8ffe5577
Merge pull request #10548 from taosdata/feature/config
...
monitor
2022-03-04 15:40:45 +08:00
Shengliang Guan
1d9119df87
record num of logs for monitoring
2022-03-04 14:34:35 +08:00
Haojun Liao
cde3e97061
[td-13039] merge 3.0.
2022-03-04 14:31:21 +08:00
Haojun Liao
92da01a8ba
[td-13039] refactor.
2022-03-04 13:25:39 +08:00
afwerar
35b3edaea5
[TD-13756]<fix>: file system stat access func.
2022-03-04 00:04:57 +08:00
Minghao Li
64d224a0d2
syncInt
2022-03-03 17:28:00 +08:00
Minghao Li
8d15d79fc1
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
2022-03-03 16:16:07 +08:00
Minghao Li
aeb94af5e0
sync encode/decode
2022-03-03 16:15:18 +08:00
Minghao Li
f263a623dd
sync encode/decode
2022-03-03 14:52:30 +08:00
Minghao Li
76c4fce8d0
ping test
2022-03-03 11:37:19 +08:00
Li Minghao
06bbae7d21
Merge pull request #10517 from taosdata/feature/3.0_mhli
...
Feature/3.0 mhli
2022-03-03 10:59:34 +08:00
Minghao Li
a78d7028ef
new fileIO
2022-03-03 10:46:48 +08:00
Minghao Li
fe1f280ce4
sync modify timer
2022-03-02 20:43:03 +08:00
Minghao Li
08df4b42de
sync modify timer
2022-03-02 20:08:46 +08:00
Minghao Li
99bc46e7de
sync modify timer
2022-03-02 19:56:15 +08:00
Minghao Li
6d6e7bdf3d
sync modify timer
2022-03-02 18:30:21 +08:00
Shengliang Guan
dc30a83f24
monitor
2022-03-02 17:48:39 +08:00
Minghao Li
8057e44d17
sync modify timer
2022-03-02 17:40:22 +08:00
Minghao Li
398d5ec3a7
sync io
2022-03-02 16:37:04 +08:00
Minghao Li
a2d9cd4403
sync io
2022-03-02 16:19:15 +08:00
Minghao Li
3e591a022c
sync io
2022-03-02 15:20:49 +08:00
Minghao Li
5a4fbcf262
sync io
2022-03-02 15:11:54 +08:00
Minghao Li
ee43a70c4d
sync modify timer
2022-03-02 10:43:59 +08:00
Minghao Li
aaf5e20fdc
sync encode test
2022-03-01 20:29:49 +08:00
Minghao Li
12c202aa31
sync encode test
2022-03-01 18:35:07 +08:00
Minghao Li
12050c9a2a
sync encode test
2022-03-01 16:42:37 +08:00
Minghao Li
48bed2020c
sync encode test
2022-03-01 16:19:42 +08:00
Minghao Li
d57320031f
sync ping
2022-03-01 15:16:44 +08:00
Minghao Li
eaf6142c79
sync modify timer
2022-02-28 17:47:47 +08:00
Minghao Li
c9efe3dea7
sync modify timer
2022-02-28 16:36:57 +08:00
Minghao Li
02f0f85aab
sync modify timer
2022-02-28 14:10:34 +08:00
afwerar
1e17bfa6fb
[TD-13062]<fix>: file system write fsync error
2022-02-28 01:51:14 +08:00
Minghao Li
b6803ae9cc
comment log code
2022-02-27 14:27:06 +08:00
Minghao Li
c12c0df80e
comment log store
2022-02-27 14:17:21 +08:00
Minghao Li
4afcb4387c
add sync io
2022-02-27 10:22:15 +08:00
Minghao Li
b55cf2bc7e
add sync code
2022-02-27 02:24:50 +08:00
Minghao Li
dbe28cd4ff
add sync code
2022-02-27 00:02:18 +08:00
Minghao Li
e8780cebed
add sync code
2022-02-26 18:30:58 +08:00
Minghao Li
b63995287d
add raft store
2022-02-25 17:55:20 +08:00
Minghao Li
296d9abe2a
add sync code
2022-02-25 15:34:24 +08:00
Minghao Li
113618bea3
add sync test
2022-02-25 14:38:12 +08:00
Minghao Li
51adf7e25e
add raft store
2022-02-24 21:03:25 +08:00
Minghao Li
c67a14ad8f
add raft store
2022-02-24 20:22:55 +08:00
Minghao Li
8b71c4f5af
add sync store test
2022-02-24 10:42:24 +08:00
Minghao Li
700287508a
add sync store
2022-02-23 20:14:37 +08:00
Minghao Li
6cf9bb57f5
add timer
2022-02-23 17:17:02 +08:00
Minghao Li
7a47508c0e
add sync io
2022-02-23 16:58:47 +08:00
Minghao Li
c2a01bfd91
add sync io
2022-02-23 16:14:02 +08:00
Minghao Li
0e0af1de05
add sync code
2022-02-23 15:17:49 +08:00
Minghao Li
3d9d5240a5
add sync code
2022-02-23 09:54:44 +08:00
Minghao Li
dca01dda58
add test
2022-02-22 11:52:49 +08:00
Minghao Li
be375fa143
add sync code
2022-02-22 11:28:15 +08:00
Shengliang Guan
f5c92c566c
rollback for sync
2022-02-09 14:51:23 +08:00
Minghao Li
ec70e160ef
rm old sync code
2022-02-09 14:13:06 +08:00
Yihao Deng
13d2c8ffea
Merge pull request #9987 from taosdata/feature/rename_macro
...
rename MAX/MIN/POW2/SWAP name
2022-01-24 13:23:27 +08:00
yihaoDeng
92bef71ec7
rename MAX/MIN/POW2/SWAP name
2022-01-24 12:53:17 +08:00
Shengliang Guan
8cdd7023c6
remove warnings
2022-01-21 00:32:58 -08:00
Haojun Liao
8c416a5e4e
[td-10564] refactor and add test cases.
2021-12-10 17:28:09 +08:00
lichuang
b0c147f057
[TD-10645][raft]<feature>add vote resp process
2021-11-22 10:04:47 +08:00
lichuang
68e6b82a66
[TD-10645][raft]<feature>add vote resp process
2021-11-19 11:31:54 +08:00
lichuang
ce654f835a
[TD-10645][raft]<feature>refactor node and progress map
2021-11-19 10:18:56 +08:00
lichuang
7e2590f108
[TD-10645][raft]<feature>refactor node and progress map
2021-11-18 17:19:33 +08:00
lichuang
98a6b1918c
[TD-10645][raft]<feature>refactor node and progress map
2021-11-17 15:50:57 +08:00
lichuang
da029f32a7
[TD-10645][raft]<feature>refactor node and progress map
2021-11-17 12:06:06 +08:00
lichuang
df2530f969
[TD-10645][raft]<feature>refactor node and progress map
2021-11-17 11:04:38 +08:00
lichuang
1d874657f7
[TD-10645][raft]<feature>add node map
2021-11-17 09:12:54 +08:00
lichuang
0c65b84886
[TD-10645][raft]<feature>add node map
2021-11-17 08:29:24 +08:00
lichuang
a936a7a584
[TD-10645][raft]<feature>add node map
2021-11-16 15:41:08 +08:00
lichuang
ffed86366f
[TD-10645][raft]<feature>fix compile error
2021-11-16 13:50:28 +08:00
lichuang
8ab1eb642e
[TD-10645][raft]<feature>refactor sync interface
2021-11-16 11:42:34 +08:00
lichuang
2521994923
[TD-10645][raft]<feature>refactor sync interface
2021-11-15 11:58:12 +08:00
lichuang
83a40a7f5a
[TD-10645][raft]<feature>refactor sync interface
2021-11-15 11:11:06 +08:00
lichuang
aa438e7a53
[TD-10645][raft]<feature>add restore process
2021-11-15 10:56:22 +08:00
lichuang
24b599f14b
[TD-10645][raft]<feature>add restore process
2021-11-12 18:09:09 +08:00
lichuang
fb01dd5628
[TD-10645][raft]<feature>add restore process
2021-11-12 16:00:33 +08:00
lichuang
6d3efd1b1a
[TD-10645][raft]<feature>refactor sync typedef
2021-11-12 10:20:03 +08:00
lichuang
f10a91ff03
[TD-10645][raft]<feature>refactor sync interface
2021-11-09 15:30:07 +08:00
lichuang
de3164f16f
[TD-10645][raft]<feature>add raft progress tracker
2021-11-09 14:58:10 +08:00
lichuang
e17f573e0e
[TD-10645][raft]<feature>add raft progress tracker
2021-11-09 10:53:08 +08:00
lichuang
ccf8f14fdb
[TD-10645][raft]<feature>add raft progress tracker
2021-11-08 15:58:19 +08:00
lichuang
4022f360a7
[TD-10645][raft]<feature>add raft append message handle
2021-11-05 16:35:07 +08:00
lichuang
aee5ebd1ce
[TD-10645][raft]<feature>add raft append message handle
2021-11-05 15:03:56 +08:00
lichuang
da106e29b2
[TD-10645][raft]<feature>add raft vote message handle
2021-11-04 15:51:30 +08:00
lichuang
c25d174fc2
[TD-10645][raft]<feature>add raft vote resp message handle
2021-11-04 14:56:21 +08:00
lichuang
e05e6dba9a
[TD-10645][raft]<feature>add raft election message handle
2021-11-04 12:39:45 +08:00
lichuang
446b14f315
[TD-10645][raft]<feature>replace SRpcEpSet to SEpSet
2021-11-04 09:53:52 +08:00
lichuang
aab981f667
[TD-10645][raft]<feature>add raft election message handle
2021-11-03 15:30:54 +08:00
lichuang
349a6a4771
[TD-10645][raft]<feature>add raft message handle
2021-11-03 11:47:44 +08:00
lichuang
24a0966da6
[TD-10645][raft]<feature>add raft progress
2021-11-02 15:50:27 +08:00
lichuang
fca35ceb29
[TD-10645][raft]<feature>add sync rpc client and server
2021-11-02 10:49:23 +08:00
lichuang
5b7261d63f
[TD-10645][raft]<feature>add sync node timer
2021-10-29 17:09:25 +08:00