FastDFS 6.15.2 released
The distributed file system FastDFS 6.15.2 has been released, with the following major improvements:
- The file synchronization between storage servers supports multithreading;
- The access log is based on libserverframe;
- The communication protocol of FastDFS is compatible with both IPv4 and IPv6 address lengths;
- The underlying libraries used, libfastcommon and libserverframe, support io_uring (requiring a Linux kernel version >= 6.2), which offers better performance than epoll.
Other minor improvements:
- check tracker leader before accept trunk server
- move finish_callback from fast_task_info to TrackerClientInfo
- query file info support combined flags: FDFS_QUERY_FINFO_FLAGS_NOT_CALC_CRC32 and FDFS_QUERY_FINFO_FLAGS_KEEP_SILENCE
- fix compile warnings under gcc 14
Set the number of file synchronization threads in storage.conf. The configuration example is as follows:
# file sync min thread count, must >= 1
# default value is 1
# since V6.15
sync_min_threads = 1
# file sync max thread count, should >= sync_min_threads
# set to auto for twice of store_path_count
# default value is auto
# since V6.15
sync_max_threads = auto