- 论坛徽章:
- 4
|
FastDFS V1.25 stable版本发布!
V1.25主要新增功能和改进点如下:
1. 当存储服务器的IP地址变化时,系统能够自动进行调整(只有在存储服务器启动时做检测和调整);
2. 存储服务器状态同步部分的代码进行了修正,更合理、更清晰(tracker和storage相应部分代码均做了调整);
3. 服务器进程在收到通过kill发送的信号后,能够快速退出运行;
4. 在Linux下,当程序异常退出时,可以在日志文件中记录调用堆栈信息,以便于定位程序问题(需要在make.sh中设置DEBUG_FLAG=1);
5. FastDFS文件名buffer长度从64增大到128,避免文件名存储空间可能不足的问题;
6. 配置文件解析common/ini_file_reader.c:使用一个上下文参数,而不是像过去那样用两个参数;
7. bug fix:新增一台存储服务器时,同组在线的其他服务器状态会发生变化。修正后,在线的存储服务器状态保持不变;
8. bug fix: c和php客户端, 因为没有调用日志的初始化函数,导致程序core dump(V1.24引入的这个bug);
9. bug fix: tracker/tracker_mem.c 当组和存储服务器比较多时,从数据文件中加载存储服务器信息失败。
详细的Change Log如下:
Version 1.25 2010-01-27
* storage_sync.c if source file not exist when sync a file, change from
logWarning to logDebug
* filename buff size change from 64 to 128
* bug fixed: c client and php client, log not inited cause core dump when
call log functions
* can print stack trace when process core dumped in Linux server
* bug fixed: tracker/tracker_mem.c load storage servers fail with many groups
and storage servers
* common/sockopt.c remove debug info
* storage stat add fields: version
* auto adjust when storage server ip address changed
* bug fixed: when add a new storage server, other storage servers' status keep
the same, not changed
* add macros, compile passed in cygwin, thanks Seapeak
* write to system data file using lock
* common/ini_file_reader.c: use one context parameter, not two parameters
* storage status sync modified (the code of tracker and storage both changed)
* when recv kill signal, worker thread quit more quickly, daemon process
fdfs_trackerd and fdfs_storage quit very quickly when recv kill signal
* remove compile warning info of logError
* tracker server start more quickly with many groups and storage servers
[ 本帖最后由 happy_fish100 于 2010-1-30 10:30 编辑 ] |
|