windows服务端
最近出现某个文件夹客户端提示网络错误,然后所有客户端都无法同步,只有某一两个文件夹有问题,其他都正常!
下面是今天的日志
[10/16/17 09:32:40] Failed to inflate.
[10/16/17 09:32:40] …/common/fs-mgr.c(1696): Failed to decompress dir object fbb36c30ba205101359c7c07204674c8b1077da5.
[10/16/17 09:32:40] …/common/diff-simple.c(239): Failed to find dir 2ef42f50-153d-4faa-bd8f-80bb3f8932c8:fbb36c30ba205101359c7c07204674c8b1077da5.
[10/16/17 09:32:40] http-server.c(1218): Failed to diff remote and master head for repo 2ef42f50.
[10/16/17 09:32:44] Failed to inflate.
[10/16/17 09:32:44] …/common/fs-mgr.c(1696): Failed to decompress dir object fbb36c30ba205101359c7c07204674c8b1077da5.
[10/16/17 09:32:44] …/common/diff-simple.c(239): Failed to find dir 2ef42f50-153d-4faa-bd8f-80bb3f8932c8:fbb36c30ba205101359c7c07204674c8b1077da5.
[10/16/17 09:32:44] http-server.c(1218): Failed to diff remote and master head for repo 2ef42f50.
[10/16/17 09:32:49] read from connfd error: No error.
[10/16/17 17:39:30] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[10/16/17 17:39:30] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[10/16/17 17:39:30] listen-mgr.c(120): listen on port 12001 for block tranfer
[10/16/17 17:39:33] …/common/seaf-db.c(947): Error exec prep stmt: database table is locked.
[10/16/17 17:39:33] repo-op.c(563): Repo d6e3f420-6baa-493f-b9aa-5deb323ce2d5 doesn’t exist.
[10/16/17 17:39:33] virtual-repo.c(795): Failed to update origin repo d6e3f420-6 path /投标工具.
[10/16/17 17:39:37] repo-mgr.c(819): Failed to get master branch of repo b129f98f.
[10/16/17 17:39:37] virtual-repo.c(631): Failed to get repo b129f98f-6.
[10/16/17 17:39:37] repo-mgr.c(819): Failed to get master branch of repo 1a9a681d.
[10/16/17 17:40:00] repo-mgr.c(819): Failed to get master branch of repo 7e08e65a.
[10/16/17 17:40:00] virtual-repo.c(686): Failed to get virt repo 7e08e65a-c.
[10/16/17 17:40:01] repo-mgr.c(819): Failed to get master branch of repo d6e3f420.
[10/16/17 17:40:01] virtual-repo.c(695): Failed to get orig repo d6e3f420-6.
[10/16/17 17:40:01] repo-mgr.c(819): Failed to get master branch of repo d6e3f420.
[10/16/17 17:40:01] virtual-repo.c(695): Failed to get orig repo d6e3f420-6.
[10/16/17 17:40:13] …/common/seaf-db.c(947): Error exec prep stmt: database table is locked: Branch.
今天用fsck修复了一下,修复了10个小时,还没结束,而且才修复了部分文件,因为我们的资料库很庞大,估计耗时会很长,所以中断了。
刚刚在网页端测试了一下问题文件夹的资料上传,是没问题的,客户端就无法同步。
于是我在客户端断开此文件夹的同步,然后重新同步,首先它会加载列表,然后下载文件,下载时也会有速度,但是到了百分之十几的时候就提示内部错误了,偶尔会提示网络错误。
win服务器里面如果跑了什么杀毒软件之类的话,很有可能会误伤到个别的数据块,这时候有可能会导致资料库损坏。
谢谢回答
现在问题通过重新建新文件夹做资料转移的方式解决了