Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage的一个bug #61

Open
GoogleCodeExporter opened this issue Nov 2, 2015 · 3 comments
Open

storage的一个bug #61

GoogleCodeExporter opened this issue Nov 2, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

两个storage,两个tracker,一个nginx + php - 
fastdfs提供上传下载接口

都是用4.0.6版本

局域网测试,上传文件后立即下载,日志报错
ERROR - file: storage_service.c, line: 6974, call stat fail, logic file: 
M00/00/02/wKgB6VM0elKAc2JzAAAR_QRdFUk850.jpg, error no: 2, error info: No such 
file or directory;
出错前查看存储目录,该文件存在;
下载出错后等一会儿(10s,未准确计时)则能成功下载;复��
�的频率比较高;

任意停掉一个storage则未发现该问题;

Original issue reported on code.google.com by [email protected] on 27 Mar 2014 at 12:43

@GoogleCodeExporter
Copy link
Author

集群中所有服务器的时间要一致,否则可能会导致误判。

Original comment by [email protected] on 9 Apr 2014 at 2:31

@GoogleCodeExporter
Copy link
Author

tks

Original comment by [email protected] on 9 Apr 2014 at 3:47

@GoogleCodeExporter
Copy link
Author

将服务器时间同步,并检查了时间也是一致的,问题依旧

其中download方式选择如下,尚未测试过download_server=1的情况
# which storage server to download file
# 0: round robin (default)
# 1: the source storage server which the current file uploaded to
download_server=0

Original comment by [email protected] on 12 Apr 2014 at 3:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant