Commit Graph

135 Commits (d8df0ae9f30ca47adda284c8e980624925279717)

Author SHA1 Message Date
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 e5c48a4132 check filename duplicate by hashtable instead of file system access 2024-02-12 20:17:02 +08:00
YuQing 65aeeb28cc bugfixed: fdfs_server_info_to_string support IPv6 correctly 2024-01-11 11:49:36 +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 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 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 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 e7caa614cf adapt to libfastcommon 1.70 and libserverframe 1.2.0 2023-10-12 17:55:11 +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
maogen.ymg b2966596a9 fix: fix realloc mistakes to avoid memory leaks 2023-04-24 21:34:53 +08:00
YuQing 3f4d273746 simplify serivce name for tracker and storage 2022-12-24 15:05:10 +08:00
YuQing 079bc4737b use prctl to set pthread name under Linux 2022-12-24 10:29:42 +08:00
YuQing bc52a5d6e1 output port with format %u instead %d 2022-12-16 16:11:41 +08:00
YuQing ab1c27c197 bugfixed: log connection ip_addr and port correctly 2022-12-16 16:00:40 +08:00
YuQing 326d83bb6e space size such as total_mb and free_mb use int64_t instead of int 2022-11-28 11:38:56 +08:00
YuQing 09491325cc bugfixed: clear task extra data correctly when the connection broken 2022-11-25 15:38:44 +08:00
YuQing e6fcd3ecdd use atomic counter instead of mutex lock 2022-09-14 16:33:59 +08:00
YuQing bfa8a1eb4d remove useless FDFSConnectionStat type and global variable 2022-09-14 11:07:30 +08:00
YuQing c6a92de3d2 set schedule id by sched_generate_next_id() 2022-09-13 20:35:09 +08:00
YuQing d7c0594565 storage nio use libserverframe 2022-09-13 16:30:43 +08:00
YuQing bf3bfa68f6 call sf_load_config_ex instead of sf_load_config 2022-09-12 15:05:57 +08:00
YuQing 8f538108ce tracker nio use libserverframe 2022-09-12 10:48:28 +08:00
YuQing 1d7b15d1be use func sf_parse_daemon_mode_and_action from libserverframe 2022-09-11 09:51:52 +08:00
juntt fc31983958
update tracker/fdfs_shared_func.c.
tracker.conf中配置为容量时
reserved_storage_space = 1g
storage启动报错日志
[2022-07-05 18:12:09] ERROR - file: shared_func.c, line: 2449, unkown byte unit:  MB, input string: 1024 MB
[2022-07-05 18:12:09] CRIT - exit abnormally!
2022-07-06 03:03:28 +00:00
YuQing e8c8f3d6ac use libfastcommon V1.56 2022-02-25 15:13:09 +08:00
YuQing 255f167491 remove compile noise when gcc version >= 7 2021-01-06 12:02:32 +08:00
YuQing 4aff731fd5 fix action fetch in argv 2020-08-31 10:48:54 +08:00
YuQing 28f9c419a3 memset return ip address to ascii 0 for Java SDK 2019-12-30 17:51:24 +08:00
YuQing b7447e5903 support delete unused trunk files 2019-12-23 16:11:18 +08:00
YuQing 513894c5a2 support merge free trunk spaces 2019-12-21 21:00:09 +08:00
YuQing 8d2a04e435 remove debug log 2019-12-20 14:46:42 +08:00
YuQing f55d8fafc8 support alignment size for trunk space allocation 2019-12-20 12:02:48 +08:00
YuQing 4a6f89c692 support backup binlog file when truncate trunk binlog 2019-12-19 18:38:01 +08:00
YuQing cf0ec7e4cf trunk server support compress the trunk binlog periodically 2019-12-14 21:03:35 +08:00
YuQing a49735ae5a fdfs_trackerd and fdfs_storaged print the server version in usage 2019-12-13 10:59:07 +08:00
YuQing e0d3d44f64 sigQuitHandler: tcp_set_try_again_when_interrupt to false 2019-12-05 12:13:53 +08:00
YuQing 867dc29111 use fdfs_get_ipaddr_by_peer_ip 2019-12-04 15:59:31 +08:00
YuQing 46171f2c64 add parameter compress_error_log_days_before 2019-12-01 20:39:31 +08:00