Commit Graph

123 Commits (1809d46020b5522550854ac392c78a4c882bed6b)

Author SHA1 Message Date
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
YuQing 634d85eaae support compress error log and access log 2019-11-30 16:12:18 +08:00
YuQing 949f53b15d INSTALL changed and modify website name 2019-11-23 09:56:35 +08:00
YuQing da7300bc9b change comment/information in config files and codes 2019-11-22 09:26:47 +08:00
YuQing 9a29048ae5 larger network_timeout for fetching one-store-path binlog 2019-11-20 08:38:38 +08:00
YuQing 5557429899 log more info when ping tracker leader fail 2019-11-19 09:17:55 +08:00
YuQing e4c2644db2 change sleep seconds when ping tracker leader fail 2019-11-19 08:49:08 +08:00
YuQing 358fff4ac8 new selected tracker leader do NOT notify self by network 2019-11-18 22:30:10 +08:00
YuQing afff529a9b skip status FDFS_STORAGE_STATUS_DELETED 2019-11-18 18:34:22 +08:00
YuQing af4f0754e4 code refine: extent struct FDFSStorePathInfo 2019-11-17 19:21:55 +08:00
YuQing 3b1045268e add func fdfs_set_server_info_index1 2019-11-16 11:30:20 +08:00
YuQing 017fff46f3 set my_status in storage join response 2019-11-15 15:05:11 +08:00
YuQing 22865e0542 storage server request tracker server to change it's status 2019-11-15 13:19:26 +08:00