taosdata / TDengine

TDengine is an open source, high-performance, cloud native time-series database optimized for Internet of Things (IoT), Connected Cars, Industrial IoT and DevOps.
https://tdengine.com
GNU Affero General Public License v3.0
23.08k stars 4.83k forks source link

WAL log entries incomplete in range [211, 4673], aligned with snaphotVer:610 #23321

Open nrwflqzr-zwhy opened 9 months ago

nrwflqzr-zwhy commented 9 months ago

是因为systemctl start taosd 服务无法成功启动,在命令行尝试直接执行taosd命令时发现wal log 出错了,如何解决这一问题呢? /usr/bin/taosd 命令 报错error

10/18 17:04:56.381939 00476603 WAL wal module is initialized, rsetId:6 10/18 17:04:56.382195 00476603 DND succceed to read mnode file /mnt/nfs/tdengine_data/data/mnode/mnode.json 10/18 17:04:56.382207 00476603 DND mnode start to open 10/18 17:04:56.382216 00476603 MND start to open mnode in /mnt/nfs/tdengine_data/data/mnode 10/18 17:04:56.384049 00476603 WAL vgId:1, reset commitVer to 610 10/18 17:04:56.384058 00476603 WAL ERROR vgId:1, WAL log entries incomplete in range [211, 4673], aligned with snaphotVer:610 10/18 17:04:56.384063 00476603 WAL ERROR vgId:1, cannot open wal since repair meta file failed 10/18 17:04:56.384136 00476603 MND ERROR failed to open wal since WAL log incomplete. wal:/mnt/nfs/tdengine_data/data/mnode/wal 10/18 17:04:56.384141 00476603 MND ERROR mnode-wal exec failed since WAL log incomplete, start to cleanup 10/18 17:04:56.384146 00476603 MND mnode-wal will cleanup 10/18 17:04:56.384152 00476603 MND ERROR failed to open mnode since WAL log incomplete 10/18 17:04:56.384157 00476603 MND start to close mnode 10/18 17:04:56.384160 00476603 MND mnode is closed 10/18 17:04:56.384163 00476603 DND ERROR failed to open mnode since WAL log incomplete 10/18 17:04:56.384167 00476603 DND ERROR node:mnode, failed to open since WAL log incomplete 10/18 17:04:56.384175 00476603 DND ERROR node:mnode, failed to open since WAL log incomplete 10/18 17:04:56.384178 00476603 DND ERROR failed to open nodes since WAL log incomplete

lld1995 commented 8 months ago

这问题有办法解决么,只能把数据全删了?

nrwflqzr-zwhy commented 8 months ago

不清楚什么原因导致的,因为我们的数据放在远程挂载的盘上,或许是因为网络原因导致没有正常写入,数据存储路径重新更换到本地磁盘后目前没有发现问题再次出现

王冲冲 @.***

签名由 网易灵犀办公 定制

Original: From:lld1995 @.>Date:2023-11-08 15:44:43(中国 (GMT+08:00))To:taosdata/TDengine @.>Cc:nrwflqzr @.> , Author @.>Subject:Re: [taosdata/TDengine] WAL log entries incomplete in range [211, 4673], aligned with snaphotVer:610 (Issue #23321) 这问题有办法解决么,只能把数据全删了? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

leijianhang commented 1 month ago

老哥,最后是怎么解决的呢,我也遇到了,我是断电之后重启就不行了