Commit Graph

69 Commits (3815c0b2ce5944b65d80fabfab93f8fd601af81a)

Author SHA1 Message Date
YuQing 3815c0b2ce export function sf_file_writer_direct_write 2025-03-15 10:10:01 +08:00
YuQing 42c6e2c6b7 struct sf_context add field is_client for RDMA callback alloc_pd 2024-09-20 14:16:59 +08:00
YuQing 78d65ba2c6 net buffer config for each sf_context instance 2024-02-20 09:53:52 +08:00
YuQing d5a9f40a66 correct macros for struct SFBinlogBuffer 2024-02-15 15:13:40 +08:00
YuQing 9d3a92d7da fixed macro SF_BINLOG_BUFFER_LENGTH 2024-02-05 17:05:39 +08:00
YuQing cab9ce4c4f set flags of protocol header 2024-02-04 09:22:56 +08:00
YuQing a969a0df07 support address family IPv4, IPv6 and both 2023-11-29 18:52:02 +08:00
YuQing 951d010512
Merge branch 'master' into master 2023-11-23 15:58:26 +08:00
sunqiangwei1988 c619a5336d Added: 增加IPv6支持
1、增加检测主机是否配置IPv4地址和是否配置IPv6地址的方法。
2、修改sf_service.c文件中_socket_server方法,以支持IPv4和IPv6地址,当服务器为双栈时,优先选择IPv4地址。
2023-11-02 10:27:22 +08:00
YuQing a8867a19c4 sf_send_data_callback and sf_send_done_callback changed 2023-10-26 10:48:22 +08:00
YuQing 5f5db2b998 support explicit post recv for RDMA 2023-09-28 22:20:52 +08:00
YuQing f8e3fcdc55 adapt to the newest struct fast_task_info from libfastcommon 2023-09-25 18:37:53 +08:00
YuQing be9b71422f nio support callback connect_done for client 2023-09-22 18:27:12 +08:00
YuQing 9fad04f3f9 nio threads support busy_polling_callback 2023-09-18 16:19:10 +08:00
YuQing fca50e6d49 sf_load_config support fixed_buff_size 2023-09-11 11:36:30 +08:00
YuQing dedc023235 add parameter comm_type when load from config 2023-09-07 09:38:21 +08:00
YuQing b3334d2ad5 add function sf_set_body_length 2023-09-05 16:45:51 +08:00
YuQing e22400fa1c struct fast_task_info support padding_size for RDMA connection 2023-09-05 09:21:45 +08:00
YuQing 5a29dffc50 load RDMA APIs from library 2023-09-05 07:27:15 +08:00
YuQing 2839183433 move type SFNetworkType to libfastcommon as FCNetworkType 2023-09-04 11:01:36 +08:00
YuQing 36e4922440 callbacks impl. for socket 2023-09-03 18:35:31 +08:00
YuQing 96c7bc9a42 function prototype for socket and rdma both 2023-09-03 11:50:50 +08:00
YuQing dfc14de25d add type SFBlockSliceKeyInfo for libdiskallocator 2023-03-10 19:11:16 +08:00
YuQing 30ebb55c27 add type SFBlockKey and SFSliceSize for libdiskallocator and faststore 2023-03-05 08:48:36 +08:00
YuQing cf4856e04b support send_done_callback for FastDFS 2022-09-14 10:38:38 +08:00
YuQing 8b22655352 add function sf_release_task_shared_mbuffer 2022-08-28 17:25:50 +08:00
YuQing 2ebb51dcfd support alloc_recv_buffer callback 2022-08-25 18:22:16 +08:00
YuQing dc9267188d replication quorum support smart mode 2022-08-02 16:22:54 +08:00
YuQing a966d1bf4d sf_synchronize_finished_notify_no_lock impl. 2022-07-05 09:01:37 +08:00
YuQing e8e6cfc64a add replication quorum type and functions 2022-06-16 16:01:01 +08:00
YuQing 78e321f4ad election quorum support sf_election_quorum_auto 2022-04-21 11:29:43 +08:00
YuQing de943f684a add function sf_load_quorum_config 2022-03-30 21:22:34 +08:00
YuQing 97b64c67fb sf_synchronize_counter_xxx use mutex lock all 2021-11-08 11:06:30 +08:00
YuQing 255754eb5f add function sf_synchronize_counter_notify 2021-10-28 16:19:02 +08:00
YuQing cccb1c6d23 add function sf_synchronize_counter_wait 2021-10-12 10:54:30 +08:00
YuQing 1901189515 add struct SFSynchronizeContext 2021-10-05 20:03:05 +08:00
YuQing 2a57961b59 support error handler callback 2021-06-30 21:22:57 +08:00
YuQing 414f0f1efe add types: SFListLimitInfo and SFProtoLimitInfo 2021-06-29 22:42:02 +08:00
YuQing d11243964b call writev for iovec array 2021-06-08 14:19:11 +08:00
YuQing ba70c63e80 add type SFMemoryWatermark 2021-06-04 14:48:06 +08:00
YuQing 667fd14abb parse cmd options strictly 2021-05-24 20:33:56 +08:00
YuQing eea7adde7c set thread name as necessary 2021-04-29 21:33:05 +08:00
YuQing e4d529ab29 define macro SF_CLUSTER_CONFIG_SIGN_LEN 2021-04-19 15:29:28 +08:00
YuQing 13a21d5908 add types and macros 2021-04-16 21:44:40 +08:00
YuQing b49a3370f5 add sf_cluster_cfg.[hc] 2021-03-31 11:00:03 +08:00
YuQing 86017c46ac add functions sf_proto_init_task_context, sf_proto_deal_task_done etc. 2021-03-10 11:15:09 +08:00
YuQing 221ae1727d add type SFKeyValueArray 2021-03-03 20:57:00 +08:00
YuQing 4aeec5385a sf_connection_manager impl all interfaces 2021-02-19 21:05:38 +08:00
YuQing 3dc8efde5c impl proto_get_group_servers client side 2021-02-18 16:36:33 +08:00
YuQing 3a4a7069b9 add type SFBinlogWriterStat 2021-02-10 11:33:48 +08:00