happy_fish100 发表于 2010-01-07 14:01

FastDFS V1.24 stable版本发布!

V1.24主要完善了删除storage server的功能。
另外,通过减小静态数组大小,采用动态分配内存来尽可能减小线程栈的大小。
详细的Change Log如下:

Version 1.242010-01-06
* call php_fdfs_close with TSRMLS_CC as php_fdfs_close(i_obj TSRMLS_CC)
* storage server to storage server report ip address as tracker client
* bug fixed: sendfile exceeds 2GB file in Linux
* bug fixed: delete storage server
* storage stat add fields: up_time and src_ip_addr
* big static or struct memeber char array buffer change to malloc in order to
   decrease stack size
* FDFS_WRITE_BUFF_SIZEchange from 512KB to 256KB
* bug fixed: client/storage_client.c, meta data missed when upload file
* decrease thread_stack_size default value in config files: tracker.conf
   and storage.conf

happy_fish100 发表于 2010-01-29 18:11

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.252010-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 编辑 ]

happy_fish100 发表于 2010-03-01 18:36

FastDFS V1.26 stable版本发布!

V1.26主要修复了storage server状态不正确的问题,另外,tracker server可以对storage server上的web服务进行健康检测。通过tracker server以HTTP方式下载文件时,不会重定向到健康检测不通过的storage server。

详细的ChangeLog如下:
Version 1.262010-02-28
* remove compile warning of logError
* ini reader support section
* bug fixed: tracker/tracker_mem.c sync storage server status
* use storage server http server port anyway
* bug fixed: ini reader can support relative config filename
* function enhancement: tracker server can check storage HTTP server alive

请使用V1.25的用户,尽快升级到V1.26。

happy_fish100 发表于 2010-04-11 10:37

FastDFS V1.27 stable版本发布!

主要修改点:
   将标准输出和标准错误重定向到FastDFS的日志文件,如tracker.log或storage.log,避免了系统异常的情况下,破坏数据文件;
   storage server对HTTP支持域名方式;
   获取本机IP地址,在配置文件storage.conf中增加了参数if_alias_prefix;
   php扩展配置文件fastdfs_client.ini中增加了一些配置参数,使用最新的php扩展,需要修改该配置文件。


详情的ChangeLog如下:
Version 1.272010-04-10
* storage.conf: add if_alias_prefix parameter to get the ip address of the
   local host
* storage http support domain name
* php extension add some parameters in fastdfs_client.ini
* make.sh compile use debug mode
* type off_t change to int64_t
* redirect stdout and stderr to log file

happy_fish100 发表于 2010-05-30 15:53

FastDFS V1.28 stable版本发布!

V1.28主要改进点:
   在多tracker server情况下,storage server状态及文件同步不正常的问题,已经修复。新版本可以很好地支持多tracker server;
   改进了storage server上的stat文件及mark文件刷新到磁盘的方式,更安全高效;
   增加ACTIVE TEST命令,用于对服务及网络的有效性检查;
   C客户端增加了公用函数库libfastcommon,解决了FastDFS和FastDHT客户端library共存的问题;
   logger支持多实例(通过上下文参数实现);
   修复了几个bug。

详细的ChangeLog如下:

Version 1.282010-05-30
* tracker_servive.c: set current_write_group anyway when current group
   out of space
* logger support context (multi instance)
* get storage servers by filename: if the file created one day ago (the create
   timestamp of the file < current_time - 86400), any active storage server matches
* add files: common/pthread.h and common/pthread.c
* common/sched_thread.h, remove statement: extern bool g_continue_flag;
* client add libfastcommon
* global variables: g_base_path, g_network_timeout, g_version change to
   g_fdfs_base_path, g_fdfs_network_timeout, g_fdfs_version
* common/fdfs_base64.h/c change name to common/base64.h/c
* make.sh use TARGET_PREFIX instead of TARGET_PATH
* protocol add ACTIVE_TEST, tracker and storage both support
* php client, bug fixed: fastdfs_connect_server, the sock must init to -1
* bug fixed: storage status not correct with multi tracker servers
* sync storage mark file and stat file to disk properly

caleng 发表于 2010-06-01 16:12

PHP 扩展编译失败

错误提示:
configure: error: Cannot find php-config. Please use --with-php-config=PATH

即使加上php配置文件路径,依然出现这个错误。

happy_fish100 发表于 2010-06-01 18:15

PHP 扩展编译失败

错误提示:
configure: error: Cannot find php-config. Please use --with-php-conf ...
caleng 发表于 2010-06-01 16:12 http://linux.chinaunix.net/bbs/images/common/back.gif

php-config是个程序。
你执行:
which php-config
看一下这个命令是否存在。
请检查一下php是否正确安装,谢谢!

happy_fastdfs 发表于 2010-06-03 09:10

happy fish,只用FastDFS的上传下载最基础功能,继续使用v1.27有没问题?

happy_fish100 发表于 2010-06-03 10:22

回复 28# happy_fastdfs

最好升级到最新版本。
V1.23以后,客户端和服务器通信协议没有任何更改。完全可以平滑升级的。
升级时,需要同时升级tracker和storage。

happy_fish100 发表于 2010-06-30 21:51

FastDFS V1.29 stable版本发布!

本帖最后由 happy_fish100 于 2010-06-30 21:53 编辑

本次升级主要包括如下内容:
1. tracker server和storage server在调试模式下,支持dump全局变量到文件中(kill -URS1 或 -USR2可触发dump)
2. 存储服务器可以修改服务端口号和HTTP端口号,当一个组的所有存储服务器将端口修改一致后,系统会自动调整:
   1)tracker server会自动接受最新的端口值;
   2)文件名中包含端口的同步mark文件会自动改名(将原端口修改为新端口,确保同步信息不丢失)
3. 支持连接超时,由配置文件中的参数connect_timeout来定义。

详细的Changelog如下:
Version 1.292010-06-30
* add files: tracker_dump.h and tracker_dump.c, tracker dump global vars
* add files: storage_dump.h and storage_dump.c, storage dump global vars
* sockopt.c: tcprecvfile and tcpdiscard add parameter total_recv_bytes
* storage server add fields: storage_port and storage_http_port
* auto rename synced remark files when the port of all storage servers
   in a group changed to another port
* connect server support timeout, adding connect_timeout parameter in
   config file
* log_init set log to cache to false (no cache)
页: 1 2 [3] 4 5 6 7 8 9 10 11 12
查看完整版本: FastDFS V5.08发布!!!