Commit Graph

167 Commits (f1650d9b45d5b9acdcf6b60cfc512d3541f47c45)

Author SHA1 Message Date
YuQing 75c5535f5a remove compile warnings 2024-03-11 15:29:36 +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 030520cb3a use INIT_SCHEDULE_ENTRY_EX1 for new thread 2023-12-29 10:21:41 +08:00
YuQing 48fb05dbb2 specify the storage server ID for NAT network 2023-12-10 15:12:20 +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
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 fbae1053ae fdht_client/fdht_func.c: fixed compile error 2023-04-25 09:26:50 +08:00
maogen.ymg b2966596a9 fix: fix realloc mistakes to avoid memory leaks 2023-04-24 21:34:53 +08:00
YuQing 0376cf8e2c bugfixed: report connections' current_count and max_count correctly 2023-02-15 12:44:53 +08:00
YuQing 1e209da4e2 use epoll edge trigger to resolve github issues #608 2023-02-12 10:49:10 +08:00
YuQing f5f17ea6e7 sf_enable_thread_notify with false 2022-12-30 17:26:27 +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
Ikko Ashimine 4bdcf2e6a9
fix typo in storage_service.c
seperated -> separated

Signed-off-by: Ikko Ashimine <eltociear@gmail.com>
2022-12-16 08:20:15 +00: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 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 87139983c8 nio reform for file upload and download 2022-09-14 10:59:19 +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
YuQing 255f167491 remove compile noise when gcc version >= 7 2021-01-06 12:02:32 +08:00
YuQing 55b2eeafc1 correct spell iovent to ioevent follows libfastcommon 2020-09-30 19:41:09 +08:00
YuQing b5534f9c8f use libfastcommon V1.44 2020-09-08 16:36:29 +08:00
YuQing 4aff731fd5 fix action fetch in argv 2020-08-31 10:48:54 +08:00
YuQing a9e593e03b bugfixed: fdfs_storaged can't quit normally 2019-12-26 21:55:22 +08:00
YuQing 9442384755 log more info when send timeout 2019-12-26 11:01:58 +08:00
YuQing 10906677a4 change init alloc size 2019-12-26 10:38:28 +08:00
YuQing a277a08281 add conditions to call storage_trunk_save 2019-12-26 09:22:19 +08:00