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 |
YuQing
|
e8e6cfc64a
|
add replication quorum type and functions
|
2022-06-16 16:01:01 +08:00 |
YuQing
|
1d1d4c9f00
|
sf_file_writer_get_binlog_indexes ignore file not exist
|
2022-06-03 15:32:07 +08:00 |
YuQing
|
bcd1120617
|
sf_file_writer support specifying file prefix
|
2022-05-31 21:19:15 +08:00 |
YuQing
|
39e5dd419e
|
custom define binlog rotate file size
|
2022-05-30 11:24:05 +08:00 |
YuQing
|
464573f9ff
|
sf_file_writer_set_indexes impl.
|
2022-05-26 20:14:00 +08:00 |
YuQing
|
f490366c03
|
sf_binlog_writer_change_write_index impl.
|
2022-05-19 18:14:33 +08:00 |
YuQing
|
353dde7059
|
add macro SF_ERROR_EINPROGRESS
|
2022-05-18 10:39:23 +08:00 |
YuQing
|
89a39e85d3
|
add macro SF_CLUSTER_ERROR_BINLOG_MISSED
|
2022-05-17 14:58:15 +08:00 |
YuQing
|
c717646593
|
sf_file_writer_get_indexes impl.
|
2022-05-14 16:27:09 +08:00 |
YuQing
|
c611b9b30c
|
sf_file_writer.[hc] support start_index
|
2022-05-14 14:21:05 +08:00 |
YuQing
|
077a68a974
|
add two macros for vote node
|
2022-05-09 16:20:21 +08:00 |
YuQing
|
09839f9bf4
|
log service_name field when connect or communicate error
|
2022-05-08 10:44:55 +08:00 |
YuQing
|
00faf7e637
|
add function sf_load_cluster_config1
|
2022-05-06 15:12:19 +08:00 |
YuQing
|
07bbf65847
|
sf_proto_get_server_status_pack use struct
|
2022-05-06 09:48:49 +08:00 |
YuQing
|
b38bf00a28
|
proto get_server_status remove field service_id
|
2022-04-30 10:20:30 +08:00 |
YuQing
|
7f92190c87
|
add SF_CLUSTER_PROTO_GET_SERVER_STATUS_REQ/RESP
|
2022-04-29 14:37:59 +08:00 |
YuQing
|
3734e68e0b
|
sf_binlog_writer_finish check thread running
|
2022-04-24 10:57:19 +08:00 |
YuQing
|
78e321f4ad
|
election quorum support sf_election_quorum_auto
|
2022-04-21 11:29:43 +08:00 |
YuQing
|
613c31fcf3
|
sf_binlog_writer_change_order_by check if versioned writer
|
2022-04-18 08:59:07 +08:00 |
YuQing
|
952647cbc9
|
order_by feature belongs to writer instead of thread
|
2022-04-17 18:18:18 +08:00 |
YuQing
|
a57709de93
|
sf_connection_manager.c: make_master_connection refined
|
2022-04-15 16:58:42 +08:00 |
YuQing
|
7259eaf6ac
|
log retry count when get connection fail
|
2022-04-11 10:24:21 +08:00 |
YuQing
|
de943f684a
|
add function sf_load_quorum_config
|
2022-03-30 21:22:34 +08:00 |
YuQing
|
b4aaf69962
|
sf_buffered_writer.h: compile OK.
|
2022-03-25 15:30:14 +08:00 |
YuQing
|
68d41aa690
|
rename to sf_file_writer_deal_versioned_buffer
|
2022-03-22 08:23:03 +08:00 |
YuQing
|
1a03fec1f6
|
add function sf_file_writer_get_binlog_index
|
2022-03-19 16:36:11 +08:00 |
YuQing
|
a727f382bc
|
add function: sf_binlog_writer_notify_exit
|
2022-03-18 16:48:26 +08:00 |
YuQing
|
a265bbbbea
|
add function sf_binlog_writer_destroy
|
2022-03-17 20:52:41 +08:00 |
YuQing
|
e061a3dfad
|
add file src/sf_buffered_writer.h
|
2022-03-16 11:48:00 +08:00 |
YuQing
|
d129c6151e
|
add function sf_binlog_writer_get_index_filename
|
2022-03-08 17:13:29 +08:00 |
YuQing
|
8de3678e86
|
sf_load_global_config_ex: server_name can be NULL
|
2022-03-03 10:00:29 +08:00 |
YuQing
|
6549172c67
|
support function sf_sharding_htable_delete
|
2022-02-27 15:57:32 +08:00 |
YuQing
|
3e4ddce4a2
|
add function sf_load_global_base_path
|
2022-02-26 10:05:25 +08:00 |
YuQing
|
1ba160b6d7
|
change log level to debug
|
2022-02-25 09:45:40 +08:00 |
YuQing
|
9159d9c24b
|
simple_hash rename to fc_simple_hash
|
2022-02-09 22:39:40 +08:00 |
YuQing
|
2d177ab262
|
sf_iov.[hc] add function sf_iova_memcpy_ex
|
2022-02-14 10:26:25 +08:00 |
YuQing
|
52e34ca393
|
sf_iova_memset_ex: add const modifier
|
2022-02-04 15:51:08 +08:00 |
YuQing
|
fa9e00f3b8
|
sf_iova_memset_ex for iov and iovcnt
|
2022-02-04 15:37:59 +08:00 |
YuQing
|
5796655ce0
|
sf_iova_memset impl.
|
2022-02-04 15:22:11 +08:00 |
YuQing
|
23ff87dea0
|
iova_slice error detect
|
2022-02-04 10:59:00 +08:00 |
YuQing
|
a46945b6cd
|
add files: sf_iov.[hc]
|
2022-02-03 22:30:19 +08:00 |
YuQing
|
16f5b42b95
|
sf_synchronize_counter_wait: check SF_G_CONTINUE_FLAG
|
2022-01-12 07:05:27 +08:00 |
YuQing
|
15fc77703a
|
function sf_serializer_read_message changed
|
2021-11-18 11:19:32 +08:00 |
YuQing
|
320f344b3e
|
sf_serializer.[hc]: support id_name_array
|
2021-11-16 10:08:40 +08:00 |
YuQing
|
97b64c67fb
|
sf_synchronize_counter_xxx use mutex lock all
|
2021-11-08 11:06:30 +08:00 |
YuQing
|
f4bfe9ad25
|
move/set void pointer correctly
|
2021-11-04 20:51:33 +08:00 |
YuQing
|
255754eb5f
|
add function sf_synchronize_counter_notify
|
2021-10-28 16:19:02 +08:00 |
YuQing
|
b9b466c364
|
set last_versions.done when binlog_writer_set_next_version
|
2021-10-17 21:51:28 +08:00 |
YuQing
|
cccb1c6d23
|
add function sf_synchronize_counter_wait
|
2021-10-12 10:54:30 +08:00 |
YuQing
|
0eb483f68c
|
add function sf_serializer_pack_buffer
|
2021-10-09 10:20:31 +08:00 |
YuQing
|
1901189515
|
add struct SFSynchronizeContext
|
2021-10-05 20:03:05 +08:00 |
YuQing
|
e35a3ca104
|
sf_serializer.[hc]: support string array
|
2021-10-01 09:13:46 +08:00 |
YuQing
|
fd9d59dbd2
|
add function sf_binlog_index_expand_array
|
2021-09-27 17:43:56 +08:00 |
YuQing
|
ae832465a1
|
sf_ordered_writer.[hc] impl
|
2021-09-22 10:53:38 +08:00 |
YuQing
|
d2b828bd7a
|
add files: sf_ordered_writer.[hc]
|
2021-09-21 17:07:11 +08:00 |
YuQing
|
fb7ffa0b1d
|
sf_binlog_writer removes global variable: g_sf_binlog_data_path
|
2021-09-21 09:26:10 +08:00 |
YuQing
|
db858fc048
|
sf_binlog_writer uses sf_file_writer
|
2021-09-20 21:30:24 +08:00 |
YuQing
|
66fe9767f7
|
add files: sf_file_writer.[hc]
|
2021-09-20 20:55:23 +08:00 |
YuQing
|
8a1f905b2a
|
rename function sf_serializer_read to sf_serializer_read_message
|
2021-09-20 10:42:47 +08:00 |
YuQing
|
8344c8309f
|
sf_serializer.[hc] add function sf_serializer_read
|
2021-09-17 09:30:15 +08:00 |
YuQing
|
edf9d58909
|
add function sf_serializer_pack_integer
|
2021-09-07 08:21:50 +08:00 |
YuQing
|
d79310674e
|
rename sf_serialize.[hc] to sf_serializer.[hc]
|
2021-09-06 10:18:05 +08:00 |
YuQing
|
88a0f0a267
|
add function sf_binlog_writer_get_last_version
|
2021-09-01 21:13:57 +08:00 |
YuQing
|
024c148700
|
add files: sf_binlog_index.[hc]
|
2021-08-21 16:12:03 +08:00 |
YuQing
|
cc5f215a3a
|
sf_serialize_next return array and map correctly
|
2021-08-20 17:36:20 +08:00 |
YuQing
|
62c874bc4f
|
sf_serialize_unpack array and map impl
|
2021-08-20 11:06:12 +08:00 |
YuQing
|
c529c5ab8c
|
sf_serialize_unpack integer and string impl
|
2021-08-19 21:05:42 +08:00 |
YuQing
|
186d41fafe
|
add files: sf_serialize.[hc]
|
2021-08-19 16:49:07 +08:00 |
YuQing
|
2d71c389f6
|
fast_mblock_init_ex1: unify obj name
|
2021-07-20 20:27:02 +08:00 |
YuQing
|
10ce86d879
|
add macro: SF_CLUSTER_ERROR_NOT_LEADER
|
2021-07-05 16:07:11 +08:00 |
YuQing
|
77b3938a80
|
change default network timeout from 30 to 10
|
2021-07-04 18:26:44 +08:00 |
YuQing
|
837e35ccc8
|
change default connect timeout from 10 to 2
|
2021-07-04 18:21:32 +08:00 |
YuQing
|
65876c51d7
|
section names use minus(-) such as error-log and slow-log
|
2021-07-04 10:11:45 +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
|
a42f9c6376
|
sf_usage_ex add action: status
|
2021-06-26 11:02:01 +08:00 |
YuQing
|
c960975d65
|
sf_sharding_htable.c: correct function name
|
2021-06-17 15:58:52 +08:00 |
YuQing
|
4480a4a39c
|
sf_sharding_htable.[hc]: use ms instead of second
|
2021-06-15 10:23:48 +08:00 |
YuQing
|
5e1444ef71
|
upgrade version to V1.1.9
|
2021-06-10 17:27:42 +08:00 |
YuQing
|
b8f7a86060
|
avoid writev iovcnt overflow
|
2021-06-08 15:40:49 +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
|
f72295e103
|
use fc_queue_try_pop_to_queue from libfastcommon
|
2021-06-01 17:09:57 +08:00 |
YuQing
|
c1f6fb797b
|
change macro SF_G_BASE_PATH to SF_G_BASE_PATH_STR
|
2021-05-27 07:58:26 +08:00 |
YuQing
|
5befb9d616
|
add function sf_set_global_base_path
|
2021-05-25 18:48:33 +08:00 |
YuQing
|
561b7c8d7c
|
upgrade version to V1.1.8
|
2021-05-25 18:32:08 +08:00 |
YuQing
|
02eaad6a89
|
check required argument
|
2021-05-20 16:49:53 +08:00 |
YuQing
|
af7b8010f8
|
correct type from bool to int :(
|
2021-05-24 21:11:56 +08:00 |
YuQing
|
c701e4b1c3
|
correct macro define: sf_parse_daemon_mode_and_action
|
2021-05-24 20:53:33 +08:00 |
YuQing
|
667fd14abb
|
parse cmd options strictly
|
2021-05-24 20:33:56 +08:00 |
YuQing
|
d5fb83a140
|
change -n to -N for option --no-daemon
|
2021-05-24 14:40:06 +08:00 |