-
Notifications
You must be signed in to change notification settings - Fork 435
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
tsdb 写数据的时候突然重启设备,重启后设备 db->last_time 变成0开始 #301
Comments
[FlashDB][kv][ate_db][ate_db] (packages\FlashDB-v1.1.2\src\fdb_kvdb.c:1801) KVDB size is 24576 bytes. |
一个线程使用fdb_tsl_append间隔10ms不断写入数据,在 tsl_append 里面打印 db->last_time 的值,这个时候使用reboot命令重启设备,上电打印 db->last_time 值,会出现 db->last_time 变化为0的情况。 |
有没有用最新版本测试过呢? 最新版本是 v2.1.0 我看你的是 v1.1.2 |
使用的最新版本测试的,文件夹名字没有更改 |
那你先试着单步调试,分析一下获取 last_time 的逻辑? |
应该是write_tsl如果在执行这个函数的时候,触发了重启,会导致 last_time 变为0 |
No description provided.
The text was updated successfully, but these errors were encountered: