docker mongoDB 断电 启动一会 自动停止问题

mongoDB 异常关机出现一下错误WiredTiger error",“attr”:{“error”:0,“message”:"[1676974734:946019][1:0x7f730201fc80], file:

mongoDB 异常关机

出现一下错误WiredTiger error",“attr”:{“error”:0,“message”:"[1676974734:946019][1:0x7f730201fc80], file:index-6-2417651500442865953.wt, WT_SESSION.verify: __wt_block_read_off, 302: index-6-2417651500442865953.wt: potential hardware corruption, read checksum error for 4096B block at offset 8192: block header checksum of 0xa7bb08c3 doesn’t match expected checksum of 0x6da1a2f

执行

docker run -it -v [数据的宿主级目录]:/data/db [mongo镜像名/镜像ID] mongod --repair

执行结束后 就成功了

发布者:admin,转转请注明出处:http://www.yc00.com/web/1754382107a5153754.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信