[FAQ] lightning 导入报错 rpc error: code = Unknown desc = RocksDB(\"IO error: While open a file for appending: xxx000034.sst: No such file or directory\")"]

[问题描述]

lightning 导入集群中存在 tiflash 时 ,报错

[“tidb lightning encountered error”] [error=“[pay.rep_deposit_bill] write rows reach max retry 3 and still failed: rpc error: code = Unknown desc = RocksDB("IO error: While open a file for appending: /data32/ssd/data.import/.temp/2f633eef-155f-512d-8b26-407861700978/000034.sst: No such file or directory")”]

[原因分析]

这是一个已知 bug,issue 链接:https://github.com/pingcap/tidb-lightning/issues/273

[解决方案]

集群升级到 4.0.0-rc.2 以后版本,在这个版本里修复了这个问题

[参考案例]

https://asktug.com/t/topic/34633