- make check && true -> make check || true
This was probably meant to catch an error in the test suite, but
with && it would only return true if it would return true
already.
- added systemd unit file file redis-sentinel
- the unit file uses the same multiple instance mechanism as the
normal redis unit file
systemctl start redis-sentinel@default will look for
/etc/redis/sentinel-default.conf
and expects a pid file
/var/run/redis/sentinel-default.pid
Please make sure your sentinel config sets the pid file.
- adapted the default sentinel.conf.example to set the pid file
and the log file similar to the normal redis.conf:
/var/log/redis/sentinel-<instancename>.log
/var/run/redis/sentinel-<instancename>.pid
The unit file checks for the pid file so please adapt your
local sentinel configs.
Changed: redis-conf.patch
- adapt and restructure README.SUSE
- move the LimitNoFile to the service file itself so the user
do not have to manually do that step for every instance
- move the apache integration into its own section
- add section for redis-sentinel
- install sentinel example config with group write permissions
to indicate that the actually config needs to be writable.
OBS-URL: https://build.opensuse.org/request/show/633784
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=120
- Refresh spec-file.
- Update to 4.0.11
* https://raw.githubusercontent.com/antirez/redis/4.0.11/00-RELEASENOTES
* The disconnection time between the master and slave was reset
in an incorrect place, sometimes a good slave will not be able
to failover because it claims it was disconnected for too much
time from the master.
* A replication bug, rare to trigger but non impossible, is in
Redis for years. It was lately discovered at Redis Labs and
fixed by Oran Agra. It may cause disconnections,
desynchronizations and other issues.
* RANDOMKEY may go in infinite loop on rare situations. Now fixed.
* EXISTS now works in a more consistent way on slaves.
* Sentinel: backport of an option to deny a potential security
problem when the SENTINEL command is used to configure an
arbitrary script to execute.
OBS-URL: https://build.opensuse.org/request/show/629656
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=117
https://raw.githubusercontent.com/antirez/redis/4.0.10/00-RELEASENOTES
- Important security issues related to the Lua scripting engine.
Please check https://github.com/antirez/redis/issues/5017 for
more information.
- A bug with SCAN, SSCAN, HSCAN and ZSCAN, that may not return
all the elements. We also add a regression test that can
trigger the issue often when present, and may in theory be able
to find unrelated regressions.
- A PSYNC2 bug is fixed: Redis should not expire keys when saving
RDB files because otherwise it is no longer possible to use
such RDB file as a base for partial resynchronization. It no
longer represents the right state.
- Compatibility of AOF with RDB preamble when the RDB checksum is
disabled.
- Sentinel bug that in some cases prevented Sentinel to detect
that the master was down immediately. A delay was added to the
detection.
- Update redis-enable-bactrace-on-x86-and-ia64-only.patch to handle
- Add redis-disable_integration_logging.patch to disable logging test
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=112
- Update to 4.0.9
* https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
* Critical upgrade for users using AOF with the fsync policy set to "always".
* Latency monitor could report wrong latencies under certain conditions.
* AOF rewriting could fail when a backgronud rewrite is triggered and
at the same time the AOF is switched on/off.
* Redis Cluster crash-recovery safety improved.
* Redis Cluster has now the ability to configure certain slaves so that
they'll never attempt a failover.
* Keyspace notifications API in modules.
* RM_Call() is now faster by reusing the same client.
* Tracking of the percentage of keys already logically expired but yet
not evicted.
OBS-URL: https://build.opensuse.org/request/show/595980
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=108
- Update to 4.0.7
* Release notes: https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
* Many 32 bit overflows were addressed in order to allow to use Redis with
a very significant amount of data, memory size permitting.
* MEMORY USAGE fixed for the list type.
* Allow read-only scripts in Redis Cluster.
* Fix AOF pipes setup in edge case.
* AUTH option for MIGRATE.
* HyperLogLogs are no longer converted from sparse to dense in order
to be merged.
* Fix AOF rewrite dead loop under edge cases.
* Fix processing of large bulk strings (>= 2GB).
* Added RM_UnlinkKey in modules API.
* Fix Redis Cluster crashes when certain commands with a variable number
of arguments are called in an improper way.
* Fix memory leak in lazyfree engine.
* Fix many potentially successful partial synchronizations that end
doing a full SYNC, because of a bug destroying the replication
backlog on the slave. So after a failover the slave was often not able
to PSYNC with masters, and a full SYNC was triggered. The bug only
happened after 1 hour of uptime so escaped the unit tests.
* Improve anti-affinity in master/slave allocation for Redis Cluster
when the cluster is created.
* Improve output buffer handling for slaves, by not limiting the amount
of writes a slave could receive.
OBS-URL: https://build.opensuse.org/request/show/570371
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=104
- Drop SLE 11 support.
- Refresh spec-file.
- Update to 4.0.2
* Release notes: https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
* Different replication fixes to PSYNC2, the new 4.0 replication engine.
* Modules thread safe contexts were introduced. They are an experimental
API right now, but the API is considered to be stable and usable when needed.
* SLOWLOG now logs the offending client name and address. Note that this is a
backward compatibility breakage in case old code assumes that the slowlog
entry is composed of exactly three entries.
* The modules native data types RDB format changed.
* The AOF check utility is now able to deal with RDB preambles.
* GEORADIUS_RO and GEORADIUSBYMEMBER_RO variants, not supporting the STORE option,
were added in order to allow read-only scaling of such queries.
* HSET is now variadic, and HMSET is considered deprecated
(but will be supported for years to come). Please use HSET in new code.
* GEORADIUS huge radius (>= ~6000 km) corner cases fixed,
certain elements near the edges were not returned.
* DEBUG DIGEST modules API added.
* HyperLogLog commands no longer crash on certain input (non HLL) strings.
* Fixed SLAVEOF inside MULTI/EXEC blocks.
* Many other minor bug fixes and improvements.
OBS-URL: https://build.opensuse.org/request/show/532588
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=95
- Update to 3.2.1
* [FIX] Cleaned up spec file.
* [FIX] Critical bug in Sentinel was hopefully fixed.
* [FIX] BITFIELD bugs fixed.
* [FIX] GEO commands fixes on syntax errors and edge cases.
* [NEW] RESOTRE now accepts dumps generated by older Redis versions.
* [NEW] Jemalloc now is configured to save you memory, for a problem a
change in the jemalloc configuration did not really survived when the
3.2.0 release was finalized.
* [NEW] TTL and TYPE command no longer alter the last access time of a key, for
LRU evictions purposes. A new TOUCH command was introduced *just* to
update the access time of a key.
* [FIX] A bug was fixed in redis-cli, that connected to the instance running on the
port 6379 if there was one, regardless of what was specified.
* [NEW] TCP keep alive is now enabled by default. This should fix most ghost
connections problems without resulting in any practical change in otherwise
sane deployments.
* [FIX] A Sentinel crash that could happen during failovers was fixed.
* [NEW] avg_ttl reporting in INFO improved.
* [NEW] Sentinel: improve handling of known Sentinel instances.
* [NEW] Redis Cluster address update (via gossip section) processing improved
to avoid initiating inwanted handshakes.
* [FIX] Critical bug fixed: There was a problem in the way a cluster instance
loaded the AOF that could cause data written via scripts to be lost during
reshardings.
* [NEW] There is a new very powerful BITFIELD command. Check the documentation
here: http://redis.io/commands/BITFIELD
* [NEW] CONFIG GET is allowed during the loading of the dataset.
* [NEW] The DEBUG command have new features and can show an help with DEBUG HELP.
* [NEW] redis-cli show hits about the commands arguments to the right.
OBS-URL: https://build.opensuse.org/request/show/405637
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=78
- Update to 3.0.7:
* [FIX] Many fixes to MIGRATE multiple keys implementation.
* [FIX] A Redis Cluster node crash was fixed because of wrong handling of
node->slaveof pointers.
* [FIX] Fix redis-trib rebalance when nodes need to be left empty because
the specified weight is zero.
* [FIX] MIGRATE: Never send -ASK redirections for MIGRATE when there are
* [FIX] Lua debugger crash when printing too deeply nested objects.
* [FIX] Redis-cli implementation of Lua debugging now allows to use the
SCRIPT DEBUG command directly, switching to debugging mode as needed.
* [FIX] Redis-trib is now able to fix more errors. A new CLUSTER subcommand
called BUMPEPOCH was introduced in order to support new modes
for the "fix" subcommand.
* [NEW] Redis proctected mode: this feature improves Redis security and makes
harder to run Redis in a configuration that is unsecure because no
firewalling was used in order to protect Redis from external accesses.
* [NEW] Cluster/Sentinel tests now use OSX leak to perform leak detection
at the end of every unit.
* [NEW] Detect and show server crashes during Cluster/Sentinel tests.
* [NEW] More reliable Cluster/Sentinel test becuase of timing errors and
-LOADING errors.
* [FIX] lua_struct.c/getnum security issue fixed.
* [FIX] Redis Cluster replica migration fixed.
* [FIX] Fix a race condition in processCommand() because of interactions
with freeMemoryIfNeeded().
* [NEW] Backported from the upcoming Redis 3.2:
MIGRATE now supports an extended multiple-keys pipelined mode, which
is an order of magnitude faster. Redis Cluster now uses this mode
in order to perform reshardings and rebalancings.
* [NEW] Backported from the upcoming Redis 3.2:
OBS-URL: https://build.opensuse.org/request/show/359952
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=74
* [FIX] MOVE now moves the TTL as well. A bug lasting forever...
finally fixed thanks to Andy Grunwald that reported it.
* [FIX] Fix a false positive in HSTRLEN test.
* [FIX] Fix a bug in redis-cli --pipe mode that was not able to
read back replies from the server incrementally. Now a mass
import will use a lot less memory, and you can use --pipe to
do incremental streaming.
* [FIX] Slave detection of master timeout.
* [NEW] Cluster: redis-trib fix can fix an additional case for
opens lots.
* [NEW] Cluster: redis-trib import support for --copy and
--replace options
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=72
- update to 3.0.0
>> What's new in Redis 3.0 compared to Redis 2.8?
* Redis Cluster: a distributed implementation of a subset of Redis.
* New "embedded string" object encoding resulting in less cache
misses. Big speed gain under certain work loads.
* AOF child -> parent final data transmission to minimize latency
due to "last write" during AOF rewrites.
* Much improved LRU approximation algorithm for keys eviction.
* WAIT command to block waiting for a write to be transmitted
to the specified number of slaves.
* MIGRATE connection caching. Much faster keys migraitons.
* MIGARTE new options COPY and REPLACE.
* CLIENT PAUSE command: stop processing client requests for a
specified amount of time.
* BITCOUNT performance improvements.
* CONFIG SET accepts memory values in different units (for
example you can use "CONFIG SET maxmemory 1gb").
* Redis log format slightly changed reporting in each line the
role of the instance (master/slave) or if it's a saving child
log.
* INCR performance improvements.
>> Refactoring changes (no new features nor bug fixes)
* Blocking operations full refactoring (blocked.c)
* Client output buffer memory tracking refactored.
for all the details see
/usr/share/doc/packages/redis/00-RELEASENOTES
- refreshed redis-enable-bactrace-on-x86-and-ia64-only.patch to
apply cleanly
OBS-URL: https://build.opensuse.org/request/show/294142
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=62
Redis 2.6 is mostly a strict subset of 2.8. However there are a
few things that you should be aware of:
The following commands changed behavior:
* SORT with ALPHA now sorts according to local collation locale
if no STORE option is used.
* ZADD/ZINCRBY are now able to accept a bigger range of values
as valid scores, that is, all the values you may end having
as a result of calling ZINCRBY multiple times.
* Many errors are now prefixed by a more specific error code
instead of the generic -ERR, for example -WRONGTYPE, -NOAUTH, ...
* PUBLISH called inside Lua scripts is now correctly propagated
to slaves.
The following redis.conf and CONFIG GET / SET parameters changed:
* logfile now uses the empty string in order to log to standard
output, so 'logfile stdout' is now invalid, use 'logfile ""'
instead.
The following INFO fields changed format in a non-backward compatible way:
* The list of slaves in INFO is now in field=value format.
Replication:
Redis 2.8 can be used as slave for Redis 2.6, but doing this is
only a good idea for the short amount of time needed to upgrade
your servers. We suggest to update both master and slaves at
about the same time.
For all the details see
/usr/share/doc/packages/redis/00-RELEASENOTES
- updated redis-conf.patch to apply cleanly again
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=50
of the redis processes launched by the testsuite.
- update to 2.6.14
UPGRADE URGENCY: HIGH because of the following two issues:
* Lua scripting + Replication + AOF in slaves problem (see Issue #1164).
* AOF + expires possible race condition (see Issue #1079).
* [FIX] AOF bug: expire could be removed from key on AOF rewrite.
* [FIX] Allow writes from scripts called by AOF loading in read-only slaves.
* [FIX] Sentinel: parse new verison of INFO replication output correctly.
* [NEW] Reset masterauth if an empty string is configured.
For the changes from 2.6.10-2.6.13 see
/usr/share/doc/packages/redis/00-RELEASENOTES
- refreshed patches:
- redis-conf.patch:
- redis-enable-bactrace-on-x86-and-ia64-only.patch:
just to get rid of fuzz
- skip-aof-test.patch:
can not comment in the array like that. rather remove the
line.
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=44
Too many changes to list them here, please refer to
/usr/share/doc/packages/redis/00-RELEASENOTES
- refreshed patches:
redis-conf.patch
skip-aof-test.patch
- dropped patches:
redis-endian.patch
redis-2.4.15-linenoise-cflags.patch
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=37