Commit Graph

63 Commits (master)

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 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 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 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
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 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
YuQing 3f4d273746 simplify serivce name for tracker and storage 2022-12-24 15:05:10 +08:00
YuQing bc52a5d6e1 output port with format %u instead %d 2022-12-16 16:11:41 +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 bfa8a1eb4d remove useless FDFSConnectionStat type and global variable 2022-09-14 11:07:30 +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
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 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 867dc29111 use fdfs_get_ipaddr_by_peer_ip 2019-12-04 15:59:31 +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 358fff4ac8 new selected tracker leader do NOT notify self by network 2019-11-18 22:30:10 +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
YuQing 21c52cf406 dual IPs support two different types of inner (intranet) IPs 2019-11-14 19:19:11 +08:00
YuQing f756b5ee94 storage join add field: current_tracker_ip 2019-10-16 09:52:25 +08:00
YuQing 2b8e9137fe check tracker server list when storage join 2019-10-15 21:48:31 +08:00
YuQing d91cd72bfd when storage is client of tracker, get client ip gracefully 2019-10-12 21:48:30 +08:00
YuQing 5695965470 storage server get ip from tracker 2019-10-12 19:15:58 +08:00
YuQing ae8024d355 support multi ip for storage server (tracker part) 2019-10-10 20:29:58 +08:00
YuQing f60d96989a check tracker server when set multi IP 2019-10-08 12:26:15 +08:00
YuQing 2b11a518d4 tracker support multi ip 2019-09-30 21:12:01 +08:00
YuQing c7f02064f9 tracker relationship refine 2019-09-05 10:14:06 +08:00
yuqing b1423a3ace include libfastcommon header files start with fastcommon/ 2018-06-29 11:21:07 +08:00
Yu Qing 1e4eb5c154 replace print format OFF_PRINTF_FORMAT to PRId64 2017-08-10 16:15:36 +08:00
Yu Qing 68fd3f5b1f code refine for rare case 2017-08-10 16:01:14 +08:00
yuqing b94ba24c2e do NOT sync storage server info to tracker leader 2017-03-28 10:16:35 +08:00
yuqing 51e9da9a77 judge read_bytes > 0 2017-03-08 15:57:30 +08:00
yuqing fa8331340f fix getFileContentEx read bytes 2017-03-08 15:35:38 +08:00
yuqing 69c7ea4cb3 use fc_safe_read instead of read, and fc_safe_write instead of write 2017-02-17 11:11:33 +08:00