- 论坛徽章:
- 4
|
FastDFS stable版本V1.15 发布
版本1.14开始相同的文件内容只保存一份,其余的都采用链接(link)方式指向该文件。文件内容查重采用hash算法,文件签名包括5部分:文件字节数和4个hash code(共24字节)。文件查重使用了FastDHT(分布式hash系统)。change log如下:
Version 1.15 2009-01-28
* use FastDHT v1.04 client code
* use FastDHT client thread safely
Version 1.14 2009-01-18
* storage/storage_sync.c:
old: if (reader.sync_row_count % 1000 == 0)
new: if (reader.scan_row_count % 2000 == 0)
* little adjustment for common files can be used by FastDHT
* sched_thread.h /.c add global variable g_schedule_flag to quit normally
* shared_func.h / .c add function get_time_item_from_conf
* sched_thread.h /.c support time_base of task
* hash.h / .c add function CRC32, add hash function to support stream hash
* add FastDHT client files in storage/fdht_client/
* create symbol link when the file content is duplicate,
add item "check_file_duplicate" to conf file storage.conf
* use FastDHT v1.02 client code
* auto delete invalid entry in FastDHT when the source file does not exist |
|