Commit Graph

123 Commits

Author SHA1 Message Date
Hongze Cheng 8ef31bc186 enh: refactor return code 2024-07-29 20:14:15 +08:00
Hongze Cheng 074be75363 enh: refactor return code 2024-07-29 13:06:20 +08:00
Hongze Cheng c55db1d8f7 enh: refact return code 2024-07-25 11:45:15 +08:00
Minglei Jin ec1062a12f new memory barrier before pager assignment 2024-07-24 08:35:51 +08:00
Hongze Cheng 1ebec2c402 enh: refactor error code 2024-07-23 14:50:45 +08:00
dmchen e35be80b79 tdb abort 2024-04-11 03:05:20 +00:00
dmchen 05d6e27c69 tdb abort restore 2024-04-11 02:58:05 +00:00
dmchen d06bfd9cea free and log 2024-04-02 02:30:56 +00:00
dmchen b9deb71fc5 basic function 2024-03-29 02:48:49 +00:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
Minglei Jin 4cc3a55426 fix(tdb/recycling): delay freedb's own page recycling until balance done 2023-07-07 08:19:50 +08:00
Minglei Jin 09222801c4 fix(coverity): fix coverity scan issues 2023-07-06 17:52:48 +08:00
Minglei Jin f89b43b64c tdb/ofp-recycle: new ofps list with pager 2023-06-30 10:05:17 +08:00
Minglei Jin 8e491c307f tdb/recyle-ofp: nullize ofp's pager to mark uninitailized 2023-06-30 08:32:39 +08:00
Minglei Jin 0ec80ff47f tdb/ofp-recycle: recycle ofps when dropOfp 2023-06-29 13:14:45 +08:00
Minglei Jin 4e3df6606b tdb/btree: recyle pNews 0 2023-06-20 15:06:17 +08:00
Minglei Jin 40b741dfee tdb/pager: comment out error log 2023-06-20 07:52:45 +08:00
Minglei Jin 8fee813de6 tdb/alloc-page: new param pTxn to fix memory leaking 2023-06-13 14:35:49 +08:00
Minglei Jin 621d4b20c0 tdb/pager: remove debug log 2023-06-12 16:43:49 +08:00
Minglei Jin 9e7f860d7c enh(tdb/recycle): first round implemenation of page recycling 2023-06-12 16:40:24 +08:00
Minglei Jin a07366ed02 fix(tdb/pager): destroy txn id list 2023-03-23 18:23:14 +08:00
Minglei Jin 5d641a8934 fix(tdb/restore): restore tdb journal backward 2023-03-23 17:55:53 +08:00
Shengliang Guan f6248d21df fix: coredump if no data while vnode commit 2023-01-31 13:32:08 +08:00
Minglei Jin 4e1f5b2979 fix(meta): cleanup coverity scan issues 2023-01-05 14:04:21 +08:00
Minglei Jin 1269d20cd9 Merge branch '3.0' into fix/TD-21210 2022-12-29 09:27:35 +08:00
Minglei Jin 0facc8e088 fix(tdb/assert/cleanup): remove asserts 2022-12-28 18:38:15 +08:00
Minglei Jin c4f40874c1 tdb/pager: debug logs for pager restore 2022-12-26 09:28:00 +08:00
Minglei Jin 336ee146e6 fix(tdb/restore): seek jfd to begin 2022-12-22 17:56:56 +08:00
Minglei Jin 25e3f653ee fix(tdb/abort): invalidate flushed pages in cache not on dirty tree 2022-12-22 10:50:16 +08:00
Minglei Jin b6caecea28 tdb/pager: seek jfd to file begin when abort 2022-12-19 17:11:08 +08:00
Minglei Jin 1eea4101f1 tdb/pager: new trace log for abort operation 2022-12-19 16:40:08 +08:00
Minglei Jin 30db4f9582 fix(tdb): rollback befor commit btree root page 2022-12-19 14:45:22 +08:00
Minglei Jin 4e4b3661ea fix(tdb): rollback in-memory pages 2022-12-19 11:39:41 +08:00
Minglei Jin c22fa53bc4 fix: release lock and memory in exceptional cases 2022-12-09 10:22:43 +08:00
Minglei Jin da31f5e588 fix: dismiss coverity issues 2022-12-08 13:54:41 +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
Minglei Jin 6b7c540884 fix: use tdbTrace to reduce 135 debug log output 2022-12-05 10:14:18 +08:00
Minglei Jin 0b1cd9f824 tdb/journal: rollback & restore multiple journal files 2022-11-29 16:00:51 +08:00
Minglei Jin 7902b7aaac fix/tdb: remove UAF preped 2022-11-29 10:46:04 +08:00
Minglei Jin e090cd9dd9 tdb/pager: move journal to txn 2022-11-29 10:18:12 +08:00
Minglei Jin 50318f6f96 tdb/pager: use tdb pwrite page to db instead of write 2022-11-28 17:33:11 +08:00
Minglei Jin 506554b5d2 Merge branch 'v3.0' into fix/tdb-async-commit 2022-11-28 16:20:48 +08:00
Minglei Jin 7bb27e29b7 fix(tdb/flush): make drop two-child rbtree node works 2022-11-28 14:38:12 +08:00
Minglei Jin 1a2983c067 fix(tdb): zero pOlds[i]'s nOverflow and assert it's zero when committing 2022-11-24 18:07:06 +08:00
Minglei Jin 1441684c03 cleanup: remove unused pager open 2022-11-17 09:29:27 +08:00
stephenkgu 420be42269 fix: flush pages to get buffer ready for fetching 2022-11-14 10:37:56 +08:00
Minglei Jin c17f8244be enh(tdb): new interface of meta prep async commit 2022-11-07 16:45:29 +08:00
Minglei Jin 16275caa8d fix(tdb): typo casues large page crash 2022-10-20 15:39:37 +08:00