Commit Graph

  • 60f65550bc feat: Update software version to 2.1.99 master 朱天龙 (Armink) 2025-12-23 08:42:26 +08:00
  • 8856961fa9 feat(TSDB): Added FDB_TSDB_FIXED_BLOB_SIZE compile-time option to reduce flash usage in fixed-size blob scenarios. (#387) EzraZigenbine 2025-12-17 21:25:34 +10:00
  • b1043ed10d docs: fix return value of fdb_kv_get_blob (#377) Leandro Lanzieri 2025-10-27 09:52:21 +01:00
  • 48351df976 [doc] Update the CN doc armink 2025-10-23 19:16:51 +08:00
  • f48f620815 [kvdb] 修复在align_write中 向下对齐等于0依然调用写入flash的现象 (#370) ricky 2025-09-12 15:40:14 +08:00
  • 6710c6d57f [demo][linux] Change an ordinary lock to a recursive lock (#339) RiceChen 2024-12-30 12:32:36 +08:00
  • d44118ca82 [fdb] Rename "fdb_cfg.h" to "fdb_cfg_template.h" in inc folder (#338) Rocky 2024-12-26 12:19:32 +08:00
  • cf47f490bb [fdb] Fixed a bug with reversed arguments to the fwrite and fread functions for LIBC mode. (#333) MGlolenstine 2024-12-25 02:30:34 +01:00
  • 89bd19ac3c [doc] Update the CN doc armink 2024-10-20 20:08:09 +08:00
  • 714d6159e7 [tsdb][read_sector_info]: fix flash overwrite when abnormal power loss (#316) 2.1.1 Mason-Zhang-X-C 2024-10-06 13:45:40 +08:00
  • f0af0eeda4 [fdb] Update the version number armink 2024-10-06 10:39:18 +08:00
  • 72a7905238 [kvdb] Improve the GC algorithm to solve the problem of failure to collection in some cases. armink 2024-10-05 22:53:52 +08:00
  • 92ed442cfc [test] update the autotest bsp and testcase to latest version armink 2024-09-17 17:29:42 +08:00
  • fd08d7f323 [kvdb] fix null-pointer dereference (#314) 莫若麦香 2024-09-15 16:32:07 +08:00
  • 523fd2052d zephyr: add flashdb as external module (#313) karthi012 2024-09-10 12:54:25 +05:30
  • a8e8dcad64 [fdb_utils][_fdb_flash_write]: fix returned incorrect error code. (#300) Kenny Zhang 2024-07-26 09:44:36 +08:00
  • 8f80336b89 [tsdb][read_sector_info]: fix read last valid tsl (#302) r0lsec 2024-07-25 19:36:10 +08:00
  • 60675db070 [fdb_kvdb] fix lock issue to fix block on first run (#295) Mr. Chip 2024-05-10 15:27:33 +08:00
  • 86d00aa5fd [fdb] Fixes to build for IDF w/o errors (#293) Anuj Deshpande 2024-04-24 17:54:11 +05:30
  • 77801ce3e4 Add support for building esp32 demo under IDF 5.x (#292) Anuj Deshpande 2024-04-22 11:50:14 +05:30
  • 24305a9c76 [kvdb] Clear cache before setting kv to default (#282) shihang-zhang 2024-03-22 00:51:56 -05:00
  • 64b07d7c4c Update README_zh.md (#281) guo 2024-03-15 13:43:52 +08:00
  • 7dfed14304 [fdb_kvdb]: fix shadow warning (#272) _VIFEXTech 2024-01-02 13:55:00 +08:00
  • 760520564c [fdb_kvdb] fix runtime error (#271) _VIFEXTech 2024-01-01 18:25:13 +08:00
  • 0594fdc957 [kvdb] Initialize only status explicitly (#267) Oleg Hahm 2023-12-08 09:40:45 +01:00
  • 86f5550e60 [fdb] close stream pointer via fclose() (#268) Oleg Hahm 2023-12-08 09:38:51 +01:00
  • c1226f337a [kvdb] update some log level. 2.1.0 armink 2023-12-02 19:26:45 +08:00
  • 8056e17f29 [kvdb] remove unused lock. armink 2023-12-02 19:25:26 +08:00
  • 441d514da2 [fdb] update the version number to V2.1.0 armink 2023-11-19 12:36:13 +08:00
  • 718f73fbe6 [fdb] Add file access cache in file mode. The GC speed is up 2X. armink 2023-11-19 12:34:43 +08:00
  • 189b22e0a4 [fdb] Improve the database lock uses in init function. armink 2023-11-19 12:32:30 +08:00
  • cb84e2c41d [fdb] Improve FDB_ALIGN_DOWN macro. The align input parameter NOT depends on 2^N align number. armink 2023-11-19 11:34:48 +08:00
  • 5ebf8e6e8f [kvdb] Add kvdb inergrity check API. armink 2023-11-19 11:32:19 +08:00
  • 7e91b05483 [fdb] Add the lock in database init function. armink 2023-11-19 11:30:45 +08:00
  • 2dea1b2b88 [kvdb] Add more error logs. armink 2023-11-19 11:27:23 +08:00
  • a2c442435c [kvdb] Improve the kvdb cache performance. The GC will be 8x faster in file mode. armink 2023-11-19 11:26:48 +08:00
  • 3dca512285 [kvdb] Improve the GC speed when in recovery mode. armink 2023-11-19 11:06:12 +08:00
  • dc6121b448 [fdb] fix warning (#258) _VIFEXTech 2023-11-12 13:27:43 +08:00
  • 0d1b438947 Add ability to append TSDB value at specific timestamp (#256) Valeriy Kucherenko 2023-11-09 14:27:52 +03:00
  • a208b1555b Fix invalid oldest address assignment (#255) shihang-zhang 2023-10-30 21:13:55 -05:00
  • 7bdef5eab7 [fdb] Support 128bit write granularity for kvdb (#250) tinic 2023-10-16 19:01:43 -07:00
  • 12f3960307 [kvdb] Fix testcase error from #251 armink 2023-10-16 21:25:01 +08:00
  • 7b2557f3e7 [kvdb] interrupt iteraotor when read_section_info fails (#251) Lyon 2023-10-16 09:06:35 +08:00
  • deae3d1d3f [fdb] Fixed build error. armink 2023-10-15 15:00:10 +08:00
  • c02f3f8573 [fdb] Update the fdb file mode log. armink 2023-10-15 14:31:38 +08:00
  • 1c68317574 [tsdb] Improve fdb_tsl_query_count return value. Delete the tsl_append assert check. armink 2023-10-15 11:49:37 +08:00
  • ab4c69f302 [fdb] Improve the fdb_kv_iterate. Only crc check OK kv will be iterated. armink 2023-10-15 11:46:28 +08:00
  • 5a8d7d0842 [fdb] Remove sector continuous mode assert check. It may trigger accidentally when db meta info has an error. armink 2023-10-15 11:36:50 +08:00
  • 1d2fc750f9 [kvdb] update the log armink 2023-10-15 11:24:56 +08:00
  • c8dd4ebe63 [kvdb] Fixed an issue where KVDB may not be able to automatically recover under extreme circumstances armink 2023-10-15 11:22:13 +08:00
  • 09fa698f95 [fdb] Relocate #include<unistd.h> (fixed #248) BecauseItIsThere 2023-10-12 18:51:19 +09:00
  • 530cffcab1 Merge pull request #247 from guoweilkd/master 朱天龙 (Armink) 2023-10-12 13:03:05 +08:00
  • 4aa2dbc6a4 fix FDB_ALIGN macro expansion errors guoweilkd 2023-10-12 11:01:02 +08:00
  • d2cae60cff fix db_lock()/db_unlock() not calling in pairs guoweilkd 2023-10-12 10:41:47 +08:00
  • 56b658e522 [fdb]Replaced ~0UL in max value checks (#243) fzi-haxel 2023-10-06 08:35:55 +02:00
  • 3e441f6c26 [inc/fdb_low_lvl] fix An error occurred in FDB_ALIGN(size, align) when align is not 2 to the nth power (#233) DarryZh 2023-08-17 18:01:48 +08:00
  • fab8a16180 [fdb] add missing assert.h include (#229) benpicco 2023-08-09 15:46:10 +02:00
  • a4e68ae965 [fdb] use native assert if FDB_USING_NATIVE_ASSERT is set (#228) benpicco 2023-08-09 13:55:20 +02:00
  • d01c0d48aa [port/fal] add option to use native assert() (#225) benpicco 2023-08-08 04:36:07 +02:00
  • 07dcd7f035 [fdb] fix comparison of integer expressions of different signedness (#226) benpicco 2023-08-08 04:34:54 +02:00
  • cc1c6f4d9f [kvdb] update _fdb_kv_load(fdb_kvdb_t db) (#219) grape-wzy 2023-06-10 13:30:15 +08:00
  • 89796605c7 [kvdb] improve kvdb cache algo when key was first found (#218) PostmanLinux 2023-06-05 22:53:41 +08:00
  • 4e56774082 [fdb] add db path info for logs 2.0.0 朱天龙 (Armink) 2023-05-28 19:03:26 +08:00
  • 8608140d88 [fdb] check some read error for file mode 朱天龙 (Armink) 2023-05-28 19:02:04 +08:00
  • 55fd31eeb3 [fdb] update FDB_SECTOR_CACHE_TABLE_SIZE to 8 朱天龙 (Armink) 2023-05-28 19:01:06 +08:00
  • 7451fbbdbe [tsdb] fix testcase heap-use-after-free error 朱天龙 (Armink) 2023-05-20 21:12:24 +08:00
  • 9275b44f46 [kvdb] fix testcase build warning 朱天龙 (Armink) 2023-05-20 09:40:06 +08:00
  • ec95540ebc [tsdb] update testcase only using file mode 朱天龙 (Armink) 2023-05-19 23:02:11 +08:00
  • dab9d2bba9 [kvdb] add db size scale up testcase 朱天龙 (Armink) 2023-05-19 20:50:05 +08:00
  • 3c80fa5679 [kvdb] add align padding for 64bit write granularity mode 朱天龙 (Armink) 2023-05-16 09:50:17 +08:00
  • 53de94f82c [fdb] update the version number to 2.0.0 朱天龙 (Armink) 2023-05-14 22:00:41 +08:00
  • a035ea3b2c [fdb] change some assert to error logs 朱天龙 (Armink) 2023-05-14 21:07:41 +08:00
  • dbf5a58fa1 [kvdb] fixed the memory read out of bounds error 朱天龙 (Armink) 2023-05-14 18:31:10 +08:00
  • 5c5eff8d2b [testcase] update the kvdb testcase 朱天龙 (Armink) 2023-05-07 21:26:55 +08:00
  • 6e3ebdc056 [kvdb] fix kvdb memory access error when FDB_WRITE_GRAN is 64 朱天龙 (Armink) 2023-05-07 21:25:59 +08:00
  • 8f009ec057 [doc] fix the badge in the doc 朱天龙 (Armink) 2023-04-30 11:30:19 +08:00
  • 37e0597803 [kvdb] fix testcase running error on ci env 朱天龙 (Armink) 2023-04-30 10:11:54 +08:00
  • d3eaa54ccc [kvdb] fix testcase build error. 朱天龙 (Armink) 2023-04-30 00:01:31 +08:00
  • aa3a194527 [kvdb][testcase] improve the kvdb testcase for GC 朱天龙 (Armink) 2023-04-29 23:52:00 +08:00
  • 63fe2961c4 [kvdb] Improve the oldest sector search method. 朱天龙 (Armink) 2023-04-29 23:49:37 +08:00
  • cc5d665bbc [kvdb] fix kvdb iterate bug after set default. 朱天龙 (Armink) 2023-04-29 21:06:16 +08:00
  • c829b3d8e2 [kvdb] fix #211 , fdb kv iterate from the oldest sector. 朱天龙 (Armink) 2023-04-29 16:11:35 +08:00
  • 6e8e9e7780 [tsdb] the tsl will drop when cur timestamp is equal to the last save timestamp 朱天龙 (Armink) 2023-04-22 10:00:10 +08:00
  • 7fd3db6740 [fdb] move the db oldest_addr definition into struct fdb_db. 朱天龙 (Armink) 2023-04-21 23:55:31 +08:00
  • 04a3f475e2 [kvdb] update the code format. 朱天龙 (Armink) 2023-04-21 22:21:26 +08:00
  • e9aa6cd9fa Merge remote-tracking branch 'remotes/origin/partial_gc' 朱天龙 (Armink) 2023-04-21 22:11:39 +08:00
  • dfd25b3b04 [ci] remove travis 朱天龙 (Armink) 2023-04-21 10:30:52 +00:00
  • 7e38f8ca6f Update main.yml 朱天龙 (Armink) 2023-04-21 17:52:25 +08:00
  • 94b94eb675 Update main.yml 朱天龙 (Armink) 2023-04-21 17:49:20 +08:00
  • fcff17f53d [ci] add github action 朱天龙 (Armink) 2023-04-21 17:42:09 +08:00
  • e008c1a281 [kvdb] update the sector iterator by startswith the oldest sector (#206) shihang-zhang 2023-04-21 01:47:48 -05:00
  • 9817307026 fix: write fail as re-program flag at same address (#203) weiguang-fan 2023-04-07 19:12:15 +08:00
  • 39e81fa9b2 Fix memory overridden (#209) shihang-zhang 2023-04-06 10:18:02 -05:00
  • 519a06f65a [fdb] fixed gcc warning. 朱天龙 (Armink) 2023-03-27 22:20:28 +08:00
  • 6630bbf23e [fdb] Fix assert log not output problem when FDB_DEBUG_ENABLE is disable. 朱天龙 (Armink) 2023-03-27 22:13:33 +08:00
  • d1c5243873 [fdb] add block size check. MUST to be the Nth power of 2. 朱天龙 (Armink) 2023-03-14 23:29:22 +08:00
  • b34e6b52d1 [kvdb] Use partial GC function to reduce GC time. 朱天龙 (Armink) 2023-03-14 22:02:11 +08:00
  • 043af70d5b Merge pull request #200 from eternal-echo/tc397 朱天龙 (Armink) 2023-02-17 14:38:18 +08:00
  • 18bfd7b4ca Flash with 0 after erasure is supported yuanyu 2023-02-16 17:36:09 +08:00
  • f21e80fbc4 Merge pull request #191 from shihang-zhang/b_fix_grain_64_issue 朱天龙 (Armink) 2023-02-01 16:31:12 +08:00