Commit Graph

118 Commits

Author SHA1 Message Date
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) bf3ac9ecaa
Merge pull request #109 from mysterywolf/master
update for RT-Thread v4.1.0
2021-12-04 14:08:19 +08:00
Man, Jianting (Meco) feb5ed4cb4
update for RT-Thread v4.1.0 2021-12-04 00:33:10 -05: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
armink 5e5d99b7ce [fdb] Update the code comment. 2021-10-02 12:06:25 +08:00
armink f3b3e61804 [doc] Update the docs to latest. 2021-10-02 12:00:15 +08:00
armink c9cfd4598c [fdb] Change the status's number from enum to definition. 2021-10-01 18:13:01 +08:00
armink 44a414e224 [TSDB] Drop the append TSL when current time is less than last save time. 2021-09-10 17:20:19 +08:00
朱天龙 (Armink) cea7a06b9f
Merge pull request #91 from iysheng/gran1
[fdb] Fix mismatch with the comments for status migration when FDB_WR…
2021-08-16 13:36:26 +08:00
iysheng d4b9a0496e [fdb] Fix mismatch with the comments for status migration when FDB_WRITE_GRAN eq 1 2021-08-16 11:13:43 +08:00
armink 1bd704db0a [fdb] Fix 64bit timestamp build problem. 2021-08-09 21:44:11 +08:00
朱天龙 (Armink) f57a591e2b
Update .travis.yml 2021-08-09 21:18:45 +08:00
朱天龙 (Armink) ea927315f3
Merge pull request #86 from Tennn11/master
【修改】write函数增加sync参数,KVDB和TSDB存储数据时减少sync次数
2021-08-09 21:07:10 +08:00
Tennn11 9376925922 【修改】write函数增加sync参数,KVDB和TSDB存储数据时减少sync次数 2021-08-06 16:38:11 +08:00
朱天龙 (Armink) 5aebd38919
Merge pull request #83 from woniua/patch-1
Update sample-kvdb-type-string.md
2021-07-28 10:28:05 +08:00
Junliang Jiang ba4f7df2ad
Update sample-kvdb-type-string.md
modify the note from `38.1` to `38C`
2021-07-28 10:10:02 +08:00
armink 1ddd18c03b [tsdb] Fix tsdb rollover bug. 2021-05-15 20:42:09 +08:00
朱天龙 (Armink) 980b355d71
Merge pull request #76 from enkiller/0425
There can be no default kv
2021-04-25 16:42:31 +08:00
tangyuxin 44be7f2218 There can be no default kv 2021-04-25 16:13:37 +08:00
armink c25198db19 [kvdb] Change the KV name default length to 64. 2021-04-16 18:27:38 +08:00
armink a83f873323 [demo] Fix the demo on linux. 2021-04-16 17:33:15 +08:00
armink 7d4517598a [kvdb] Update the default KV cache table size to 64. 2021-04-15 22:53:48 +08:00
armink 16b41780dd [fdb] Add fdb_kvdb_deinit & fdb_tsdb_deinit function.
[fdb] Add init but NOT_FORMAT mode in TSDB and KVDB.
[kvdb] Update the cache when load KV.
2021-04-15 22:52:32 +08:00
朱天龙 (Armink) 165c1b7d1f
[fdb] support C++ compiler 2021-04-12 20:21:56 +08:00
armink 3cbc868f0e [fdb] Support MSVC compiler.
Signed-off-by: armink <armink.ztl@gmail.com>
2021-03-08 21:29:30 +08:00
armink 0afb773f08 [fdb] Improve the file mode write speed. 2021-03-08 21:23:52 +08:00
armink 027992ced9 [kvdb] change the kvdb struct element name. 2021-02-02 20:43:07 +08:00
armink da3489c9c2 !2 避免静态变量导致多DB访问冲突
Merge pull request !2 from delphixi/master
2021-02-02 20:01:40 +08:00
rabbitsaviola b3041a1770 避免静态变量导致多DB访问冲突 2021-02-02 19:30:30 +08:00
armink 119a08516c [kvdb] Fix get_next_kv_addr bug. #45 2021-01-23 16:05:49 +08:00
armink 9487749965 [kvdb] Improve get_next_kv_addr function. Fixed #45 2021-01-23 11:51:30 +08:00
armink 218c4df0bd [kvdb] Improve del_kv code. Fixed #60 2021-01-23 11:25:07 +08:00
朱天龙 (Armink) 75313ddf17
Merge pull request #62 from Lawlieta/master
【修复】tsdb 数据为空时迭代器运行错误问题
2021-01-22 08:25:06 +08:00
chenyong fd99aaff4a 【修复】tsdb 数据为空时迭代器运行错误问题
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-21 19:06:12 +08:00
armink e7b42f3059 Update .gitignore 2021-01-04 08:36:31 +08:00
armink 7b8fe339a7 Update the docs. 2021-01-03 23:20:01 +08:00
armink 7fb6fa0609 Improve the docs style. 2021-01-03 23:17:03 +08:00
armink 9537810b7b Update the docs for linux. 2021-01-03 23:11:48 +08:00
armink 60cee13a1d Add linux platform demo. 2021-01-03 22:39:30 +08:00
armink 474fc522e5 Fix some build warning on linux. 2021-01-03 22:27:59 +08:00
armink 9eea31ac18 Add file storage mode. 2021-01-03 19:17:51 +08:00
armink d699382c1a Remove unused files 2021-01-03 10:57:54 +08:00
armink fcaada0756 Update the docs. 2021-01-02 21:18:55 +08:00