Commit Graph

589 Commits

Author SHA1 Message Date
Minglei Jin 5c66712b91 fix: coverity issues 2022-10-17 15:28:10 +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 6f39a36344 fix: replace asserts on failure of tdbPagerWrite with tdbError msg 2022-10-15 23:57:37 +08:00
Benguang Zhao a4cc3f76d4 fix: ignore file not exist error of tdbOsRemove 2022-10-15 23:57:37 +08:00
Benguang Zhao 76865258cf enh: protect WAL meta by flushing to a tmpfile at first and then renaming 2022-10-14 22:32:15 +08:00
Benguang Zhao 36bf800e15 fix: improve fault tolerance on disk space full with error handling enhanced 2022-10-14 22:02:27 +08:00
Minglei Jin 3f46bd64b9 fix: dismiss some coverity scan issues 2022-10-14 17:47:21 +08:00
Hongze Cheng 2268a1e94e fix some converity scan problem 2022-10-14 13:34:25 +08:00
Minglei Jin ccdd3ff8c2 fix: unit test case for tdb ovfl pages 2022-10-11 15:32:07 +08:00
Minglei Jin 47f286869c fix(tdb): add cell header size while decoding left bytes 2022-10-11 14:25:30 +08:00
Shengliang Guan e99b8a5f57
Merge pull request #17240 from taosdata/fix/TD-19261
fix(tdb): subtract payload size with cell header size
2022-10-09 19:30:57 +08:00
Minglei Jin 4a64803278 fix(tdb): subtract payload size with cell header size 2022-10-09 18:40:24 +08:00
Minglei Jin de3e886188 fix(test): ovfl page case with border condition checking 2022-10-09 16:38:58 +08:00
Hongze Cheng 18e31f8e26 more fix 2022-10-09 15:50:22 +08:00
Hongze Cheng a27677d285 more fix 2022-10-09 15:44:01 +08:00
Hongze Cheng 2015db5756 alter pages 2022-10-09 15:01:20 +08:00
Zhiqiang Wang d05b134a48
os: Mac package (#17201)
* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package
2022-10-08 10:12:17 +08:00
Minglei Jin 47b7aeabbc enh(tdb): more debug output for page's overflow cells 2022-09-21 15:21:56 +08:00
Minglei Jin 5a5b9f4f70 fix: update dbOrigSize before releasing dirty pages 2022-09-19 21:29:32 +08:00
Minglei Jin 5dddf1812b fix: copy rpgno with non-leaf pages 2022-09-19 16:53:18 +08:00
Minglei Jin 66bcf1fad6 fix: deep copy ovfl cells to avoid double free 2022-09-14 19:22:26 +08:00
Minglei Jin 3922ea4922 fix: drop page from rbtree before releasing 2022-09-13 19:16:25 +08:00
Minglei Jin 508c7abb68 fix(tdb): use rbtree with dirty pages' list 2022-09-13 10:51:15 +08:00
Minglei Jin bdb7f20d3d fix: force pageSize as i64 to fix u32 overflow 2022-09-06 16:29:59 +08:00
Minglei Jin 95e591efed fix: release pages with drop case 2022-08-29 15:30:05 +08:00
Minglei Jin e05169ccc6 fix: free ofp large value's memory 2022-08-25 18:16:34 +08:00
Minglei Jin 45775a9e83 fix: release ofp when encoding and decoding 2022-08-25 15:56:27 +08:00
Minglei Jin 437d4947f6 fix: tdb page cache hash page removing fix 2022-08-24 20:13:18 +08:00
Minglei Jin 0338530544 fix: wait pPageH to complete initialization 2022-08-19 19:40:21 +08:00
Minglei Jin 938c6e4c05 fix: zero cell coder 2022-08-04 20:06:55 +08:00
Minglei Jin d5c36c6536 fix: free cell decoder's pVal when resetting 2022-08-04 19:03:53 +08:00
Minglei Jin 8dbbd8362e fix: free btc cell coder's pval memory when closing btc 2022-08-04 15:47:31 +08:00
Minglei Jin a6c67f44c5 commit tdbInfo to fix crash 2022-08-02 19:32:21 +08:00
Minglei Jin 95a2212cef fix: tdbAbort API in tdb.h 2022-08-02 16:39:52 +08:00
Minglei Jin ad466ec7a9 fix: new API tdbAbort for tdb txn aborting 2022-08-02 15:40:06 +08:00
Minglei Jin 1584dd0ac0 fix: free ovfl cells when destroying page 2022-07-27 16:42:09 +08:00
Minglei Jin 1d3648fc9b fix(tdb): make txn write when insert subdb into main db 2022-07-18 17:31:11 +08:00
Minglei Jin 73e91f6491 fix wal kill case 2022-07-17 14:27:13 +08:00
Minglei Jin 24e40fcc39 fix memory issue 2022-07-17 00:14:36 +08:00
Minglei Jin c6b2b2f98a fix: return 0 if page's already dirty 2022-07-16 19:37:17 +08:00
Minglei Jin c816f795cd fix/tdb: first round multi-db implementation 2022-07-16 17:27:29 +08:00
Shengliang Guan e4a855e591 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 19:54:26 +08:00
Minglei Jin 5ae5ad14c4 fix: use uint32_t instead of int to avoid negative hash result 2022-07-08 18:56:48 +08:00
Shengliang Guan dca93b18cc refactor: adjust logs 2022-07-08 16:57:54 +08:00
wangmm0220 2c6f3e6971 feat: tmq get meta with json format 2022-07-06 16:02:55 +08:00
wangmm0220 78cdc64615 fix:rollback meta change 2022-07-06 10:36:56 +08:00
wangmm0220 f47c3595a2 Merge branch '3.0' into feature/TD-13041 2022-07-06 10:07:19 +08:00
Minglei Jin 06af04675a fix: dirty new allocated non-dirty page (root leaf without writings) 2022-07-05 14:28:10 +08:00
wangmm0220 a558672622 fix:merge from 3.0 2022-07-04 16:36:18 +08:00
wangmm0220 36b49b5028 fix:<TD-16840> meta ttl index core if insert with benchmark 2022-07-04 16:33:54 +08:00