YuQing
|
1c796ab819
|
sf_file_writer_init add parameter: max_record_size
|
2024-02-29 11:58:05 +08:00 |
YuQing
|
7f6ad6dcba
|
sf_load_context_from_config_ex support max_pkg_size_min_value
|
2024-02-26 16:17:41 +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
|
e20a2c04c2
|
set header flags in sf_proto_init_task_context
|
2024-01-29 11:08:16 +08:00 |
YuQing
|
c2e7b6e711
|
add function sf_set_address_family_by_ip
|
2023-12-05 08:16:54 +08:00 |
YuQing
|
a969a0df07
|
support address family IPv4, IPv6 and both
|
2023-11-29 18:52:02 +08:00 |
YuQing
|
5618afabbb
|
code adjust for pull request #6
|
2023-11-23 16:16:00 +08:00 |
YuQing
|
951d010512
|
Merge branch 'master' into master
|
2023-11-23 15:58:26 +08:00 |
YuQing
|
413f6eef76
|
add function sf_global_init
|
2023-11-21 15:54:24 +08:00 |
YuQing
|
a9f4447686
|
log more info for sf_proto_set_body_length
|
2023-11-16 10:42:24 +08:00 |
YuQing
|
cf9088fb0c
|
use task->pending_send_count to prevent re-entry
|
2023-11-06 10:54:50 +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
|
89a451b8ce
|
call set_read_event in func sf_nio_deal_task
|
2023-10-25 10:02:47 +08:00 |
YuQing
|
db00a7add8
|
set task recv offset and length correctly
|
2023-10-24 21:22:56 +08:00 |
YuQing
|
c3f7254838
|
add inited variable for run_by struct
|
2023-10-18 17:20:14 +08:00 |
YuQing
|
7f6e7b12b4
|
remove useless variable: length
|
2023-09-29 15:01:23 +08:00 |
YuQing
|
71e7066c81
|
invoke send done callback correctly
|
2023-09-29 14:59:58 +08:00 |
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 |