zhiqli / fastdfs

Automatically exported from code.google.com/p/fastdfs
GNU General Public License v3.0
0 stars 0 forks source link

FDFS_FILE_PREFIX_MAX_LEN 只能是 16吗 #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.FDFS_FILE_PREFIX_MAX_LEN 只能是16吗,那么我的从文件不好命名

What is the expected output? What do you see instead?
能不能替换成32

What version of the product are you using? On what operating system?
fastdfs1.22版本

Please provide any additional information below.

Original issue reported on code.google.com by boyw...@yahoo.com.cn on 14 Jan 2014 at 3:49

GoogleCodeExporter commented 9 years ago
版本太旧了!建议升级到v4.08或者v5.0。
16个字节还不够用么?

Original comment by happyfis...@gmail.com on 29 Jan 2014 at 7:29

GoogleCodeExporter commented 9 years ago
直接修改ProtoCommon.java

public static final byte FDFS_FILE_PREFIX_MAX_LEN    = 32;
这样好像不行

Original comment by boyw...@yahoo.com.cn on 17 Feb 2014 at 9:54