Accepting request 333534 from home:darix:apps

- update to 3.0.4

OBS-URL: https://build.opensuse.org/request/show/333534
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=70
This commit is contained in:
Martin Pluskal 2015-09-25 08:39:38 +00:00 committed by Git OBS Bridge
parent 094fda19fe
commit f3cc57a376
4 changed files with 83 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93e422c0d584623601f89b956045be158889ebe594478a2c24e1bf218495633f
size 1360182

3
redis-3.0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a35e90ad581925134aa0fc92e969cc825f5cdee8e13c36a87d4d6995316112cf
size 1364993

View File

@ -1,3 +1,80 @@
-------------------------------------------------------------------
Thu Sep 24 22:26:22 UTC 2015 - mrueckert@suse.de
- update to 3.0.4
Upgrade urgency: HIGH for Redis and Sentinel. However note that in
order to fix certain replication bugs, the
replication internals were modified in a very heavy
way. So while this release is conceptually saner, it
may contain regressions. For this reason, before the
release, QA activities were performed by me (antirez)
and Redis Labs and no evident bug was found.
- [FIX] A number of bugs related to replication PSYNC and the (yet
experimental) diskless replication feature were fixed. The bugs
could lead to inconsistency between masters and slaves. (Salvatore
Sanfilippo, Oran Agra fixed the issue found by Yuval Inbar)
- [FIX] A replication bug in the context of PSYNC partial
resynchonization was found and fixed. This bug happens even when
diskless replication is off in the case different slaves connect at
different times while the master is creating an RDB file, and later
a partial resynchronization is attempted by a slave that connected
not as the first one. (Salvatore Sanfilippo, Oran Agra)
- [FIX] Chained replication and PSYNC interactions leading to
potential stale chained slaves data set, see issue #2694. (Salvatore
Sanfilippo fixed an issue reported by "GeorgeBJ" user at Github)
- [FIX] redis-cli --scan iteration fixed when returned cursor
overflows 32 bit signed integer. (Ofir Luzon, Yuval Inbar)
- [FIX] Sentinel: fixed a bug during the master switch process, where
for a failed conditional check, the new configuration is rewritten,
during a small window of time, in a corrupted way where the master
is also reported to be one of the slaves. This bug is rare to
trigger but apparently it happens in the wild, and the effect is to
see a replication loop where the master will try to replicate with
itself. A detailed explanation of the bug and its effects can be
found in the commit message here:
https://github.com/antirez/redis/commit/c20218eb5770b2cafb12bc7092313b8358fedc0a.
The bug was found by Jan-Erik Rediger using a static analyzer and
fixed by Salvatore Sanfilippo.
- [FIX] Sentinel lack of arity checks for certain commands. (Rogerio
Goncalves, Salvatore Sanfilippo)
- [NEW] Replication internals rewritten in order to be more resistant
to bugs. The replication handshake in the slave side was rewritten
as a non blocking state machine. (Salvatore Sanfilippo, Oran Agra)
- [NEW] New "replication capabilities" feature introduced in order to
signal from the master to the slave what are the features supported,
so that the master can choose the kind of replication to start
(diskless or not) when master and slave are of different versions.
(Oran Agra, Salvatore Sanfilippo)
- [NEW] Log clients details when SLAVEOF command is received.
(Salvatore Sanfilippo with inputs from Nick Craver and Marc
Gravell).
-------------------------------------------------------------------
Mon Sep 7 17:42:22 UTC 2015 - mrueckert@suse.de
- update to 3.0.3
* [FIX] Fix blocking operations timeout precision when HZ is at
its default value (not increased) and there are thousands
of clients connected at the same time. This bug affected
Sidekiq users that experienced a very long delay for
BLPOP and similar commands to return for timeout. Check
commit b029ff1 for more info. (Salvatore Sanfilippo)
* [FIX] MIGRATE "creating socket: Invalid argument" error fix.
Check issues #2609 and #2612 for more info.
(Salvatore Sanfilippo)
* [FIX] Be able to connect to the master even when the slave is
bound to just the loopback interface and has no valid
public address in the network the master is reacahble.
(Salvatore Sanfilippo)
* [FIX] ZADD with options encoding promotion fixed. (linfangrong)
* [FIX] Reset aof_delayed_fsync on CONFIG RESETSTATS. (Tom Kiemes)
* [FIX] PFCOUNT key parsing in cluster fixed. (MOON_CLJ)
* [FIX] Fix Solaris compilation of Redis 3.0. (Jan-Erik Rediger)
* [NEW] Variadic EXISTS command. Now the command accepts multiple
arguments and returns the total count of existing keys.
- added missing sentinel link
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 15 11:07:16 UTC 2015 - mrueckert@suse.de Mon Jun 15 11:07:16 UTC 2015 - mrueckert@suse.de

View File

@ -27,7 +27,7 @@
%define _conf_dir %{_sysconfdir}/%{name} %define _conf_dir %{_sysconfdir}/%{name}
Name: redis Name: redis
Version: 3.0.2 Version: 3.0.4
Release: 0 Release: 0
Summary: Persistent key-value database Summary: Persistent key-value database
License: BSD-3-Clause License: BSD-3-Clause
@ -86,11 +86,13 @@ install -m 0755 src/redis-cli %{buildroot}%{_bindir}/redis-cli
install -m 0755 src/redis-check-dump %{buildroot}%{_bindir}/redis-check-dump install -m 0755 src/redis-check-dump %{buildroot}%{_bindir}/redis-check-dump
install -m 0755 src/redis-check-aof %{buildroot}%{_bindir}/redis-check-aof install -m 0755 src/redis-check-aof %{buildroot}%{_bindir}/redis-check-aof
install -D -m 0755 src/redis-server %{buildroot}%{_sbindir}/redis-server install -D -m 0755 src/redis-server %{buildroot}%{_sbindir}/redis-server
ln -sfv redis-server %{buildroot}%{_sbindir}/redis-sentinel
%if %{with systemd} %if %{with systemd}
perl -p -i -e 's|daemonize yes|daemonize no|g' redis.conf perl -p -i -e 's|daemonize yes|daemonize no|g' redis.conf
%endif %endif
install -D -m 0640 redis.conf %{buildroot}%{_conf_dir}/default.conf.example install -D -m 0640 redis.conf %{buildroot}%{_conf_dir}/default.conf.example
install -D -m 0640 sentinel.conf %{buildroot}%{_conf_dir}/sentinel.conf.example
# #
# init # init