100 Commits
Author SHA1 Message Date
朱天龙 (Armink)andGitHub 6ac8fde6c3 feat: change the version number to 2.2.99
AutoTestCI / AutoTest (GRAN=1) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=128) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=256) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=32) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=64) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=8) (push) Has been cancelled
2026-03-23 19:09:29 +08:00
朱天龙 (Armink)andGitHub 65a87640bf feat: update the version number to v2.2.0 2026-03-23 18:59:33 +08:00
armink db383a1944 fix(kvdb): Auto test failed when FDB_WRITE_GRAN is 128.
AutoTestCI / AutoTest (GRAN=1) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=128) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=32) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=64) (push) Has been cancelled
AutoTestCI / AutoTest (GRAN=8) (push) Has been cancelled
2026-03-17 19:53:19 +08:00
armink 2a2e97d7a0 ci: add matrix test for FDB_WRITE_GRAN=[1,8,32,64,128] 2026-03-17 19:53:19 +08:00
armink 02c0db9da8 fix(tsdb): Auto test failed when FDB_WRITE_GRAN is 64 or 128.
AutoTestCI / AutoTest (push) Has been cancelled
2026-03-17 17:46:24 +08:00
armink 46729e9ff0 fix: build warnings.
AutoTestCI / AutoTest (push) Has been cancelled
2026-03-16 20:20:43 +08:00
朱天龙 (Armink)andGitHub 60f65550bc feat: Update software version to 2.1.99
AutoTestCI / AutoTest (push) Has been cancelled
2025-12-23 08:42:26 +08:00
armink 48351df976 [doc] Update the CN doc
AutoTestCI / AutoTest (push) Has been cancelled
This reverts commit 89bd19ac3c.
2025-10-23 19:16:51 +08:00
armink 89bd19ac3c [doc] Update the CN doc 2024-10-20 20:13:08 +08:00
armink f0af0eeda4 [fdb] Update the version number 2024-10-06 10:39:18 +08:00
armink 72a7905238 [kvdb] Improve the GC algorithm to solve the problem of failure to collection in some cases. 2024-10-05 22:53:52 +08:00
armink 92ed442cfc [test] update the autotest bsp and testcase to latest version 2024-09-17 22:48:37 +08:00
armink c1226f337a [kvdb] update some log level. 2023-12-02 19:26:45 +08:00
armink 8056e17f29 [kvdb] remove unused lock. 2023-12-02 19:25:26 +08:00
armink 441d514da2 [fdb] update the version number to V2.1.0 2023-11-19 12:36:13 +08:00
armink 718f73fbe6 [fdb] Add file access cache in file mode. The GC speed is up 2X. 2023-11-19 12:34:43 +08:00
armink 189b22e0a4 [fdb] Improve the database lock uses in init function. 2023-11-19 12:32:30 +08:00
armink cb84e2c41d [fdb] Improve FDB_ALIGN_DOWN macro. The align input parameter NOT depends on 2^N align number. 2023-11-19 11:34:48 +08:00
armink 5ebf8e6e8f [kvdb] Add kvdb inergrity check API. 2023-11-19 11:32:19 +08:00
armink 7e91b05483 [fdb] Add the lock in database init function. 2023-11-19 11:30:45 +08:00
armink 2dea1b2b88 [kvdb] Add more error logs. 2023-11-19 11:27:23 +08:00
armink a2c442435c [kvdb] Improve the kvdb cache performance. The GC will be 8x faster in file mode. 2023-11-19 11:26:48 +08:00
armink 3dca512285 [kvdb] Improve the GC speed when in recovery mode. 2023-11-19 11:06:12 +08:00
armink 12f3960307 [kvdb] Fix testcase error from #251 2023-10-16 21:25:01 +08:00
armink deae3d1d3f [fdb] Fixed build error. 2023-10-15 15:00:10 +08:00
armink c02f3f8573 [fdb] Update the fdb file mode log. 2023-10-15 14:31:38 +08:00
armink 1c68317574 [tsdb] Improve fdb_tsl_query_count return value. Delete the tsl_append assert check. 2023-10-15 11:49:37 +08:00
armink ab4c69f302 [fdb] Improve the fdb_kv_iterate. Only crc check OK kv will be iterated. 2023-10-15 11:46:28 +08:00
armink 5a8d7d0842 [fdb] Remove sector continuous mode assert check. It may trigger accidentally when db meta info has an error. 2023-10-15 11:36:50 +08:00
armink 1d2fc750f9 [kvdb] update the log 2023-10-15 11:24:56 +08:00
armink c8dd4ebe63 [kvdb] Fixed an issue where KVDB may not be able to automatically recover under extreme circumstances 2023-10-15 11:22:13 +08:00
朱天龙 (Armink)andGitHub 530cffcab1 Merge pull request #247 from guoweilkd/master
fix db_lock()/db_unlock() not calling in pairs
2023-10-12 13:03:05 +08:00
朱天龙 (Armink) 4e56774082 [fdb] add db path info for logs 2023-05-28 19:03:26 +08:00
朱天龙 (Armink) 8608140d88 [fdb] check some read error for file mode 2023-05-28 19:02:04 +08:00
朱天龙 (Armink) 55fd31eeb3 [fdb] update FDB_SECTOR_CACHE_TABLE_SIZE to 8 2023-05-28 19:01:06 +08:00
朱天龙 (Armink) 7451fbbdbe [tsdb] fix testcase heap-use-after-free error 2023-05-20 21:12:24 +08:00
朱天龙 (Armink) 9275b44f46 [kvdb] fix testcase build warning 2023-05-20 09:40:06 +08:00
朱天龙 (Armink) ec95540ebc [tsdb] update testcase only using file mode 2023-05-19 23:03:34 +08:00
朱天龙 (Armink) dab9d2bba9 [kvdb] add db size scale up testcase 2023-05-19 21:58:02 +08:00
朱天龙 (Armink) 3c80fa5679 [kvdb] add align padding for 64bit write granularity mode 2023-05-16 09:50:17 +08:00
朱天龙 (Armink) 53de94f82c [fdb] update the version number to 2.0.0 2023-05-14 22:00:41 +08:00
朱天龙 (Armink) a035ea3b2c [fdb] change some assert to error logs 2023-05-14 21:20:30 +08:00
朱天龙 (Armink) dbf5a58fa1 [kvdb] fixed the memory read out of bounds error 2023-05-14 18:31:10 +08:00
朱天龙 (Armink) 5c5eff8d2b [testcase] update the kvdb testcase 2023-05-07 21:26:55 +08:00
朱天龙 (Armink) 6e3ebdc056 [kvdb] fix kvdb memory access error when FDB_WRITE_GRAN is 64 2023-05-07 21:25:59 +08:00
朱天龙 (Armink) 8f009ec057 [doc] fix the badge in the doc 2023-04-30 11:30:19 +08:00
朱天龙 (Armink) 37e0597803 [kvdb] fix testcase running error on ci env 2023-04-30 11:28:35 +08:00
朱天龙 (Armink) d3eaa54ccc [kvdb] fix testcase build error. 2023-04-30 00:01:31 +08:00
朱天龙 (Armink) aa3a194527 [kvdb][testcase] improve the kvdb testcase for GC 2023-04-29 23:52:00 +08:00
朱天龙 (Armink) 63fe2961c4 [kvdb] Improve the oldest sector search method. 2023-04-29 23:49:37 +08:00
朱天龙 (Armink) cc5d665bbc [kvdb] fix kvdb iterate bug after set default. 2023-04-29 21:06:16 +08:00
朱天龙 (Armink) c829b3d8e2 [kvdb] fix #211 , fdb kv iterate from the oldest sector. 2023-04-29 16:11:35 +08:00
朱天龙 (Armink) 6e8e9e7780 [tsdb] the tsl will drop when cur timestamp is equal to the last save timestamp 2023-04-22 10:00:10 +08:00
朱天龙 (Armink) 7fd3db6740 [fdb] move the db oldest_addr definition into struct fdb_db. 2023-04-21 23:58:27 +08:00
朱天龙 (Armink) 04a3f475e2 [kvdb] update the code format. 2023-04-21 22:21:26 +08:00
朱天龙 (Armink) e9aa6cd9fa Merge remote-tracking branch 'remotes/origin/partial_gc' 2023-04-21 22:11:39 +08:00
朱天龙 (Armink) dfd25b3b04 [ci] remove travis 2023-04-21 10:30:52 +00:00
朱天龙 (Armink)andGitHub 7e38f8ca6f Update main.yml 2023-04-21 17:52:25 +08:00
朱天龙 (Armink)andGitHub 94b94eb675 Update main.yml 2023-04-21 17:49:20 +08:00
朱天龙 (Armink)andGitHub fcff17f53d [ci] add github action 2023-04-21 17:42:09 +08:00
朱天龙 (Armink) 519a06f65a [fdb] fixed gcc warning. 2023-03-27 22:20:28 +08:00
朱天龙 (Armink) 6630bbf23e [fdb] Fix assert log not output problem when FDB_DEBUG_ENABLE is disable. 2023-03-27 22:13:33 +08:00
朱天龙 (Armink) d1c5243873 [fdb] add block size check. MUST to be the Nth power of 2. 2023-03-14 23:29:22 +08:00
朱天龙 (Armink) b34e6b52d1 [kvdb] Use partial GC function to reduce GC time. 2023-03-14 22:02:11 +08:00
朱天龙 (Armink)andGitHub 043af70d5b Merge pull request #200 from eternal-echo/tc397
支持tc397擦除后为0的flash
2023-02-17 14:38:18 +08:00
朱天龙 (Armink)andGitHub f21e80fbc4 Merge pull request #191 from shihang-zhang/b_fix_grain_64_issue
fix: use aligned macro to replace unaligned sizeof structure.
2023-02-01 16:31:12 +08:00
朱天龙 (Armink) eb975b3598 [tsdb] improve the testcase for database bound. 2022-08-27 15:13:24 +08:00
朱天龙 (Armink) ee634fec10 [tsdb] add the locker in iterator. 2022-08-27 13:49:08 +08:00
朱天龙 (Armink) 33385f4051 [tsdb] improve the testcase coverage. 2022-08-27 13:42:40 +08:00
朱天龙 (Armink) 2b3b12ceb4 [tsdb] Fix the bug that data cannot be queried under some conditions. 2022-08-27 13:31:43 +08:00
朱天龙 (Armink) 79ac8f1746 [kvdb] update the comments. 2022-08-27 13:29:21 +08:00
朱天龙 (Armink) 5e5067d2e3 [kvdb] update the testcase 2022-08-27 13:26:37 +08:00
朱天龙 (Armink) a5aa4026fd [fdb] format the code. 2022-08-27 13:24:56 +08:00
朱天龙 (Armink) 1ebcefec45 [doc] update the doc 2022-08-27 13:24:09 +08:00
朱天龙 (Armink)andGitHub 0bc7b01834 Merge pull request #172 from Spider84/feature/stm32l4
Add STM32L4 fal_flash port
2022-08-24 15:52:49 +08:00
朱天龙 (Armink) 6204074c9d [doc] update doc 2022-08-10 10:08:00 +08:00
朱天龙 (Armink)andGitHub cf00f736bf Merge pull request #163 from armink/revert-158-master
Revert "Abandon the verification of the data whose status is deleted"
2022-07-02 21:08:00 +08:00
朱天龙 (Armink)andGitHub 9c53806e9e Revert "Abandon the verification of the data whose status is deleted" 2022-07-02 21:07:41 +08:00
朱天龙 (Armink)andGitHub 1914fd2511 Merge pull request #158 from chwncy/master
Abandon the verification of the data whose status is deleted
2022-06-15 23:43:19 +08:00
朱天龙 (Armink) 92052b70bc [tsdb] fix ci build error. 2022-06-12 15:52:05 +08:00
朱天龙 (Armink) 393773aa8a [doc] update the doc for reverse iterator. 2022-06-11 14:47:12 +08:00
朱天龙 (Armink) 4e393e1326 [tsdb] format the code style. 2022-06-11 14:39:13 +08:00
朱天龙 (Armink) 03500fa925 update the version number. 2022-05-18 20:27:46 +08:00
朱天龙 (Armink) 536c1f3a6f [tsdb] remove #pragma pack and rename fdb_tsl_iter_reverse. 2022-05-18 20:27:07 +08:00
朱天龙 (Armink)andGitHub e3b1beed2b Merge pull request #145 from MikeTuev/MikeTuev-patch-reverse_iterator
Mike tuev patch reverse iterator
2022-05-18 20:16:37 +08:00
朱天龙 (Armink)andGitHub c175635358 Merge pull request #147 from T721/master
adding ifdef guards to update method. should only be called if cache is used
2022-04-25 15:30:01 +08:00
朱天龙 (Armink)andGitHub 76fff09a0a [doc] update demos readme 2022-04-25 14:18:34 +08:00
朱天龙 (Armink)andGitHub a7b33d810a Merge pull request #146 from kaans/feature/esp32_spi_flash_demo
Add demo project for esp32
2022-04-25 14:17:04 +08:00
朱天龙 (Armink) 7062902a3e [fdb] update the version number to V1.1.2 2022-03-28 17:24:43 +08:00
armink 24544704ed [port/fal] Update the FAL to latest version. 2022-02-11 11:39:34 +08:00
armink fd062f7053 [fdb] fix error code. 2022-01-25 20:18:26 +08:00
armink 91072137d7 [tsdb] Improve exception handling. 2021-12-26 15:35:29 +08:00
armink 83f1669773 [tsdb] Fixed a bug (#108) when tsl is full on rollover mode. Thx @kenny-33 @illusionkiller . 2021-12-26 15:11:33 +08:00
朱天龙 (Armink)andGitHub bf3ac9ecaa Merge pull request #109 from mysterywolf/master
update for RT-Thread v4.1.0
2021-12-04 14:08:19 +08:00
armink fad201a4d8 [fdb] Update the version to V1.1.0 2021-10-07 19:57:57 +08:00
armink 353f261008 [docs] Add file and FAL mode configuration. 2021-10-06 09:27:41 +08:00
armink 07db5a2242 [doc] Update the comment. 2021-10-02 16:57:37 +08:00
armink 8114f88147 [tsdb] Fix append bug when tsdb is full. Thx @xwiron report. 2021-10-02 16:56:40 +08:00
armink cba9612797 [tsdb] Fix log format. Thx @xwiron report.
Signed-off-by: armink <armink.ztl@gmail.com>
2021-10-02 14:26:25 +08:00
armink 88b8a0efc8 [kvdb] Fix gc error when ENV full by @wu1045718093 on https://github.com/armink/EasyFlash/pull/113 . 2021-10-02 14:22:20 +08:00