Commit Graph

152 Commits

Author SHA1 Message Date
wangmm0220 1771a54256 fix:rebalance not only one in once timer 2023-04-17 19:59:11 +08:00
Shengliang Guan ff70b102fa fix: set trans from rollback to undo if mnode not leader 2023-03-03 17:30:02 +08:00
Benguang Zhao caaff5c546 enh: rotate wal of mnode properly 2023-03-01 10:02:33 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Benguang Zhao 0c7a4bfad9 enh: refactor syncBeginSnapshot and walBeginSnapshot for logRetention 2023-02-20 19:19:49 +08:00
yihaoDeng 17b7b81cd7 opt index 2023-02-04 10:25:50 +08:00
Shengliang Guan d57b28ac68 Merge remote-tracking branch 'origin/main' into fix/TD-21663 2023-01-12 13:22:20 +08:00
Shengliang Guan e9c213ff0f fix: repeat malloc sdb raw 2023-01-11 16:37:45 +08:00
Shengliang Guan f02f3e7a07 fix: allow mnode start even dnode in dropping state 2023-01-11 10:12:54 +08:00
Shengliang Guan 42d911bf8e Merge remote-tracking branch 'origin/main' into FIX/TD-21043-main 2023-01-08 09:44:07 +08:00
Shengliang Guan ef6c273c11 fix: minor changes 2023-01-06 15:56:27 +08:00
Shengliang Guan f5a6108ca0 fix: minor changes 2023-01-06 15:55:16 +08:00
Shengliang Guan 4a90f84e26 fix: minor changes 2023-01-06 15:50:27 +08:00
Shengliang Guan e2ac984f61 fix: close file on sdbStopWrite 2023-01-06 15:40:09 +08:00
Shengliang Guan bf6dc99461 fix: adjust sync logs 2023-01-04 11:48:30 +08:00
Shengliang Guan 9c8b194c34 refact: set FpSnapshotStopRead return type to void 2022-12-20 15:07:27 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Shengliang Guan 5625ea9f2a fix: failed to read sdb while udf larger then 10M 2022-11-02 17:09:53 +08:00
Shengliang Guan f2e1bd55d3 fix: failed to read sdb while udf larger then 10M 2022-11-02 17:08:15 +08:00
Shengliang Guan 5240814261 test: improve coverall 2022-10-27 17:45:50 +08:00
Minghao Li a35ad361d0 refacotr(sync): call syncBeginSnapshot instead of walBeginSnapshot 2022-10-20 18:01:43 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Shengliang Guan 0f6ba60da4 fix: wrong unlock commands 2022-10-18 14:49:43 +08:00
Shengliang Guan 00080750fa fix: mnode may deadlock while drop another mnode if it crashed 2022-10-17 20:40:11 +08:00
Shengliang Guan 78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Hongze Cheng 6ed0634fb7 format more code 2022-10-13 11:56:16 +08:00
Shengliang Guan e98335bdfa fix: coverity issues 2022-10-08 11:29:46 +08:00
Shengliang Guan e5abe59bb1 fix: coverity issues 2022-09-28 09:29:54 +08:00
Shengliang Guan b542b4b8ae fix: double free while perform sdbDeleteRow in multi-threads 2022-09-27 14:03:45 +08:00
Shengliang Guan 555a99bf90 enh: dump sdb info from mnode 2022-09-26 16:18:48 +08:00
Shengliang Guan 3810b5d4fa fix: add more info log for mnode 2022-09-23 15:42:36 +08:00
Shengliang Guan fae0ad1bfa fix: add more trace log for mnode 2022-09-23 13:23:48 +08:00
Liu Jicong bf37f3fa68 feat(wal): remove wal log size limitation 2022-07-20 16:15:53 +08:00
Shengliang Guan 390264db3f enh: assert the term of the snapshot as same as the memory 2022-07-19 17:11:15 +08:00
Shengliang Guan 0d33e7363f fix: read sdb when restore from raft module may cause crash 2022-07-19 15:41:31 +08:00
Shengliang Guan 4a494e234e test: cases with 100 dnodes 2022-07-05 14:40:48 +08:00
Shengliang Guan f5c0ab8579 feat: drop dnode 2022-06-22 14:55:29 +08:00
Shengliang Guan ab0d7d31bc refactor: get sdb snapshot in atomic way 2022-06-20 18:37:46 +08:00
Shengliang Guan 96434756de refactor: save sdb file on needed 2022-06-20 16:23:04 +08:00
Shengliang Guan 94071f4cc7 refactor: add more logs 2022-06-17 16:52:25 +08:00
Shengliang Guan db4e02c7c7 fix: add log to debug mnode sync 2022-06-17 15:23:17 +08:00
Shengliang Guan ad5f9555fb refactor: sdb commit index 2022-06-17 14:48:30 +08:00
Shengliang Guan 35c74839f6 test: case from drop dnode which has mnode 2022-06-11 17:59:57 +08:00
Shengliang Guan d702cb1486 refactor: adjust mnode log 2022-06-11 12:55:16 +08:00
Shengliang Guan 95ca88432f fix: save sync config in mnode 2022-06-11 10:58:57 +08:00
Shengliang Guan b90f1f246c refactor: adjust mnode trace log 2022-06-10 16:31:33 +08:00
Shengliang Guan 4da408afe6 enh: call walEndSnapshot while sdb writefile 2022-06-09 17:44:39 +08:00
Shengliang Guan 17f8ccc901 enh: record config index 2022-06-09 14:12:52 +08:00
Shengliang Guan a047d4a559 Merge remote-tracking branch 'origin/feature/sync-refactor' into fix/mnode 2022-06-07 16:37:50 +08:00