Hello community, here is the log from the commit of package ctdb for openSUSE:Factory checked in at 2013-11-13 08:55:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ctdb (Old) and /work/SRC/openSUSE:Factory/.ctdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ctdb" Changes: -------- --- /work/SRC/openSUSE:Factory/ctdb/ctdb.changes 2013-07-12 20:44:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ctdb.new/ctdb.changes 2013-11-13 08:55:09.000000000 +0100 @@ -1,0 +2,71 @@ +Sun Oct 27 13:59:54 UTC 2013 - [email protected] + +- Update to version 2.4 + * A missing network interface now causes monitoring to fail and the + node to become unhealthy. + + * Changed ctdb command's default control timeout from 3s to 10s. + + * debug-hung-script.sh now includes the output of "ctdb scriptstatus" + to provide more information. + + * Starting CTDB daemon by running ctdbd directly should not remove + existing unix socket unconditionally. + + * ctdbd once again successfully kills client processes on releasing + public IPs. It was checking for them as tracked child processes + and not finding them, so wasn't killing them. + + * ctdbd_wrapper now exports CTDB_SOCKET so that child processes of + ctdbd (such as uses of ctdb in eventscripts) use the correct socket. + + * Always use Jenkins hash when creating volatile databases. There + were a few places where TDBs would be attached with the wrong flags. + + * Vacuuming code fixes in CTDB 2.2 introduced bugs in the new code + which led to header corruption for empty records. This resulted + in inconsistent headers on two nodes and a request for such a record + keeps bouncing between nodes indefinitely and logs "High hopcount" + messages in the log. This also caused performance degradation. + + * ctdbd was losing log messages at shutdown because they weren't being + given time to flush. ctdbd now sleeps for a second during shutdown + to allow time to flush log messages. + + * Improved socket handling introduced in CTDB 2.2 caused ctdbd to + process a large number of packets available on single FD before + polling other FDs. Use fixed size queue buffers to allow fair + scheduling across multiple FDs. + + * A node that fails to take/release multiple IPs will only incur a + single banning credit. This makes a brief failure less likely to + cause node to be banned. + + * ctdb killtcp has been changed to read connections from stdin and + 10.interface now uses this feature to improve the time taken to kill + connections. + + * Improvements to hot records statistics in ctdb dbstatistics. + + * Recovery daemon now assembles up-to-date node flags information + from remote nodes before checking if any flags are inconsistent and + forcing a recovery. + + * ctdbd no longer creates multiple lock sub-processes for the same + key. This reduces the number of lock sub-processes substantially. + + * Changed the nfsd RPC check failure policy to failover quickly + instead of trying to repair a node first by restarting NFS. Such + restarts would often hang if the cause of the RPC check failure was + the cluster filesystem or storage. + + * Logging improvements relating to high hopcounts and sticky records. + + * Make sure lower level tdb messages are logged correctly. + + * CTDB commands disable/enable/stop/continue are now resilient to + individual control failures and retry in case of failures. +- Improve systemd support for openSUSE >= 12.3 +- Use download url as source + +------------------------------------------------------------------- Old: ---- ctdb-2.3.tar.gz New: ---- ctdb-2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ctdb.spec ++++++ --- /var/tmp/diff_new_pack.kVuih8/_old 2013-11-13 08:55:10.000000000 +0100 +++ /var/tmp/diff_new_pack.kVuih8/_new 2013-11-13 08:55:10.000000000 +0100 @@ -24,22 +24,27 @@ Group: System/Daemons Name: ctdb -Version: 2.3 +Version: 2.4 Release: 0 Url: http://ctdb.samba.org/ -Source: ctdb-%{version}.tar.gz +Source: https://ftp.samba.org/pub/ctdb/ctdb-%{version}.tar.gz Source1: ctdb-sysconfig-suse.template Patch1: ctdb-socket-path.patch %if 0%{?suse_version} -PreReq: %{?fillup_prereq} -PreReq: insserv +Requires(pre): %{?fillup_prereq} +%if 0%{?suse_version} >=1230 +BuildRequires: pkgconfig(systemd) +%{?systemd_requires} %else -PreReq: /sbin/chkconfig +Requires(pre): %{insserv_prereq} %endif -PreReq: coreutils -PreReq: /bin/mktemp -PreReq: /usr/bin/killall -PreReq: sed +%else +Requires(pre): /sbin/chkconfig +%endif +Requires(pre): coreutils +Requires(pre): /bin/mktemp +Requires(pre): /usr/bin/killall +Requires(pre): sed %define initdir %{_sysconfdir}/init.d BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 @@ -102,7 +107,11 @@ %install mkdir -p \ ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig \ +%if 0%{?suse_version} >=1230 + ${RPM_BUILD_ROOT}/%{_unitdir} \ +%else ${RPM_BUILD_ROOT}/%{_sysconfdir}/init.d \ +%endif ${RPM_BUILD_ROOT}/%{_localstatedir}/lib/ctdb/persistent \ ${RPM_BUILD_ROOT}/%{_localstatedir}/log/ctdb %{__make} install \ @@ -114,7 +123,11 @@ %else %{__install} -m 0644 config/ctdb.sysconfig ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/ctdb %endif +%if 0%{?suse_version} >=1230 +%{__install} -m 0755 config/ctdb.service %{buildroot}%{_unitdir}/ctdb.service +%else %{__install} -m 0755 config/ctdb.init ${RPM_BUILD_ROOT}/%{initdir}/ctdb +%endif # sudo can be used by statd-callout, but is not needed rm ${RPM_BUILD_ROOT}/%{_sysconfdir}/sudoers.d/ctdb @@ -128,12 +141,21 @@ %post %if 0%{?suse_version} +%if 0%{?suse_version} >=1230 +%{fillup_only} +%service_add_post ctdb.service +%else %{fillup_and_insserv} %endif +%endif %postun %if 0%{?suse_version} +%if 0%{?suse_version} >=1230 +%service_del_postun ctdb.service +%else %{insserv_cleanup} +%endif %else if [ "$1" -ge "1" ]; then %{initdir}/ctdb restart >/dev/null @@ -153,7 +175,11 @@ %endif %config(noreplace) %{_sysconfdir}/ctdb/notify.sh %config(noreplace) %{_sysconfdir}/ctdb/functions +%if 0%{?suse_version} >=1230 +%attr(755,root,root) %{_unitdir}/ctdb.service +%else %attr(755,root,root) %{initdir}/ctdb +%endif %attr(775,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/00.ctdb %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/01.reclock %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/10.interface @@ -177,6 +203,7 @@ %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/30.lockd.check %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/40.mountd.check %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/50.rquotad.check +%attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/debug_locks.sh %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh %{_sysconfdir}/ctdb/gcore_trace.sh %{_sysconfdir}/ctdb/statd-callout ++++++ ctdb-2.3.tar.gz -> ctdb-2.4.tar.gz ++++++ ++++ 5733 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
