{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":266515876,"defaultBranch":"master","name":"FlashDB","ownerLogin":"armink","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-05-24T10:15:56.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1734686?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1701610271.0","currentOid":""},"activityList":{"items":[{"before":"8f80336b894c4f570e24a003953d7b2604acc9fc","after":"a8e8dcad646abd01efca4d30c903bb3a91ce1733","ref":"refs/heads/master","pushedAt":"2024-07-26T01:44:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb_utils][_fdb_flash_write]: fix returned incorrect error code. (#300)\n\nIf user has set file mode, but file mode is disabled, _fdb_flash_write should return FDB_WRITE_ERR, not FDB_READ_ERR.","shortMessageHtmlLink":"[fdb_utils][_fdb_flash_write]: fix returned incorrect error code. (#300)"}},{"before":"60675db070c92e5475a89f5da54f2a2d3db718b2","after":"8f80336b894c4f570e24a003953d7b2604acc9fc","ref":"refs/heads/master","pushedAt":"2024-07-25T11:36:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[tsdb][read_sector_info]: fix read last valid tsl (#302)\n\nCo-authored-by: wuchushun ","shortMessageHtmlLink":"[tsdb][read_sector_info]: fix read last valid tsl (#302)"}},{"before":"86d00aa5fdcb7eb1c2981e6f0ec8bd4473b4cdce","after":"60675db070c92e5475a89f5da54f2a2d3db718b2","ref":"refs/heads/master","pushedAt":"2024-05-10T07:27:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb_kvdb] fix lock issue to fix block on first run (#295)","shortMessageHtmlLink":"[fdb_kvdb] fix lock issue to fix block on first run (#295)"}},{"before":"77801ce3e40bd3264ccef89dd2c89a0350253db3","after":"86d00aa5fdcb7eb1c2981e6f0ec8bd4473b4cdce","ref":"refs/heads/master","pushedAt":"2024-04-24T12:24:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] Fixes to build for IDF w/o errors (#293)","shortMessageHtmlLink":"[fdb] Fixes to build for IDF w/o errors (#293)"}},{"before":"24305a9c76e735e89ad0d973a09f161edbc4279e","after":"77801ce3e40bd3264ccef89dd2c89a0350253db3","ref":"refs/heads/master","pushedAt":"2024-04-22T06:20:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"Add support for building esp32 demo under IDF 5.x (#292)","shortMessageHtmlLink":"Add support for building esp32 demo under IDF 5.x (#292)"}},{"before":"64b07d7c4cc7662b87c74274c266760b644002a0","after":"24305a9c76e735e89ad0d973a09f161edbc4279e","ref":"refs/heads/master","pushedAt":"2024-03-22T05:51:57.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[kvdb] Clear cache before setting kv to default (#282)\n\n* fix: clear cache.\r\n\r\n* Update fdb_kvdb.c, remove sector cache clear.\r\n\r\n---------\r\n\r\nCo-authored-by: shihang zhang ","shortMessageHtmlLink":"[kvdb] Clear cache before setting kv to default (#282)"}},{"before":"7dfed1430418592ba6326cd0dd86f515de97d4dc","after":"64b07d7c4cc7662b87c74274c266760b644002a0","ref":"refs/heads/master","pushedAt":"2024-03-15T05:43:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"Update README_zh.md (#281)","shortMessageHtmlLink":"Update README_zh.md (#281)"}},{"before":"760520564c641776448034b444fbdb05f29ee847","after":"7dfed1430418592ba6326cd0dd86f515de97d4dc","ref":"refs/heads/master","pushedAt":"2024-01-02T05:55:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb_kvdb]: fix shadow warning (#272)\n\n```bash\r\nFlashDB/src/fdb_kvdb.c: In function ‘read_sector_info’:\r\nFlashDB/src/fdb_kvdb.c:488:23: warning: declaration of ‘sector_cache’ shadows a previous local [-Wshadow]\r\n 488 | kv_sec_info_t sector_cache = get_sector_from_cache(db, sector->addr);\r\n | ^~~~~~~~~~~~\r\nFlashDB/src/fdb_kvdb.c:421:19: note: shadowed declaration is here\r\n 421 | kv_sec_info_t sector_cache = get_sector_from_cache(db, addr);\r\n | ^~~~~~~~~~~~\r\n```\r\n\r\nSigned-off-by: FASTSHIFT ","shortMessageHtmlLink":"[fdb_kvdb]: fix shadow warning (#272)"}},{"before":"0594fdc95700745ee8b26f43a9a28f3dba8407bb","after":"760520564c641776448034b444fbdb05f29ee847","ref":"refs/heads/master","pushedAt":"2024-01-01T10:25:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb_kvdb] fix runtime error (#271)\n\n```bash\r\nFlashDB/src/fdb_kvdb.c:288:83: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'\r\n```\r\n\r\nSigned-off-by: FASTSHIFT ","shortMessageHtmlLink":"[fdb_kvdb] fix runtime error (#271)"}},{"before":"86f5550e60cf2be42e03b29a22cd0ba77f5d72b4","after":"0594fdc95700745ee8b26f43a9a28f3dba8407bb","ref":"refs/heads/master","pushedAt":"2023-12-08T08:40:45.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[kvdb] Initialize only status explicitly (#267)\n\nCo-authored-by: Oleg Hahm ","shortMessageHtmlLink":"[kvdb] Initialize only status explicitly (#267)"}},{"before":"c1226f337a876f55c7c527634bb8729ae16b5c99","after":"86f5550e60cf2be42e03b29a22cd0ba77f5d72b4","ref":"refs/heads/master","pushedAt":"2023-12-08T08:38:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] close stream pointer via fclose() (#268)\n\nCo-authored-by: Oleg Hahm ","shortMessageHtmlLink":"[fdb] close stream pointer via fclose() (#268)"}},{"before":"441d514da20a9f712ff13b1525a301f077a576ba","after":"c1226f337a876f55c7c527634bb8729ae16b5c99","ref":"refs/heads/master","pushedAt":"2023-12-02T11:26:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[kvdb] update some log level.","shortMessageHtmlLink":"[kvdb] update some log level."}},{"before":"dc6121b448bdf78f0d3c6b7ed8f87bc1a6c8ff1a","after":"441d514da20a9f712ff13b1525a301f077a576ba","ref":"refs/heads/master","pushedAt":"2023-11-19T04:36:19.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] update the version number to V2.1.0","shortMessageHtmlLink":"[fdb] update the version number to V2.1.0"}},{"before":"0d1b438947deb430b9735a1800e67da2baf229e4","after":"dc6121b448bdf78f0d3c6b7ed8f87bc1a6c8ff1a","ref":"refs/heads/master","pushedAt":"2023-11-12T05:27:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] fix warning (#258)\n\nSigned-off-by: FASTSHIFT ","shortMessageHtmlLink":"[fdb] fix warning (#258)"}},{"before":"a208b1555b9805c4fb13336b0c1529d2df8d5641","after":"0d1b438947deb430b9735a1800e67da2baf229e4","ref":"refs/heads/master","pushedAt":"2023-11-09T11:27:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"Add ability to append TSDB value at specific timestamp (#256)","shortMessageHtmlLink":"Add ability to append TSDB value at specific timestamp (#256)"}},{"before":"7bdef5eab7c92ae338a4b8e5d88a49ef82661887","after":"a208b1555b9805c4fb13336b0c1529d2df8d5641","ref":"refs/heads/master","pushedAt":"2023-10-31T02:13:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"Fix invalid oldest address assignment (#255)\n\n* fix: fix invalid oldest address assignment after gc the last traversed sector.\r\n* feat: always update oldest address after sector GC.\r\n\r\n---------\r\n\r\nCo-authored-by: shihang zhang ","shortMessageHtmlLink":"Fix invalid oldest address assignment (#255)"}},{"before":"12f3960307a12f415cd74fda4ebcf86c9987974f","after":"7bdef5eab7c92ae338a4b8e5d88a49ef82661887","ref":"refs/heads/master","pushedAt":"2023-10-17T02:01:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] Support 128bit write granularity for kvdb (#250)\n\n* Support 128bit write granularity\r\n\r\nThe new stm32h5xx chips can only write quad words, i.e. 128bits.\r\n\r\n* Update fdb_tsdb.c to include 128bit option\r\n* Update fdb_cfg.h to include 64bit and 128bit option.","shortMessageHtmlLink":"[fdb] Support 128bit write granularity for kvdb (#250)"}},{"before":"7b2557f3e7bc993db94404de6a765d495acc35f5","after":"12f3960307a12f415cd74fda4ebcf86c9987974f","ref":"refs/heads/master","pushedAt":"2023-10-16T13:25:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[kvdb] Fix testcase error from #251","shortMessageHtmlLink":"[kvdb] Fix testcase error from #251"}},{"before":"deae3d1d3f5c714710579062baa02f53dac11f28","after":"7b2557f3e7bc993db94404de6a765d495acc35f5","ref":"refs/heads/master","pushedAt":"2023-10-16T01:06:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[kvdb] interrupt iteraotor when read_section_info fails (#251)\n\n* interrupt iteraotor when read_section_info failed\r\n\r\n* Update src/fdb_kvdb.c\r\n\r\nCo-authored-by: 朱天龙 (Armink) \r\n\r\n* Update src/fdb_kvdb.c\r\n\r\nCo-authored-by: 朱天龙 (Armink) \r\n\r\n---------\r\n\r\nCo-authored-by: 朱天龙 (Armink) ","shortMessageHtmlLink":"[kvdb] interrupt iteraotor when read_section_info fails (#251)"}},{"before":"c02f3f857338c797b7841d308a0cd0d0e142331e","after":"deae3d1d3f5c714710579062baa02f53dac11f28","ref":"refs/heads/master","pushedAt":"2023-10-15T07:00:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] Fixed build error.","shortMessageHtmlLink":"[fdb] Fixed build error."}},{"before":"1c683175749146179fc16c183b3bea4452238c74","after":"c02f3f857338c797b7841d308a0cd0d0e142331e","ref":"refs/heads/master","pushedAt":"2023-10-15T06:31:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] Update the fdb file mode log.","shortMessageHtmlLink":"[fdb] Update the fdb file mode log."}},{"before":"09fa698f9586613c872674dd2f0c10e5e037a53e","after":"1c683175749146179fc16c183b3bea4452238c74","ref":"refs/heads/master","pushedAt":"2023-10-15T06:30:08.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[tsdb] Improve fdb_tsl_query_count return value. Delete the tsl_append assert check.","shortMessageHtmlLink":"[tsdb] Improve fdb_tsl_query_count return value. Delete the tsl_appen…"}},{"before":"530cffcab1fbe2737b09854b2b086c6f145565f8","after":"09fa698f9586613c872674dd2f0c10e5e037a53e","ref":"refs/heads/master","pushedAt":"2023-10-12T09:51:19.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] Relocate `#include` (fixed #248)","shortMessageHtmlLink":"[fdb] Relocate #include<unistd.h>
(fixed #248)"}},{"before":"56b658e522c7750f112ce25c9c584e92ab0ee24d","after":"530cffcab1fbe2737b09854b2b086c6f145565f8","ref":"refs/heads/master","pushedAt":"2023-10-12T05:03:05.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"Merge pull request #247 from guoweilkd/master\n\nfix db_lock()/db_unlock() not calling in pairs","shortMessageHtmlLink":"Merge pull request #247 from guoweilkd/master"}},{"before":"3e441f6c26590eb86051826830b19a715d3d7423","after":"56b658e522c7750f112ce25c9c584e92ab0ee24d","ref":"refs/heads/master","pushedAt":"2023-10-06T06:35:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb]Replaced `~0UL` in max value checks (#243)\n\nThe actual value of `~0UL` is architecture dependent. The `unsigned long` type must be at least 32 bits, but can be larger.\r\nEspecially on 64-bit systems, `unsigned long` usually is 64 bits long, for which `~0UL` will result in `0xFFFFFFFFFFFFFFFF` instead of `0xFFFFFFFF`.\r\nIf this is the case, comparisons like `kv->len == ~0UL`, where `kv->len` is of type `uint32_t`, are always false.\r\nThis commit replaces `~0UL` with the appropriate max value defines from stdint.h.","shortMessageHtmlLink":"[fdb]Replaced ~0UL
in max value checks (#243)"}},{"before":"fab8a161809d72878d1ad5bdd6ddd54301dfcb81","after":"3e441f6c26590eb86051826830b19a715d3d7423","ref":"refs/heads/master","pushedAt":"2023-08-17T10:01:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[inc/fdb_low_lvl] fix An error occurred in FDB_ALIGN(size, align) when align is not 2 to the nth power (#233)","shortMessageHtmlLink":"[inc/fdb_low_lvl] fix An error occurred in FDB_ALIGN(size, align) whe…"}},{"before":"a4e68ae965a675b4ad2d9d056601d6e1c092e47f","after":"fab8a161809d72878d1ad5bdd6ddd54301dfcb81","ref":"refs/heads/master","pushedAt":"2023-08-09T13:46:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] add missing assert.h include (#229)","shortMessageHtmlLink":"[fdb] add missing assert.h include (#229)"}},{"before":"d01c0d48aabf747978592d53f6ba35f94be65895","after":"a4e68ae965a675b4ad2d9d056601d6e1c092e47f","ref":"refs/heads/master","pushedAt":"2023-08-09T11:55:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] use native assert if FDB_USING_NATIVE_ASSERT is set (#228)","shortMessageHtmlLink":"[fdb] use native assert if FDB_USING_NATIVE_ASSERT is set (#228)"}},{"before":"07dcd7f03539d028720a16e286ef65a57be33627","after":"d01c0d48aabf747978592d53f6ba35f94be65895","ref":"refs/heads/master","pushedAt":"2023-08-08T02:36:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[port/fal] add option to use native assert() (#225)","shortMessageHtmlLink":"[port/fal] add option to use native assert() (#225)"}},{"before":"cc1c6f4d9f546f91566a0331a12813d4070324e2","after":"07dcd7f03539d028720a16e286ef65a57be33627","ref":"refs/heads/master","pushedAt":"2023-08-08T02:34:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"armink","name":"朱天龙 (Armink)","path":"/armink","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1734686?s=80&v=4"},"commit":{"message":"[fdb] fix comparison of integer expressions of different signedness (#226)","shortMessageHtmlLink":"[fdb] fix comparison of integer expressions of different signedness (#…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEiZORIQA","startCursor":null,"endCursor":null}},"title":"Activity · armink/FlashDB"}