Commit Graph

1093 Commits

Author SHA1 Message Date
Shengliang Guan b74e0b0715
Merge pull request #19004 from taosdata/FIX/TD-21169-main
fix: allow to rollback sync log buffer beyond startIndex with refill
2022-12-19 12:57:17 +08:00
Benguang Zhao a218108140 fix: allow to rollback sync log buffer beyond startIndex with refill 2022-12-19 11:15:03 +08:00
Shengliang Guan ead5d8edf2 fix: reduce drop dnode speed makes data more secure 2022-12-17 18:34:29 +08:00
Benguang Zhao 8af1cf15a7 enh: adjust batchSize dynamically on retryBackoff 2022-12-14 21:37:16 +08:00
Shengliang Guan 60bab9ae55 refact: post sem in vnode while sync timeout 2022-12-14 16:09:28 +08:00
Shengliang Guan 9af36669ad refact: post sem in vnode while sync timeout 2022-12-14 11:56:08 +08:00
Shengliang Guan 2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
Shengliang Guan 50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
Minghao Li 291750b9c3 fix(sync): snapshot problem 2022-12-08 22:34:08 +08:00
Shengliang Guan 932d7a7ac6
Merge pull request #18808 from taosdata/fix/sync
fix(sync): checkout NULL pointer
2022-12-08 17:16:12 +08:00
Minghao Li abd5c696f0 fix(sync): checkout NULL pointer 2022-12-08 15:21:41 +08:00
Shengliang Guan 1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan 297ba7f7d4
Merge pull request #18775 from taosdata/fix/TD-20045
refact: adjust some assert cases
2022-12-07 21:44:34 +08:00
Shengliang Guan be227bd6f6
Merge pull request #18783 from taosdata/feature/3.0_mhli
refactor(sync): re send snapshot in timer-routine when response timeout
2022-12-07 21:26:15 +08:00
Minghao Li c29401edf2 refactor(sync): re send snapshot in timer-routine 2022-12-07 19:46:26 +08:00
Shengliang Guan 4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan 6ef608f7af fix: complie error 2022-12-07 19:02:43 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Benguang Zhao 50883689e7 enh: check contiguousness of indexes applied to vnode tsdb 2022-12-07 17:30:22 +08:00
Shengliang Guan a1d0433898
Merge pull request #18746 from taosdata/fix/add_reserved
refactor(sync): add reserved field in message
2022-12-06 18:34:28 +08:00
Minghao Li 20e2acbacf refactor(sync): add reserved field in message 2022-12-06 16:59:19 +08:00
Benguang Zhao 529d8cc800 enh: enable timeout checking of sync Resp with ttl as 30s 2022-12-06 16:46:53 +08:00
Benguang Zhao 577a203541 fix: synchronize access of pWalHandle with mutex in raftLogGetEntry 2022-12-06 12:50:59 +08:00
Shengliang Guan aad8469e86
Merge pull request #18716 from taosdata/feature/3.0_sync_pipeline
fix(sync): close snapshot receiver in pre-close
2022-12-06 09:47:00 +08:00
Minghao Li b107518b00 fix(sync): when FpApplyQueueItems return -1, break loop 2022-12-05 20:24:25 +08:00
Minghao Li a1ed4b334c fix(sync): close snapshot receiver in pre-close 2022-12-05 18:50:19 +08:00
Shengliang Guan c1b8d1b2b2
Merge pull request #18695 from taosdata/feature/3.0_sync_pipeline
refactor(sync): modify/use default config value
2022-12-05 17:19:13 +08:00
Minghao Li 3939c96a92 refactor(sync): modify/use default config value 2022-12-05 12:35:57 +08:00
Shengliang Guan 6296057ebb
Merge pull request #18685 from taosdata/feature/3.0_sync_pipeline
fix(sync): fix snapshot receiver waiting time
2022-12-05 12:00:38 +08:00
Minghao Li 3d3e4b6d83 fix(sync): fix snapshot receiver waiting time 2022-12-05 10:18:14 +08:00
Shengliang Guan df4e966136
Merge pull request #18672 from taosdata/feature/3.0_sync_pipeline
refactor(sync): add config item and default value in sync
2022-12-04 11:22:08 +08:00
Minghao Li 575c5e89fc refactor(sync): add config item in sync 2022-12-04 09:49:27 +08:00
Benguang Zhao 21ff35ee42 fix: truncate WAL on need while syncLogBufferRollback 2022-12-04 08:13:49 +08:00
Shengliang Guan cc8e1071ab
Merge pull request #18668 from taosdata/FIX/TD-19334-3.0
fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg
2022-12-03 22:06:40 +08:00
Benguang Zhao a7807d3ee4 fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg 2022-12-03 20:53:56 +08:00
Shengliang Guan b4cb000634
Merge pull request #18659 from taosdata/refact/TD-20127
refact: remove some error codes
2022-12-03 13:00:24 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Benguang Zhao 7eca212756 Merge branch '3.0' into FIX/TD-19334-3.0 2022-12-03 10:02:59 +08:00
Benguang Zhao 2ce07c6ec1 fix: get result of tmsPutToQueue for FpCommitCb 2022-12-03 09:05:50 +08:00
Benguang Zhao e97c8f637b enh: logging sync log buffer rollback events 2022-12-03 09:05:39 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Benguang Zhao 03d62e478f fix: get prevLogTerm of index zero as 0 only when firstVer is zero 2022-12-01 22:18:08 +08:00
Shengliang Guan 704885e212 fix: compile error 2022-12-01 15:07:40 +08:00
Shengliang Guan fe759c85f3 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19334-3.0 2022-12-01 15:04:55 +08:00
Shengliang Guan ce768920ef
Merge pull request #18604 from taosdata/feature/3.0_mhli
refactor(sync): add traceId log
2022-12-01 14:11:10 +08:00
Minghao Li f5bebc53f1 refactor(sync): add traceId log 2022-12-01 12:53:38 +08:00
Shengliang Guan b6f1ce2027
Merge pull request #18589 from taosdata/feature/3.0_mhli
refactor(sync): help to display leader**
2022-12-01 11:54:39 +08:00
Benguang Zhao 55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00