2018-12-06 15:50:13 +08:00
|
|
|
%define release_id 36
|
2018-03-07 11:36:32 +08:00
|
|
|
|
2017-06-06 19:16:58 +08:00
|
|
|
Summary: The powerful c/c++ library and server framework
|
|
|
|
Name: acl-libs
|
2018-05-07 14:59:52 +08:00
|
|
|
Version: 3.4.1
|
2018-03-07 11:36:32 +08:00
|
|
|
Release: %{release_id}
|
2017-06-06 19:16:58 +08:00
|
|
|
Group: System/Libs
|
|
|
|
License: IBM
|
2018-04-12 21:40:19 +08:00
|
|
|
URL: https://github.com/acl-dev/
|
2018-02-24 18:07:53 +08:00
|
|
|
Packager: Zhang Qiang <qiangzhang@qiyi.com>, Wang Haibin <wanghaibin@qiyi.com>
|
2018-03-15 15:00:08 +08:00
|
|
|
#Source2: acl-master.json
|
|
|
|
#Source3: acl-tools.json
|
2017-06-06 19:16:58 +08:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Source: http://example.com/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
One advanced C/C++ library for Linux/Mac/FreeBSD/Solaris(x86)/Windows/Android/IOS http://zsxxsz.iteye.com/.
|
|
|
|
|
|
|
|
%package -n acl-master
|
2018-02-24 17:46:09 +08:00
|
|
|
Summary: acl master framework
|
2018-03-07 11:36:32 +08:00
|
|
|
Release: %{release_id}
|
2017-06-06 19:16:58 +08:00
|
|
|
License: IBM
|
2018-02-24 18:07:53 +08:00
|
|
|
Group: System Environment/Tools
|
|
|
|
Requires(post): /sbin/ldconfig
|
2017-06-06 19:16:58 +08:00
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
|
|
|
%description -n acl-master
|
|
|
|
acl master framework
|
|
|
|
|
2018-02-24 17:46:09 +08:00
|
|
|
%package -n acl-tools
|
|
|
|
Summary: acl tools
|
2018-03-07 11:36:32 +08:00
|
|
|
Release: %{release_id}
|
2018-02-24 17:46:09 +08:00
|
|
|
License: IBM
|
2018-02-24 18:17:12 +08:00
|
|
|
Group: System Environment/Tools
|
2018-02-24 17:46:09 +08:00
|
|
|
Requires: acl-master
|
|
|
|
|
|
|
|
%description -n acl-tools
|
|
|
|
acl tools
|
2017-06-06 19:16:58 +08:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
2018-02-26 11:49:55 +08:00
|
|
|
make build_one -j 4
|
2017-07-26 15:15:30 +08:00
|
|
|
make -C lib_fiber
|
2017-06-06 19:16:58 +08:00
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
make packinstall DESTDIR=$RPM_BUILD_ROOT
|
2017-07-26 15:15:30 +08:00
|
|
|
make -C lib_fiber packinstall DESTDIR=$RPM_BUILD_ROOT
|
2018-02-12 15:56:10 +08:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/opt/soft/services/
|
|
|
|
|
2018-03-15 15:38:50 +08:00
|
|
|
#install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/opt/soft/services/
|
|
|
|
#install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/opt/soft/services/
|
2018-02-12 15:56:10 +08:00
|
|
|
|
2017-06-06 19:16:58 +08:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2017-06-08 10:24:23 +08:00
|
|
|
|
|
|
|
%post -n acl-master
|
|
|
|
/sbin/chkconfig --add master
|
2018-02-26 11:41:39 +08:00
|
|
|
if [ "$1" == "1" ]; then
|
|
|
|
echo "starting acl_master ..."
|
|
|
|
service master start > /dev/null 2>&1 ||:
|
|
|
|
fi
|
2017-06-08 10:24:23 +08:00
|
|
|
|
|
|
|
%preun -n acl-master
|
2018-02-26 11:41:39 +08:00
|
|
|
if [ "$1" == "0" ]; then
|
2017-06-08 10:24:23 +08:00
|
|
|
service master stop >/dev/null 2>&1 ||:
|
|
|
|
/sbin/chkconfig --del master
|
2018-02-22 13:35:26 +08:00
|
|
|
fi
|
2017-06-08 10:24:23 +08:00
|
|
|
|
|
|
|
%postun -n acl-master
|
2018-02-22 13:35:26 +08:00
|
|
|
if [ "$1" -ge "1" ]; then
|
2017-06-08 10:24:23 +08:00
|
|
|
# TODO: upgrade should be support
|
2018-02-22 14:00:35 +08:00
|
|
|
echo "prepare restarting acl_master ..."
|
2017-06-08 10:24:23 +08:00
|
|
|
service master masterrestart > /dev/null 2>&1 ||:
|
2018-02-22 13:35:26 +08:00
|
|
|
fi
|
2017-06-08 10:24:23 +08:00
|
|
|
|
2018-02-26 11:41:39 +08:00
|
|
|
%post -n acl-tools
|
|
|
|
if [ "$1" == "1" ]; then
|
|
|
|
/opt/soft/acl-master/sh/tools-ctl start
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun -n acl-tools
|
|
|
|
if [ "$1" == "0" ]; then
|
|
|
|
/opt/soft/acl-master/sh/tools-ctl stop
|
|
|
|
fi
|
|
|
|
|
2018-02-27 11:28:37 +08:00
|
|
|
#%postun -n acl-tools
|
|
|
|
#if [ "$1" -ge "1" ]; then
|
|
|
|
# /opt/soft/acl-master/sh/tools-ctl restart
|
|
|
|
#fi
|
2017-06-08 10:24:23 +08:00
|
|
|
|
2017-06-06 19:16:58 +08:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# TODO: should be renamed
|
|
|
|
%{_bindir}/acl_master
|
|
|
|
%{_includedir}/acl-lib/acl
|
|
|
|
%{_includedir}/acl-lib/acl_cpp
|
2017-07-26 15:15:30 +08:00
|
|
|
%{_includedir}/acl-lib/fiber
|
2017-08-09 13:29:57 +08:00
|
|
|
%{_includedir}/acl-lib/protocol
|
2017-06-06 19:16:58 +08:00
|
|
|
/usr/lib/libacl_all.a
|
2017-07-26 15:15:30 +08:00
|
|
|
/usr/lib/libfiber.a
|
|
|
|
/usr/lib/libfiber_cpp.a
|
2017-06-06 19:16:58 +08:00
|
|
|
|
|
|
|
%files -n acl-master
|
|
|
|
%defattr(-,root,root)
|
2018-02-24 17:46:09 +08:00
|
|
|
/opt/soft/acl-master/conf/main.cf
|
|
|
|
/opt/soft/acl-master/conf/service/samples
|
|
|
|
/opt/soft/acl-master/libexec/acl_master
|
|
|
|
/opt/soft/acl-master/sbin
|
2018-02-27 14:15:44 +08:00
|
|
|
# just including master.sh reload.sh start.sh stop.sh
|
|
|
|
/opt/soft/acl-master/sh/master.sh
|
|
|
|
/opt/soft/acl-master/sh/reload.sh
|
|
|
|
/opt/soft/acl-master/sh/start.sh
|
|
|
|
/opt/soft/acl-master/sh/stop.sh
|
2018-02-24 17:46:09 +08:00
|
|
|
/opt/soft/acl-master/var
|
2018-03-15 15:03:03 +08:00
|
|
|
#/opt/soft/services/acl-master.json
|
2017-06-08 10:24:23 +08:00
|
|
|
/etc/init.d/master
|
2018-02-24 17:46:09 +08:00
|
|
|
%exclude /opt/soft/acl-master/conf/service/master_*
|
|
|
|
|
|
|
|
%files -n acl-tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/opt/soft/acl-master/bin/master_ctl
|
2018-02-27 14:15:44 +08:00
|
|
|
/opt/soft/acl-master/sh/tools-ctl
|
2018-02-24 17:46:09 +08:00
|
|
|
/opt/soft/acl-master/conf/service/master_*
|
|
|
|
/opt/soft/acl-master/libexec/master_*
|
2018-03-15 15:04:57 +08:00
|
|
|
#/opt/soft/services/acl-tools.json
|
2017-09-19 13:57:58 +08:00
|
|
|
|
|
|
|
%changelog
|
2018-01-25 11:43:07 +08:00
|
|
|
|
2018-12-06 15:51:53 +08:00
|
|
|
* Thu Dec 06 2018 zhengshuxin@qiyi.com 3.4.1-36-20181206.15
|
2018-12-06 15:50:13 +08:00
|
|
|
- acl_threads_server.c: fixed one crashed bug in client_wakeup
|
|
|
|
- fiber_tbox.hpp: make push more safety
|
|
|
|
|
2018-11-29 22:44:16 +08:00
|
|
|
* Thu Nov 29 2018 zhengshuxin@qiyi.com 3.4.1-35-20181129.22
|
|
|
|
- fiber_event.c: fixed one bug in acl_fiber_event_notify.
|
|
|
|
|
2018-11-29 11:28:48 +08:00
|
|
|
* Thu Nov 29 2018 zhengshuxin@qiyi.com 3.4.1-34-20181129.11
|
|
|
|
- fbase_event.c: restart IO when IO process is interrupted by EINTR
|
|
|
|
|
2018-11-28 16:10:18 +08:00
|
|
|
* Wed Nov 28 2018 zhengshuxin@qiyi.com 3.4.1-33-20181128.16
|
|
|
|
- acl_udp_server.c: fixed one bug in server_binding() when binding failed
|
|
|
|
- lib_fiber: add fiber_cond.c
|
|
|
|
|
2018-11-28 09:47:04 +08:00
|
|
|
* Wed Nov 28 2018 zhengshuxin@qiyi.com 3.4.1-32-20181128.09
|
|
|
|
- lib_fiber/c/src/fiber_event.c: fixed one bug for lock conlision
|
|
|
|
|
2018-11-27 14:51:11 +08:00
|
|
|
* Tue Nov 27 2018 zhengshuxin@qiyi.com 3.4.1-31-20181127.14
|
|
|
|
- lib_fiber/c/src/fiber_event.c: fixed one bug
|
|
|
|
|
2018-11-15 18:17:26 +08:00
|
|
|
* Thu Nov 15 2018 zhengshuxin@qiyi.com 3.4.1-30-20181115.15
|
2018-11-15 17:16:35 +08:00
|
|
|
- acl_master: add log info for remote control commands
|
|
|
|
|
2018-10-23 22:35:02 +08:00
|
|
|
* Tue Oct 23 2018 zhengshuxin@qiyi.com 3.4.1-29-20181023.22
|
|
|
|
- bugfix: acl_udp_server.c can't bind multiple addrs
|
|
|
|
- feature: disable core when process exiting
|
|
|
|
- feature: core file size can be configured
|
|
|
|
|
2018-10-17 17:21:18 +08:00
|
|
|
* Thu Oct 17 2018 zhengshuxin@qiyi.com 3.4.1-28-20181017.17
|
|
|
|
- bugfix: acl_master can't support UDP service on Centos whose version is below 7.x
|
|
|
|
|
2018-10-11 11:02:30 +08:00
|
|
|
* Thu Oct 11 2018 zhengshuxin@qiyi.com 3.4.1-27-20181011.11
|
|
|
|
- release 3.4.1-27
|
|
|
|
|
2018-09-28 17:52:18 +08:00
|
|
|
* Fri Sep 28 2018 zhengshuxin@qiyi.com 3.4.1-26-20180928.17
|
|
|
|
- bugfix: acl_inet_connect_ex of acl_inet_connect.c should support domain:port format
|
|
|
|
|
2018-09-22 13:46:11 +08:00
|
|
|
* Sat Sep 22 2018 zhengshuxin@qiyi.com 3.4.1-25-20180922.13
|
2018-09-22 10:52:58 +08:00
|
|
|
- feature: The elements will be removed according LRU in acl_cache2.c
|
|
|
|
- feature: add flag to control is using SO_REUSEADDR when binding local addr
|
2018-09-22 13:46:11 +08:00
|
|
|
- bugfix: fixed one bug in acl_cache2_update of acl_cache2.c
|
2018-09-22 10:52:58 +08:00
|
|
|
|
2018-09-20 10:11:38 +08:00
|
|
|
* Thu Sep 20 2018 zhengshuxin@qiyi.com 3.4.1-24-20180920.09
|
|
|
|
- bugfix: fixed bugs in lib_fiber for IPV6 supporting
|
|
|
|
|
2018-09-19 15:52:59 +08:00
|
|
|
* Wed Sep 19 2018 zhengshuxin@qiyi.com 3.4.1-23-20180919.15
|
|
|
|
- bugfix: acl_ifconf_search in acl_ifconf.c can't handle some addrs patterns
|
|
|
|
|
2018-09-17 18:44:27 +08:00
|
|
|
* Sun Sep 16 2018 zhengshuxin@qiyi.com 3.4.1-22-20180916.18
|
|
|
|
- bugfix: acl_ifconf.c and some modules can't justify some UNIX path that
|
|
|
|
acl_master can't handle UNIX path like "master.sock" which hasn't '/' in it.
|
|
|
|
|
2018-09-16 21:49:58 +08:00
|
|
|
* Sun Sep 16 2018 zhengshuxin@qiyi.com 3.4.1-21-20180916.21
|
|
|
|
- feature: support IPV6 OK!
|
|
|
|
|
2018-09-08 21:58:27 +08:00
|
|
|
* Sat Sep 06 2018 zhengshuxin@qiyi.com 3.4.1-20-20180908.21
|
|
|
|
- fixed bugs in acl::string::begin_with API
|
|
|
|
|
2018-09-08 13:58:49 +08:00
|
|
|
* Sat Sep 06 2018 zhengshuxin@qiyi.com 3.4.1-19-20180908.13
|
|
|
|
- fixed bugs in acl::string::begin_with API
|
|
|
|
|
2018-09-06 19:07:17 +08:00
|
|
|
* Thu Sep 06 2018 zhengshuxin@qiyi.com 3.4.1-18-20180906.19
|
|
|
|
- release 3.4.1-18, prepare for adding IPV6 feature.
|
|
|
|
|
2018-08-20 11:07:20 +08:00
|
|
|
* Mon Aug 20 2018 zhengshuxin@qiyi.com 3.4.1-17-20180820.11
|
|
|
|
- there's some comments error in token_tree
|
|
|
|
|
2018-08-20 10:31:12 +08:00
|
|
|
* Mon Aug 20 2018 zhengshuxin@qiyi.com 3.4.1-16-20180820.10
|
|
|
|
- fixed one bug in token_tree's destructor
|
|
|
|
|
2018-08-19 15:55:54 +08:00
|
|
|
* Sun Aug 19 2018 zhengshuxin@qiyi.com 3.4.1-15-20180819.15
|
|
|
|
- lib_acl_cpp: add token_tree class
|
|
|
|
|
2018-08-07 10:58:00 +08:00
|
|
|
* Tue Aug 07 2018 zhengshuxin@qiyi.com 3.4.1-14-20180807.10
|
|
|
|
- optimize the storage size of ACL_VSTRING, ACL_VBUF and ACL_JSON_NODE
|
|
|
|
|
2018-08-03 11:04:36 +08:00
|
|
|
* Fri Aug 03 2018 zhengshuxin@qiyi.com 3.4.1-13-20180803.11
|
|
|
|
- bugfix: json parse should not ignore string value begin with space
|
|
|
|
|
2018-08-02 23:00:22 +08:00
|
|
|
* Thu Aug 02 2018 zhengshuxin@qiyi.com 3.4.1-12-20180802.22
|
|
|
|
- bugfix: json parser can't handle empty array object
|
|
|
|
|
2018-07-27 16:27:20 +08:00
|
|
|
* Fri Jul 27 2018 zhengshuxin@qiyi.com 3.4.1-11-20180727.16
|
|
|
|
- tbox: fixed one bug
|
|
|
|
|
2018-07-27 13:26:07 +08:00
|
|
|
* Fri Jul 27 2018 zhengshuxin@qiyi.com 3.4.1-10-20180727.13
|
|
|
|
- tbox: support transfering NULL message
|
|
|
|
|
2018-07-05 14:23:45 +08:00
|
|
|
* Thu Jul 05 2018 zhengshuxin@qiyi.com 3.4.1-9-20180705.14
|
|
|
|
- acl::fstream: add filelock methods
|
|
|
|
|
2018-06-28 21:04:54 +08:00
|
|
|
* Thu Jun 28 2018 zhengshuxin@qiyi.com 3.4.1-8-20180628.21
|
|
|
|
- tbox: rewrite tbox with C++ template class
|
|
|
|
|
2018-06-19 18:22:46 +08:00
|
|
|
* Tue Jun 19 2018 zhengshuxin@qiyi.com 3.4.1-7-20180619.18
|
|
|
|
- thread_cond: compiling error for wait overriding
|
|
|
|
|
2018-06-15 16:09:21 +08:00
|
|
|
* Fri Jun 15 2018 zhengshuxin@qiyi.com 3.4.1-6-20180615.15
|
2018-06-15 15:25:09 +08:00
|
|
|
- thread_cond::wait add locked parameter for one locking condition
|
|
|
|
|
2018-06-05 14:42:35 +08:00
|
|
|
* Tue Jun 04 2018 zhengshuxin@qiyi.com 3.4.1-5-20180605.14
|
|
|
|
- check_client: just choose one from on_refused and on_timeout to report connection status
|
|
|
|
|
2018-06-05 14:09:46 +08:00
|
|
|
* Tue Jun 04 2018 zhengshuxin@qiyi.com 3.4.1-4-20180605.14
|
|
|
|
- connect_monitor: change params for on_refused and on_timeout methods
|
|
|
|
|
2018-06-04 18:11:43 +08:00
|
|
|
* Mon Jun 04 2018 zhengshuxin@qiyi.com 3.4.1-3-20180604.18
|
|
|
|
- connect_monitor: add three callback for application to handle
|
|
|
|
|
2018-06-05 14:09:46 +08:00
|
|
|
* Thu May 17 2018 zhengshuxin@qiyi.com 3.4.1-2-20180517.16
|
2018-05-17 16:45:15 +08:00
|
|
|
- fixed bugs in acl_write_wait.c
|
|
|
|
|
2018-05-14 15:28:39 +08:00
|
|
|
* Mon May 14 2018 zhengshuxin@qiyi.com 3.4.1-1-20180514.15
|
|
|
|
- add new method in redis_client_cluster
|
|
|
|
- add check_idle in connect_manager
|
|
|
|
|
2018-05-07 14:59:52 +08:00
|
|
|
* Mon May 07 2018 zhengshuxin@qiyi.com 3.4.1-0-20180507.14
|
|
|
|
- acl 3.4.1 released!
|
|
|
|
|
2018-04-29 20:37:22 +08:00
|
|
|
* Sun Apr 29 2018 zhengshuxin@qiyi.com 3.4.0-0-20180429.20
|
|
|
|
- acl 3.4.0 released!
|
|
|
|
|
2018-04-27 11:55:21 +08:00
|
|
|
* Fri Apr 27 2018 zhengshuxin@qiyi.com 3.3.0-90-20180427.27
|
|
|
|
- http: unsafe uri can be corrected
|
|
|
|
|
2018-06-05 14:09:46 +08:00
|
|
|
* Thu Apr 12 2018 zhengshuxin@qiyi.com 3.3.0-89-20180412.20
|
2018-04-12 21:21:23 +08:00
|
|
|
- thread_cond::wait: don't save log when waiting timedout
|
|
|
|
- atomic: override constructur of atomic(const atomic&)
|
|
|
|
|
2018-06-05 14:09:46 +08:00
|
|
|
* Tue Mar 20 2018 zhengshuxin@qiyi.com 3.3.0-88-20180320.10
|
2018-03-19 10:49:45 +08:00
|
|
|
- fixed one bug in thread_cond::wait there was one problem when computing timeout
|
|
|
|
|
2018-03-15 15:00:08 +08:00
|
|
|
* Thu Mar 15 2018 zhengshuxin@qiyi.com 3.3.0-87-20180315.14
|
|
|
|
- move acl-master.json from acl-master to acl-tools
|
|
|
|
|
2018-03-07 13:31:37 +08:00
|
|
|
* Wed Mar 07 2018 zhengshuxin@qiyi.com 3.3.0-86-20180307.13
|
|
|
|
- rm acl-tools from CI
|
|
|
|
|
2018-03-07 11:36:32 +08:00
|
|
|
* Wed Mar 07 2018 zhengshuxin@qiyi.com 3.3.0-85-20180307.11
|
|
|
|
- rpm version
|
|
|
|
|
2018-03-07 11:11:58 +08:00
|
|
|
* Wed Mar 07 2018 zhengshuxin@qiyi.com 3.3.0-84-20180307.11
|
|
|
|
- acl-tools rpm was removed from CI
|
|
|
|
|
2018-03-05 14:11:12 +08:00
|
|
|
* Mon Mar 05 2018 zhengshuxin@qiyi.com 3.3.0-83-20180305.14
|
|
|
|
- lib_fiber: merge codes from libfiber
|
|
|
|
|
2018-02-27 14:15:44 +08:00
|
|
|
* Tue Feb 27 2018 zhengshuxin@qiyi.com 3.3.0-82-20180227.14
|
|
|
|
- move tools-ctl from acl-master to acl-tools
|
|
|
|
|
2018-02-27 11:28:37 +08:00
|
|
|
* Tue Feb 27 2018 zhengshuxin@qiyi.com 3.3.0-81-20180227.11
|
|
|
|
- master: version info can be get by web service
|
|
|
|
|
2018-02-26 13:22:12 +08:00
|
|
|
* Mon Feb 26 2018 zhengshuxin@qiyi.com 3.3.0-80-20180226.13
|
|
|
|
- just upgrade version to 3.3.0-80 for CI
|
|
|
|
|
2018-02-26 11:41:39 +08:00
|
|
|
* Mon Feb 26 2018 zhengshuxin@qiyi.com 3.3.0-79-20180226.11
|
|
|
|
- create tools-ctl for controling the master's tools
|
|
|
|
|
2018-02-24 18:07:53 +08:00
|
|
|
* Sat Feb 24 2018 zhengshuxin@qiyi.com 3.3.0-78-20180224.09
|
|
|
|
- build rpm with three packages: acl-libs, acl-master, acl-tools, by wanghaibin
|
|
|
|
|
|
|
|
* Sat Feb 24 2018 zhengshuxin@qiyi.com 3.3.0-77-20180224.09
|
2018-02-24 09:19:01 +08:00
|
|
|
- acl_unix_listen.c: won't fatal when binding UNIX addr error
|
|
|
|
|
|
|
|
* Sat Feb 24 2018 zhengshuxin@qiyi.com 3.3.0-76-20180224.00
|
2018-02-24 00:22:52 +08:00
|
|
|
- acl_master: lock file should be before starting services
|
|
|
|
|
2018-02-23 23:35:31 +08:00
|
|
|
* Fri Feb 23 2018 zhengshuxin@qiyi.com 3.3.0-75-20180223.23
|
|
|
|
- acl_master: when starting, lock the specified file avoiding starting more than once
|
|
|
|
- master_guard: listening master_guard.sock other master_guard.sock@unix
|
|
|
|
- master_ctld: listening master_ctld.sock
|
|
|
|
|
2018-02-22 13:38:45 +08:00
|
|
|
* Thu Feb 22 2018 zhengshuxin@qiyi.com 3.3.0-74-20180222.10
|
2018-02-22 10:09:35 +08:00
|
|
|
- master_ctld: add UNIX domain listening avoiding be blocked by iptables.
|
2018-02-22 13:30:24 +08:00
|
|
|
- gson: std::map object can also be optional in json serialization.
|
2018-02-22 10:09:35 +08:00
|
|
|
|
2018-02-12 15:56:10 +08:00
|
|
|
* Mon Feb 12 2018 zhengshuxin@qiyi.com 3.3.0-73-20180212.15
|
2018-02-12 15:47:57 +08:00
|
|
|
- master_ctld: support GET for checking port if service is aliving
|
|
|
|
|
2018-02-12 14:25:56 +08:00
|
|
|
* Mon Feb 12 2018 zhengshuxin@qiyi.com 3.3.0-71-20180212.14
|
|
|
|
- remove daemon from master's service
|
|
|
|
|
2018-01-31 12:31:12 +08:00
|
|
|
* Wed Jan 31 2018 zhengshuxin@qiyi.com 3.3.0-69-20180131.12
|
|
|
|
- master_guard: can't count fds on Cendos5.x
|
|
|
|
- master_monitor: can't get real version for "-v"
|
|
|
|
- acl_master: should override check_xxx when reloading service configure
|
|
|
|
|
2018-01-30 10:02:27 +08:00
|
|
|
* Tue Jan 30 2018 zhengshuxin@qiyi.com 3.3.0-68-20180130.09
|
|
|
|
- master_guard: invalid exiting status
|
|
|
|
|
2018-01-29 18:25:19 +08:00
|
|
|
* Mon Jan 29 2018 zhengshuxin@qiyi.com 3.3.0-67-20180129.18
|
|
|
|
- acl_master: when service hasn't master_notify_addr then using the default
|
|
|
|
path as /opt/soft/acl-master/var/public/monitor.sock
|
|
|
|
- acl_master: when service crashed, one message will be delivered without
|
|
|
|
master_notify_recipients.
|
|
|
|
|
2018-01-29 17:05:29 +08:00
|
|
|
* Mon Jan 29 2018 zhengshuxin@qiyi.com 3.3.0-66-20180129.17
|
|
|
|
- service_guard: support tcp service by using acl::tcp_ipc class
|
|
|
|
- master_guard: using acl::tcp_ipc when using tcp connection
|
|
|
|
|
2018-01-25 12:38:07 +08:00
|
|
|
* Thu Jan 25 2018 zhengshuxin@qiyi.com 3.3.0-65-20180125.12
|
|
|
|
- master_ctld: add default checking items.
|
|
|
|
|
2018-01-25 11:43:07 +08:00
|
|
|
* Thu Jan 25 2018 zhengshuxin@qiyi.com 3.3.0-64-20180125.11
|
|
|
|
- master_guard/service_guard: support memory usage checking
|
|
|
|
|
2018-01-24 23:48:48 +08:00
|
|
|
* Wed Jan 24 2018 zhengshuxin@qiyi.com 3.3.0-63-20180124.23
|
|
|
|
- master tools can support new protocols
|
|
|
|
|
2018-01-24 16:49:14 +08:00
|
|
|
* Wed Jan 24 2018 zhengshuxin@qiyi.com 3.3.0-62-20180124.16
|
|
|
|
- add master_monitor tool of acl_master
|
|
|
|
|
|
|
|
* Tue Jan 23 2018 zhengshuxin@qiyi.com 3.3.0-61-20180123.19
|
2018-01-23 19:48:45 +08:00
|
|
|
- epoll_event.c should handle EPOLLERR|EPOLLHUP events.
|
|
|
|
|
2018-01-24 16:49:14 +08:00
|
|
|
* Tue Jan 23 2018 zhengshuxin@qiyi.com 3.3.0-60-20180123.16
|
2018-01-23 18:57:29 +08:00
|
|
|
- master & master tools: support version manager
|
|
|
|
|
2018-01-19 10:42:22 +08:00
|
|
|
* Fri Jan 19 2018 zhengshuxin@qiyi.com 3.3.0-59-20180119.10
|
|
|
|
- fiber: remove valgrind debug by default in Makefile of fiber
|
|
|
|
|
2018-01-19 10:31:38 +08:00
|
|
|
* Fri Jan 19 2018 zhengshuxin@qiyi.com 3.3.0-58-20180119.10
|
|
|
|
- rpm shell: don't use systemd
|
|
|
|
|
2018-01-16 14:28:42 +08:00
|
|
|
* Tue Jan 16 2018 zhengshuxin@qiyi.com 3.3.0-57-20180116.14
|
|
|
|
- fiber_cpp: remove FIBER_API in including headers
|
|
|
|
|
2018-01-16 14:03:32 +08:00
|
|
|
* Tue Jan 16 2018 zhengshuxin@qiyi.com 3.3.0-56-20180116.14
|
|
|
|
- increase version for building rpm
|
|
|
|
|
2018-01-16 11:40:14 +08:00
|
|
|
* Tue Jan 16 2018 zhengshuxin@qiyi.com 3.3.0-55-20180116.11
|
|
|
|
- acl_master: don't transfer parsed addrs to children
|
|
|
|
- acl_udp_server: fixed one bug which can't feel the changing of network IP
|
|
|
|
|
2018-01-05 10:40:05 +08:00
|
|
|
* Fri Jan 05 2018 zhengshuxin@qiyi.com 3.3.0-54-20180105.13
|
|
|
|
- acl_master: fixed one bug in masetr_api.cpp for checking command path, so
|
|
|
|
just using ACL_MASETR_SERV::path, and ACL_MASETR_SERV::command was removed.
|
|
|
|
|
2018-01-04 15:24:52 +08:00
|
|
|
* Thu Jan 04 2018 zhengshuxin@qiyi.com 3.3.0-53-20180104.13
|
|
|
|
- add service_guard tool for master
|
|
|
|
|
2018-01-03 23:28:17 +08:00
|
|
|
* Wed Jan 03 2018 zhengshuxin@qiyi.com 3.3.0-52-20180103.23
|
|
|
|
- one compile error on Centos6.4
|
|
|
|
|
2018-01-03 22:55:20 +08:00
|
|
|
* Wed Jan 03 2018 zhengshuxin@qiyi.com 3.3.0-51-20180103.23
|
|
|
|
- add master_guard tool for master
|
|
|
|
|
|
|
|
* Tue Jan 02 2018 zhengshuxin@qiyi.com 3.3.0-50-20180102.18
|
2018-01-03 02:59:16 +08:00
|
|
|
- acl_udp_server.c: can exit gracefully
|
|
|
|
- set ulimit -n in master's shell
|
|
|
|
|
2017-12-28 18:16:33 +08:00
|
|
|
* Thu Dec 28 2017 zhengshuxin@qiyi.com 3.3.0-49-20171228.17
|
|
|
|
- fiber can support FreeBSD
|
|
|
|
- add replace param in http_header::add_entry
|
|
|
|
|
2017-12-25 16:32:01 +08:00
|
|
|
* Mon Dec 25 2017 zhengshuxin@qiyi.com 3.3.0-48-20171226.16
|
2017-12-25 16:30:58 +08:00
|
|
|
- master: fixed one urgent bug in master which will make master crashed
|
|
|
|
|
2017-12-22 22:38:46 +08:00
|
|
|
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-46-20171222.16
|
|
|
|
- fiber: fixed one bug in event_prepare of event.c
|
|
|
|
|
2017-12-22 16:07:32 +08:00
|
|
|
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-45-20171222.16
|
|
|
|
- master restart service ok by remote command
|
|
|
|
|
2017-12-22 15:24:35 +08:00
|
|
|
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-44-20171222.15
|
|
|
|
- fixed compiling error on gcc4.1
|
|
|
|
|
2017-12-22 14:56:59 +08:00
|
|
|
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-43-20171222.14
|
|
|
|
- fixed master's bug when reload services
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Dec 15 2017 zhengshuxin@qiyi.com 3.3.0-42-20171215.11
|
2017-12-15 11:07:17 +08:00
|
|
|
- test multithreads writing to mbox
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Dec 08 2017 zhengshuxin@qiyi.com 3.3.0-41-20171208.10
|
2017-12-08 10:01:41 +08:00
|
|
|
- fixed one compile error
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Dec 08 2017 zhengshuxin@qiyi.com 3.3.0-40-20171208.09
|
2017-12-08 09:56:15 +08:00
|
|
|
- changed charset from gbk to utf-8 for all service's configure files
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Tue Dec 05 2017 zhengshuxin@qiyi.com 3.3.0-39-20171205.15
|
2017-12-05 15:28:04 +08:00
|
|
|
- master's configure main.cf: changed service_throttle_time from 60s to 10s
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Tue Dec 05 2017 zhengshuxin@qiyi.com 3.3.0-38-20171205.12
|
2017-12-05 12:13:50 +08:00
|
|
|
- master_ctld's configure was updated
|
|
|
|
- fixed some bugs in redis module for supporting binary data
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Tue Nov 28 2017 zhengshuxin@qiyi.com 3.3.0-37-20171128.12
|
2017-11-28 11:38:04 +08:00
|
|
|
- update package version
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Thu Nov 16 2017 zhengshuxin@qiyi.com 3.3.0-36-20171116.12
|
2017-11-16 11:37:57 +08:00
|
|
|
- compiling error on Centos6.x
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Thu Nov 16 2017 zhengshuxin@qiyi.com 3.3.0-35-20171116.11
|
2017-11-16 11:18:22 +08:00
|
|
|
- add master_ctl into rpm package
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Wed Nov 13 2017 zhengshuxin@qiyi.com 3.3.0-34-20171113.09
|
2017-11-13 09:55:00 +08:00
|
|
|
- acl_udp_server & master upgrade
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Oct 27 2017 zhengshuxin@qiyi.com 3.3.0-33-20171027.14
|
2017-10-27 14:15:42 +08:00
|
|
|
- fixed one compiling error
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Oct 27 2017 zhengshuxin@qiyi.com 3.3.0-32-20171027.13
|
2017-10-27 13:54:58 +08:00
|
|
|
- fixed one bug in fiber that int maybe overflow
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Mon Oct 16 2017 zhengshuxin@qiyi.com 3.3.0-31-20171016.10
|
2017-10-16 10:30:59 +08:00
|
|
|
- auto compiling fiber module for Linux
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Tue Oct 10 2017 zhengshuxin@qiyi.com 3.3.0-30-20171010.14
|
2017-10-10 14:05:57 +08:00
|
|
|
- fiber_mutex: fixed bugs
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Tue Oct 10 2017 zhengshuxin@qiyi.com 3.3.0-29-20171010.11
|
2017-10-10 11:47:35 +08:00
|
|
|
- fiber_mutex: fixed one bug when thread_safe is true
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Sat Oct 07 2017 zhengshuxin@qiyi.com 3.3.0-28-20171007.23
|
2017-10-08 12:07:17 +08:00
|
|
|
- add event_mutex in lib_acl_cpp
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Sep 29 2017 zhengshuxin@qiyi.com 3.3.0-27-20170929.23
|
2017-09-29 23:15:42 +08:00
|
|
|
- fiber_mutex: when blocked by thread mutex, the current fiber will be swapout
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Sep 29 2017 zhengshuxin@qiyi.com 3.3.0-26-20170929.18
|
2017-09-29 17:57:54 +08:00
|
|
|
- version: upgrade version to 3.3.0-26
|
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Fri Sep 29 2017 zhengshuxin@qiyi.com 3.3.0-25-20170929.17
|
2017-09-29 17:35:17 +08:00
|
|
|
- version: upgrade version to 3.3.0-25
|
2017-09-28 17:15:40 +08:00
|
|
|
|
2018-02-24 09:25:27 +08:00
|
|
|
* Thu Sep 28 2017 zhengshuxin@qiyi.com 3.3.0-23-20170928.12
|
2017-09-28 12:32:49 +08:00
|
|
|
- valgrind: free global objects so valgrind no reporting error when process exiting
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Sat Sep 23 2017 zhengshuxin@qiyi.com 3.3.0-22-20170923.19
|
2017-09-23 19:53:13 +08:00
|
|
|
- fiber: hook mkdir/stat/lstat/fstat
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Fri Sep 22 2017 zhengshuxin@qiyi.com 3.3.0-21-20170922.18
|
2017-09-22 18:08:30 +08:00
|
|
|
- acl_master: restructure web managing module.
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Thu Sep 21 2017 zhengshuxin@qiyi.com 3.3.0-20-20170921.16
|
2017-09-21 16:32:00 +08:00
|
|
|
- rpm: add version to 3.3.0-20
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Thu Sep 21 2017 zhengshuxin@qiyi.com 3.3.0-19-20170921.16
|
2017-09-21 16:21:42 +08:00
|
|
|
- bitmap: some method maybe collision with some macro on some OS
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Thu Sep 21 2017 zhengshuxin@qiyi.com 3.3.0-18-20170921.15
|
2017-09-21 16:00:44 +08:00
|
|
|
- event: fixed bug in events timer
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Wed Sep 20 2017 zhengshuxin@qiyi.com 3.3.0-17-20170920.17
|
2017-09-20 17:45:27 +08:00
|
|
|
- fiber: hook_net.c supports epoll_create1 API
|
|
|
|
|
2017-12-05 12:13:50 +08:00
|
|
|
* Wed Sep 20 2017 zhengshuxin@qiyi.com 3.3.0-16-20170920.17
|
2017-09-20 17:31:17 +08:00
|
|
|
- add one trying for checking fd's type
|
|
|
|
|
|
|
|
- Just increase version
|
2017-09-19 18:26:44 +08:00
|
|
|
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-15-20170919.18
|
|
|
|
- Just increase version
|
|
|
|
|
2017-09-19 17:20:48 +08:00
|
|
|
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-14-20170919.17
|
2017-09-19 17:19:49 +08:00
|
|
|
- Fixed one bug in acl_udp_server.c when sending status to acl_master
|
|
|
|
|
2017-09-19 13:57:58 +08:00
|
|
|
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-13-20170919.13
|
|
|
|
- Add ci support for gitlab
|
|
|
|
- Add timer trigger
|