Commit Graph

155 Commits (d24c3200d14ee419665dfc7840469966caa368ea)

Author SHA1 Message Date
YuQing d24c3200d1 Merge branch 'use_libfastcommon1.70' 2023-11-16 11:36:52 +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
YuQing 8c5a6b6f00 fdfs_monitor.c: do NOT call getHostnameByIp 2019-12-25 19:26:58 +08:00
YuQing a885fd23cc set all space to ascii 0 when delete trunk file 2019-12-25 17:37:51 +08:00
YuQing e6ec41ba04 static variable expect_header 2019-12-24 22:12:40 +08:00
YuQing aefb4611aa refine logging delete unused trunk files 2019-12-24 21:44:50 +08:00
YuQing ef31a31152 trunk file id printf format change from %d to %u 2019-12-24 21:15:46 +08:00
YuQing 71856858eb bugfixed: delete first merged trunk node 2019-12-23 19:05:30 +08:00
YuQing b7447e5903 support delete unused trunk files 2019-12-23 16:11:18 +08:00
YuQing 49d51e949b fix previous value in trunk_save_merged_spaces 2019-12-23 08:13:40 +08:00
YuQing 2ab095bafd bugfixed: ++ppTrunkInfo again 2019-12-22 22:21:31 +08:00
YuQing 1e56afb08d remove trunk_file_lock and use atomic add/sub 2019-12-22 17:09:37 +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