-
Notifications
You must be signed in to change notification settings - Fork 433
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
KV数据库,写满如何处理 #52
Comments
KV 你都用来存什么数据了? |
朱工: stErr = fdb_kv_set_blob(kvdb, "test", fdb_blob_make(&blob, &test, sizeof(test))); |
不需要的,fdb_kv_set_default 相当于格式化,用户的数据都被清空了 |
你好,也就是说KV数据库写满后,能够自动支持重新从起始地址开始,写入最新参数是吧,如果这样的话,就很方便了。 |
目前的文件结构有点复杂,计划何时规整? |
邮件已收到,谢谢!
|
朱工,你好:
应用中常常需要保存参数到flash中,TS数据库有回滚的配置,但是KV数据库写满后,会返回FDB_SAVED_FULL,用户应该如何操作,是否需要手动调用fdb_kv_set_default清空数据库,然后重新写入?当前,每个flash扇区4K,配置分区起始地址0,大小为8K。
The text was updated successfully, but these errors were encountered: