英文:
Why the previous data cannot be queried when data directory did not change in Apache IoTDB?
问题
Apache IoTDB版本0.12重新启动后,无法查询先前的数据,但可以找到当前时间序列中的数据。然而,可以写入新数据并找到最新的数据。我仍然可以查看数据目录中的先前数据。数据目录在安装期间被修改过,自那以后没有再更改过。enable_wal参数已从true修改为false,后来又改回来。有人遇到过这个问题吗?
我尝试在官方网站上查找现有信息,但似乎找不到适用于我的特定情况的答案。希望有人能回答我的问题。
英文:
After Apache IoTDB Version 0.12 restarts, the previous data cannot be queried, but the data in the current time series sequence can be found. However, new data can be written and the latest data can be found. I can still view the previous data in the data directory. The data directory was modified during installation, and has not been changed since then. The enable_wal parameter was modified from true to false, and later has changed back. Has anyone encountered this problem?
I tried to check existing information on official website, but it seems like no answer can be find for my specific case. Hope someone can answer the question on my case.
答案1
得分: 0
在您修改了Apache IoTDB中的“enable_wal”后,存储目录的结构将发生变化。在您将其改回后,IoTDB可能无法读取先前的数据目录。您可以尝试备份您的历史数据,并使用一个命令来引导IoTDB查询备份包以处理它。
英文:
After you modified "enable_wal" in Apache IoTDB, the structure of the storage directory will change. After you changed it back, IoTDB may not be able to read the previous data directory. You can try to backup your histrorical data, and use a command to guide IoTDB to query the backup pack to deal with it.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论