Commit Graph

413 Commits (a2ab8a0c01431a547c2bfc45165e3f3b81231f1b)

Author SHA1 Message Date
YuQing 5f5db2b998 support explicit post recv for RDMA 2023-09-28 22:20:52 +08:00
YuQing 60d6b49998 rdma callback get_buffer rename to get_recv_buffer 2023-09-27 11:23:50 +08:00
YuQing a0fe474198 add functions: sf_xxxx_task_send/recv_buffer 2023-09-26 15:51:26 +08:00
YuQing 17c99cdd55 sf_nio_task_is_idle rename to sf_nio_task_send_done 2023-09-26 15:26:42 +08:00
YuQing f8e3fcdc55 adapt to the newest struct fast_task_info from libfastcommon 2023-09-25 18:37:53 +08:00
YuQing cd1920872a sf_recv_response_header check recv length for rdma 2023-09-24 14:31:37 +08:00
YuQing fee1e28348 SF_NIO_STAGE_CONNECT stage should call inc_connection_current_count 2023-09-22 18:44:32 +08:00
YuQing be9b71422f nio support callback connect_done for client 2023-09-22 18:27:12 +08:00
YuQing 3a413408ad add func sf_alloc_init_task_ex to specify reffer_count 2023-09-21 09:03:45 +08:00
YuQing 3c7ebd14d9 MUST call fast_timer_remove after ioevent_detach 2023-09-19 09:37:17 +08:00
YuQing 9fad04f3f9 nio threads support busy_polling_callback 2023-09-18 16:19:10 +08:00
YuQing 9731e736df idempotency support RDMA 2023-09-15 10:39:03 +08:00
YuQing 0eb842dc09 sf_nio.c: check_task adapt to RDMA 2023-09-14 09:50:49 +08:00
YuQing 435ae6bb84 remove quotes for macro LOAD_API 2023-09-13 21:23:47 +08:00
YuQing c6d4612862 send and recv data adapt for RDMA 2023-09-12 16:03:22 +08:00
YuQing fca50e6d49 sf_load_config support fixed_buff_size 2023-09-11 11:36:30 +08:00
YuQing 2463725570 use the newest conn_pool_init_ex1 from libfastcommon 2023-09-10 20:55:46 +08:00
YuQing 12637bf181 set rdma handler listen port 2023-09-08 07:58:46 +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 f9f7b0f159 add function sf_serializer_pack_id_name_skiplist 2023-08-05 20:48:40 +08:00
YuQing e440273f35 sf_binlog_writer.c: flow control more rigorously 2023-07-30 10:11:00 +08:00
YuQing 27a7696867 bugfixed: sf_binlog_index.c call parse only when row_count > 0 2023-07-29 09:48:25 +08:00
YuQing 024a6b0e8a improve robustness of binlog writer flow control 2023-07-27 10:54:59 +08:00
YuQing 6ce1a711f9 add inline function: sf_binlog_writer_get_waiting_count etc. 2023-07-26 10:35:58 +08:00
YuQing 566c055f27 use libfastcommon V1.68 2023-07-05 18:09:53 +08:00
YuQing 5e8535db9c function sf_push_to_binlog_write_queue changed 2023-06-30 10:40:05 +08:00
YuQing 1abf7402ca log info when flow ctrol waiting time > 0 gracefully 2023-06-30 10:29:18 +08:00
YuQing d006954ceb sf_binlog_writer_init support call_fsync parameter 2023-06-27 18:19:36 +08:00
YuQing 6e071410dc log warning when flow ctrol waiting time > 0 2023-06-27 16:39:37 +08:00
YuQing a95f4cc725 sf_binlog_writer.[hc]: use config max_delay for flow control 2023-06-16 17:59:29 +08:00
YuQing 2a245a06aa sf_file_writer.[hc] support config call_fsync for performance 2023-06-10 14:32:00 +08:00
YuQing d5139804f9 adapt newest fast_mblock_init_ex2 2023-05-19 11:21:15 +08:00
YuQing 0989cc02fe remove debug info in request_metadata.c 2023-05-18 20:20:27 +08:00
YuQing 5786b0383f request_metadata.c: set thread name in Linux 2023-05-18 16:10:51 +08:00
YuQing 32706b6275 add function sf_socket_close 2023-05-10 20:29:14 +08:00
YuQing 7c6673f78a connection manager support exclude server_id for server side 2023-05-05 16:22:04 +08:00
YuQing 90e144920a use new sorted queue with double link chain for quick push 2023-05-04 20:07:23 +08:00
YuQing c5d64a0d54 change field lc_pair to lcp 2023-03-27 16:27:57 +08:00
YuQing 2272bf2707 add macro func: sf_file_writer_get_last_version_silence 2023-03-27 15:32:25 +08:00
YuQing 0328b32766 sf_file_writer_get_last_version support log_level 2023-03-14 09:48:22 +08:00
YuQing 404f374397 remove useless field: tag 2023-03-12 11:29:56 +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 077154f75f add macro func sf_log_network_error_for_delete_ex 2023-03-02 11:25:53 +08:00
YuQing 8bedbb6f27 code simplification for last commit 2023-02-23 10:51:46 +08:00
YuQing 92fbcab0f4 bugfixed: fastdfs issue #620
set notify.stage to SF_NIO_STAGE_NONE before deal_notified_task
2023-02-23 10:30:40 +08:00
YuQing a9ebe20b5b upgrade version to 1.1.25 2023-02-15 21:04:04 +08:00
YuQing 13990e3747 code simplification for epoll edge trigger 2023-02-12 20:04:01 +08:00
YuQing 294ad5e636 use field notify_next for notify queue of nio thread 2023-02-12 19:47:31 +08:00
YuQing 7f758fd293 init epoll_edge_trigger to false 2023-02-12 12:20:06 +08:00
YuQing c1ae024da5 enable epoll edge trigger by global variable epoll_edge_trigger 2023-02-12 10:38:46 +08:00
YuQing 91f0564158 change log level to debug for hash entry reclaim 2023-01-13 14:25:30 +08:00
YuQing 69f117c956 check socket connected on unexpected stage 2022-12-30 17:23:18 +08:00
YuQing ca3f14df6e get_leader_connection: failover on multi ip addresses 2022-12-23 09:35:01 +08:00
YuQing a6c8c65371 log address count when make_connection fail 2022-12-22 16:04:32 +08:00
YuQing 3ccec6eb36 add function sf_load_data_path_config_ex 2022-12-21 15:45:03 +08:00
YuQing f3afc0af6e show patch part of version info anyway 2022-11-25 16:04:13 +08:00
YuQing 3578c0f0af Makefile.in: force symlink library 2022-11-13 17:16:39 +08:00
YuQing 5ca1f6dda6 use newest function normalize_path from libfastcommon 2022-11-07 08:30:49 +08:00
YuQing 3191d01e38 convert errnos: ENOLINK, ENOTEMPTY and ELOOP 2022-11-03 11:11:49 +08:00
YuQing 0b89c09371 SFProtoGetServerStatusReq add field: auth_enabled 2022-10-25 09:24:55 +08:00
YuQing 5522165e5c add macro SF_PROTO_CLIENT_SET_REQ_EX 2022-10-24 20:46:53 +08:00
YuQing 3b5d580b36 set last_versions.done after write 2022-09-30 15:37:05 +08:00
YuQing d4676e9d71 sf_binlog_writer.[hc]: support passive write 2022-09-29 11:44:02 +08:00
YuQing 4a30dfe844 add macro: sf_log_network_error_for_update_ex 2022-09-22 08:40:03 +08:00
YuQing 4f3cde053c auto create base_path when it not exist 2022-09-21 11:37:51 +08:00
YuQing 45531cf0c8 output refine for receipt_recv_timeout_callback 2022-09-20 20:39:55 +08:00
YuQing b7b346ea7f sf_load_global_config_ex add params: max_pkg_size_item_name and need_set_run_by 2022-09-14 10:40:44 +08:00
YuQing cf4856e04b support send_done_callback for FastDFS 2022-09-14 10:38:38 +08:00
YuQing 5ee8ce8fe7 correct macro function sf_service_init 2022-09-03 10:03:09 +08:00
YuQing a0f16319e0 struct sf_shared_mbuffer: Must move buff to last 2022-08-30 11:07:31 +08:00
YuQing 8b22655352 add function sf_release_task_shared_mbuffer 2022-08-28 17:25:50 +08:00
YuQing c27cb2a9af add files: sf_shared_mbuffer.[hc] 2022-08-27 21:39:31 +08:00
YuQing 2ebb51dcfd support alloc_recv_buffer callback 2022-08-25 18:22:16 +08:00
YuQing 3257a5f842 function sf_get_base_path_from_conf_file impl. 2022-08-20 09:59:36 +08:00
YuQing dc9267188d replication quorum support smart mode 2022-08-02 16:22:54 +08:00
YuQing 2d01d91b87 sf_connection_manager.c log module name 2022-07-29 16:40:41 +08:00
YuQing 94ee91d37d bugfixed: sf_file_writer_get_last_lines deal correctly when cross files 2022-07-21 18:34:11 +08:00
YuQing 5da65a172c request_metadata.c: check data_version > 0 for performance 2022-07-08 11:23:32 +08:00
YuQing 803d3cb626 IdempotencyRequestMetadata add field n for integer argument 2022-07-05 19:25:55 +08:00
YuQing a966d1bf4d sf_synchronize_finished_notify_no_lock impl. 2022-07-05 09:01:37 +08:00
YuQing 7cfb8dc89d add functions sf_synchronize_finished_notify/wait 2022-07-04 11:01:24 +08:00
YuQing d95e3ed679 remove debug info 2022-06-30 17:59:44 +08:00
YuQing f63ede788e generate seq_id only once per RPC 2022-06-29 15:02:38 +08:00
YuQing 990ef2d173 request_metadata.[hc] v2 impl. 2022-06-27 22:17:17 +08:00
YuQing 92613c765f request_metadata.[hc] first verson finished 2022-06-27 17:17:57 +08:00
YuQing b364a875c2 add files idempotency/server/request_metadata.[hc] 2022-06-27 11:30:01 +08:00
YuQing c6300318c8 use macro FC_SET_CLOEXEC from libfastcommon 2022-06-25 11:24:59 +08:00
YuQing dfc58be3ec add func sf_nio_add_to_deleted_list 2022-06-25 09:21:02 +08:00
YuQing 8824c35975 open file with flag O_CLOEXEC 2022-06-24 18:56:28 +08:00
YuQing 56ccde45ba idempotency seq_id includes server id and channel id for global unique 2022-06-24 10:37:10 +08:00
YuQing 7f7ba8d835 support set next version when order_mode is VARY 2022-06-24 07:46:04 +08:00
YuQing 22ffe6841d change default values of log_file_rotate_everyday and log_file_keep_days 2022-06-18 18:19:35 +08:00
YuQing 6dd3bfbb22 sf_replication_quorum_check changed 2022-06-17 11:24:31 +08:00