Commit graph

99 commits

Author SHA1 Message Date
wangmm0220
c638564179 fix:confilcts from main 2023-02-26 23:09:57 +08:00
Xiaoyu Wang
d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
wangmm0220
54a546931c fix:optimize version logic in tmq and remove useless code 2023-02-24 19:22:08 +08:00
wangmm0220
b28c0ad952 fix:remove useless logic in tmq 2023-02-21 18:49:39 +08:00
Benguang Zhao
bcf6d5b641 fix: clear some asserts in walRead.c 2023-02-16 16:06:12 +08:00
Xiaoyu Wang
3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Benguang Zhao
5ce5dded75 enh: reset wal reader after walReadVer 2023-02-08 14:41:15 +08:00
Haojun Liao
fbc9e77004
Merge branch '3.0' into refact/submit_req 2022-12-26 10:26:17 +08:00
kailixu
ed3a0c1dc1 chore: vgId format uniform 2022-12-24 23:44:01 +08:00
Xiaoyu Wang
0c269c317b merge 3.0 2022-12-23 17:50:05 +08:00
Liu Jicong
50729f0cc4 refactor: remove assert 2022-12-21 14:16:28 +08:00
Shengliang Guan
41dcd32b8e refact: adjust some logs 2022-12-20 15:01:03 +08:00
Liu Jicong
271822ebc4 refactor: support submitreq2 2022-12-08 01:55:47 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +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
3f1a0cefbb fix: walSaveMeta ahead of deleting WAL files as gc in walEndSnapshot
delete WAL files in descending order during walRollback
2022-12-06 00:51:45 +08:00
Shengliang Guan
d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Liu Jicong
f0a66602da fix(taosx): set version 2022-11-01 19:28:42 +08:00
Liu Jicong
94e7c79ca0 fix(tmq): handle adding subtable for subscribing stb 2022-11-01 18:18:26 +08:00
Liu Jicong
ce1b6147a0 enh(client): add debug log 2022-10-20 15:34:27 +08:00
Benguang Zhao
3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
Benguang Zhao
616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao
7fb827debd fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx.
* search for the last entry in the contiguous range of valid WAL from the last pos fsynced as firstTrial
    * find the last entry before the last pos fsynced backwards as second trial
    * reserve sufficient space for computing CRC32 checksum, esp. of WAL record body
    * rebuild meta info to resolve potential misalignment between lists of meta and actual log files
    * retract commitIndex and appliedIndex to lastLogIndex if needed
    * put an upper size limit on possibly corrupted WAL range to be recovered
2022-10-15 23:56:31 +08:00
Benguang Zhao
c693384ec4 enh: replace asserts with error logs in walReadVer 2022-10-14 22:57:28 +08:00
Benguang Zhao
63b13db10f fix: eliminate asserts on getting and committing log entries 2022-10-14 22:57:27 +08:00
Liu Jicong
6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
Liu Jicong
db6b0503a1 refactor(stream): change state table name 2022-10-12 14:34:04 +08:00
Liu Jicong
69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +08:00
Liu Jicong
b1594a6857 fix coverity scan 2022-10-10 11:44:17 +08:00
Minglei Jin
b6ddf5bfd7 fix: update wal reader's curFileFirstVer 2022-09-08 18:30:15 +08:00
wangmm0220
c5874ca892 fix: add filter logic for tmq in stable wal 2022-08-31 18:32:28 +08:00
Shengliang Guan
56f2e49764 refactor: adjust logs 2022-08-02 17:12:07 +08:00
Shengliang Guan
99f29f6455 refactor: adjust log 2022-08-01 17:23:52 +08:00
Liu Jicong
6d67b17113 enh(wal): add lock to guarantee read behaviour 2022-07-30 16:35:49 +08:00
Liu Jicong
0c942e622a enh(wal): remove file failure handling 2022-07-28 13:37:57 +08:00
Liu Jicong
222e925644 feat(wal): ref 2022-07-25 16:40:19 +08:00
Shengliang Guan
5b654779ba Merge pull request #15372 from taosdata/fix/tsim
test: regression case
2022-07-25 15:23:41 +08:00
Liu Jicong
095f6aa4e0 fix(tmq): correctly set reader status 2022-07-23 20:07:16 +08:00
Liu Jicong
a3133b9f6d feat(wal): log applied ver 2022-07-20 10:55:28 +08:00
Liu Jicong
bc1af6deaf refactor(stream): batch optimization for submit msg 2022-07-19 15:52:08 +08:00
Liu Jicong
053786e6b4 fix(stream): data exec 2022-07-18 15:50:36 +08:00
Liu Jicong
d637ffe22c refactor(tmq): prepare only needed 2022-07-12 14:10:22 +08:00
Liu Jicong
219d966b25 fix(wal): read after rolling 2022-07-10 21:02:25 +08:00
Liu Jicong
8afb54548f refactor(stream) 2022-07-10 13:21:37 +08:00
Liu Jicong
e9077c036f merge from 3.0 2022-07-10 11:24:37 +08:00
Liu Jicong
a2107992e2 refactor(stream) 2022-07-10 11:18:15 +08:00
Shengliang Guan
c53a84b733 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-09 20:13:26 +08:00
Liu Jicong
8d01ae00cb fix(tmq): offset 2022-07-08 21:37:15 +08:00
Liu Jicong
a9e75c87aa refactor(stream): internal refactor 2022-07-08 19:30:40 +08:00