-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: The KV @0x00001024 length has an error. #315
Comments
我的问题解决了。我的问题的原因是 Flash 的擦写粒度( write_gran ) 和 read, write 函数里面操作参数不一致造成的。操作流程适配好 write_gran,我的问题就解决了。
…------------------ 原始邮件 ------------------
发件人: "armink/FlashDB" ***@***.***>;
发送时间: 2024年11月12日(星期二) 下午4:11
***@***.***>;
***@***.******@***.***>;
主题: Re: [armink/FlashDB] Error: The KV @0x00001024 length has an error. (Issue #315)
我这边也遇到这个问题,是用的file模式。定位到,read_kv中获得的kv_hdr.len是-1。这个现象在我这边每隔一段时间就会出现。
请问你最终解决了吗?
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
好吧。我的问题是FILE模式下的cache处理有问题,把FDB_KV_CACHE_TABLE_SIZE禁掉反而好了。 |
我也每天都在用 file 模式,还没有遇到你的说的问题,大概是咋样的使用场景? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好!在使用KVDB时出现这个错误。并且在出现这个错误之后,单片机复位后,存储在KVDB中的参数会丢失。请问这个错误是什么原因导致的呢?谢谢~
The text was updated successfully, but these errors were encountered: