Commit Graph

32 Commits (89a39e85d3b4facb698a46b72441101d829484fe)

Author SHA1 Message Date
YuQing 89a39e85d3 add macro SF_CLUSTER_ERROR_BINLOG_MISSED 2022-05-17 14:58:15 +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 c841d6c1b0 change default values 2021-05-23 21:36:43 +08:00
YuQing 0d79aaf870 add macro SF_SESSION_ERROR_NOT_EXIST 2021-04-20 10:15:56 +08:00
YuQing ae600238bc add ENODATA convert 2021-03-05 11:25:21 +08:00
YuQing 87b2e19766 add macro SF_CLUSTER_ERROR_LEADER_VERSION_INCONSISTENT 2021-01-25 16:21:18 +08:00
YuQing 8040af4743 add macro SF_IS_SERVER_RETRIABLE_ERROR 2021-01-19 17:00:50 +08:00
YuQing 6bea6c93a9 add error code SF_ERROR_EOPNOTSUPP 2021-01-19 09:46:28 +08:00
YuQing 077c29e2b6 convert errno EBUSY 2021-01-12 17:58:19 +08:00
YuQing 20b0cee201 correct RETRIABLE and FORCE_CLOSE errno 2021-01-08 16:06:21 +08:00
YuQing c0128c0f15 unify errno for crossing platform 2021-01-07 12:20:40 +08:00
YuQing 9f7af9b35d use iniGetByteCorrectValueEx to get byte value 2020-12-03 10:30:17 +08:00
YuQing e0bba18a02 use atomic operation to avoid reentrance 2020-10-21 09:32:49 +08:00
YuQing 5c6cff1ea3 check and correct thread_stack_size 2020-10-20 20:40:55 +08:00
YuQing 1854683ddd nio stage change to 2 fields: current and notify 2020-10-19 16:39:43 +08:00
YuQing 38df5d412c add AGPLv3 license and copyright 2020-10-14 10:33:41 +08:00
YuQing a2b33ecfd8 add macros 2020-09-26 11:17:11 +08:00
YuQing 19b863aceb add macro SF_CLIENT_IDEMPOTENCY_QUERY_WRAPPER 2020-09-19 14:28:09 +08:00
YuQing cf9999b0b1 add macro SF_FORCE_CLOSE_CONNECTION_ERROR 2020-09-15 10:19:27 +08:00
YuQing 02b345deb9 set IOEVENT_READ | IOEVENT_WRITE events for connect status check 2020-09-14 15:14:25 +08:00
YuQing 17d3af8fd5 fixed sf_load_read_rule_config 2020-09-13 21:10:29 +08:00
YuQing cabb6a897c add macro SF_NET_RETRY_CHECK_AND_SLEEP 2020-09-12 15:42:22 +08:00
YuQing f18626b229 net retry struct adjust 2020-09-11 22:55:27 +08:00
YuQing b60912bfd6 task nio_stage use atomic opt. 2020-09-09 14:46:58 +08:00
YuQing 9bee7ad62b add SF_NIO_STAGE_HANDSHAKE after connect 2020-09-07 21:46:07 +08:00
YuQing aaeb421e6d support connect for client mode 2020-09-06 18:55:10 +08:00
YuQing de6def01e4 support multi instance 2020-03-06 22:04:34 +08:00
YuQing 5d3d0cafa6 support task nio_stage 2020-02-09 17:19:29 +08:00
yuqing de94afb9db put global variables into a struct 2018-05-10 15:00:45 +08:00
yuqing 6b69e90016 add codes 2018-05-10 11:05:08 +08:00