Commit Graph

363 Commits (master)

Author SHA1 Message Date
YuQing fe647b81c2 adapt to libserverframe 1.2.5 2024-09-17 11:50:06 +08:00
YuQing f1650d9b45 fastdfs.spec: systemctl enable services 2024-05-15 14:23:35 +08:00
YuQing aef5984bd8 correct debuild error 2024-04-10 10:25:33 +08:00
YuQing d8df0ae9f3 add debian sudir for debuild 2024-04-10 10:17:25 +08:00
YuQing 75c5535f5a remove compile warnings 2024-03-11 15:29:36 +08:00
YuQing 10aa9a8de8 INSTALL changed for V6.12.1 2024-03-11 15:15:03 +08:00
YuQing 8b952615ec make.sh: set DEBUG_FLAG to 0 2024-03-06 17:46:25 +08:00
YuQing 422c63cc54 log square quoted IPv6 address 2024-03-06 15:35:19 +08:00
YuQing ff2aef1735 adapt to libserverframe 1.2.3 2024-02-26 22:14:50 +08:00
YuQing 5680a7fab8 make.sh: set DEBUG_FLAG to 0 2024-02-13 10:38:19 +08:00
YuQing e5c48a4132 check filename duplicate by hashtable instead of file system access 2024-02-12 20:17:02 +08:00
YuQing 9425e44ddc upgrade version to 6.12.0 2024-02-11 10:23:51 +08:00
YuQing 0893bd73d5
Merge pull request #687 from Rustmilian/patch-1
fgrep: warning: fgrep is obsolescent; use grep -F
2024-01-12 09:02:21 +08:00
Rustmilian 0a9fef1339
fgrep: warning: fgrep is obsolescent; using grep -F 2024-01-11 16:48:45 -05:00
YuQing 65aeeb28cc bugfixed: fdfs_server_info_to_string support IPv6 correctly 2024-01-11 11:49:36 +08:00
YuQing 030520cb3a use INIT_SCHEDULE_ENTRY_EX1 for new thread 2023-12-29 10:21:41 +08:00
YuQing de36a81893 bugfixed: parse ip and port use parseAddress instead of splitEx 2023-12-21 19:39:19 +08:00
YuQing 67af9585d8 proto fetch storage ids add field allow_empty 2023-12-12 20:29:44 +08:00
YuQing ba41d958b2 client.conf add config item: connect_first_by 2023-12-11 19:20:32 +08:00
YuQing fd77ababf5 connect to storage server failover with multi IPs 2023-12-11 16:07:45 +08:00
YuQing 48fb05dbb2 specify the storage server ID for NAT network 2023-12-10 15:12:20 +08:00
YuQing 47759f2cf7 small changes for conf files 2023-12-06 14:26:41 +08:00
YuQing 3187fb3a29 upgrade version to 6.11.0 2023-12-05 17:07:52 +08:00
YuQing f1ab599f16 add more description for config item: reserved_storage_space 2023-12-04 15:22:57 +08:00
YuQing bd79b4d35b parameter use_storage_id in tracker.conf MUST set to true and
id_type_in_filename MUST set to id when IPv6 enabled
2023-12-01 16:50:01 +08:00
YuQing 7cae2bfb2b adapt to the newest libfastcommon and libserverframe 2023-11-29 20:18:50 +08:00
YuQing bfb3e9f887 code adjust for pull request #673 2023-11-24 19:46:16 +08:00
YuQing 1809d46020
Merge pull request #673 from sunqiangwei1988/master
Added: 增加IPv6支持
2023-11-23 16:50:38 +08:00
YuQing d24c3200d1 Merge branch 'use_libfastcommon1.70' 2023-11-16 11:36:52 +08:00
sunqiangwei1988 09f2405f45 Added: 增加IPv6支持
1、增加配置文件解析IPv6地址的能力。
2、修改配置文件增加IPv6配置说明。
3、修改fdht客户端增加IPv6支持。
4、增加IPv6长地址编码成短地址的功能,解决storage id使用IPv6地址时,会截取IPv6的前16位字符串时产生的不唯一问题。
2023-11-02 10:30:01 +08:00
YuQing 047d858220 adapt to the newest sf_send_done_callback 2023-10-26 10:51:30 +08:00
YuQing cb73cfe1a5 small changes for code format 2023-10-25 09:48:21 +08:00
YuQing 8363843597 call conn_pool_connect_server with timeout_ms 2023-10-24 17:22:24 +08:00
YuQing 64e0a536dc upgrade version to 6.10.0 2023-10-24 10:22:46 +08:00
YuQing 219e6e5a1d multi path round robin more gracefully 2023-10-15 20:34:30 +08:00
YuQing a90e6c681d Merge branch 'master' of github.com:happyfish100/fastdfs 2023-10-15 11:19:58 +08:00
YuQing c7d01ff422
Merge pull request #665 from niloay6/fix_multi_path_round_robin
fix: 多path的其中一个path存储超阈值时,store_path=0应该顺序写入,而不是每次都写第一个path
2023-10-15 11:18:22 +08:00
YuQing 2b111d9568 use free_queue_set_release_callback 2023-10-12 21:58:58 +08:00
YuQing e7caa614cf adapt to libfastcommon 1.70 and libserverframe 1.2.0 2023-10-12 17:55:11 +08:00
YuQing 4b42ed9fe2
Merge pull request #667 from sunqiangwei1988/master
Fixed: 修复storage_report_my_server_id中长度变量引用错误的问题
2023-10-11 18:21:51 +08:00
sunqiangwei1988 5060231f33 Fixed: 修复storage_report_my_server_id中长度变量引用错误的问题
在storage_report_my_server_id方法中,设置pkg_len值时,将常量引用从IP_ADDRESS_SIZE修改为正确的FDFS_STORAGE_ID_MAX_SIZE常量。
2023-10-03 13:25:58 +08:00
niloay6 e831870c8d fix: 修复当配置4个store_path时,第二个path(store_path1)存储超过阈值时,重复在第一个path(store_path0)写入的问题,即 store_path0 -> store_path2 -> store_path3,而不是一直是store_path0 2023-09-26 09:17:08 +08:00
YuQing 7c58b147ca common/fdfs_global.c: upgrade g_fdfs_version 2023-06-05 15:22:41 +08:00
YuQing 16f6808001 upgrade version to 6.9.5 2023-06-05 15:20:53 +08:00
YuQing fbae1053ae fdht_client/fdht_func.c: fixed compile error 2023-04-25 09:26:50 +08:00
YuQing 5335a59313
Merge pull request #631 from Yang1032/fix-2
fix: fix realloc mistakes to avoid memory leaks
2023-04-25 07:50:22 +08:00
YuQing 1b0e3a4710
Merge pull request #630 from Yang1032/fix-1
fix: possible out-of-bounds issues with array access
2023-04-25 07:46:53 +08:00
maogen.ymg b2966596a9 fix: fix realloc mistakes to avoid memory leaks 2023-04-24 21:34:53 +08:00
maogen.ymg c4355d126a fix: possible out-of-bounds issues with array access 2023-04-24 17:19:29 +08:00
YuQing 969cb24400 add ExecStartPost=/bin/sleep 0.1 to systemd service files 2023-04-10 09:38:36 +08:00