- 论坛徽章:
- 4
|
FastDFS V2.04 stable版本发布!!!
本帖最后由 happy_fish100 于 2010-11-19 10:13 编辑
V2.04主要改进如下:
1. 同步文件时,先写入临时文件,同步完成后再改名,避免文件在同步过程被客户端下载到不完整的文件
2. 文件ID中用CRC32签名替换随机数(4个字节),为今后文件完整性检查提供了一种机制
3. 修复了fdfs_storaged进程退出时,可能导致写入binlog文件异常的问题。
因为打开的binlog文件描述符为0,程序中误将fd为0的文件关闭了。
详细的ChangeLog如下:
Version 2.04 2010-11-19
* storage.conf: tracker server ip can NOT be 127.0.0.1
* do not catch signal SIGABRT
* strerror change to STRERROR macro
* sync copy file use temp filename first, rename to the correct filename
when sync done
* file id use 4 bytes CRC32 signature instead of random number
* add file: client/fdfs_crc32.c
* one of file hash code signature function change from APHash_ex
to simple_hash_ex
* bug fixed: when fdfs_storaged quit, maybe write to binlog file fail,
the error info is "Bad file descriptor" |
|