forked from pool/redis
43eb86a4aa
- 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 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
README.SUSE | ||
redis-4.0.7.tar.gz | ||
redis-conf.patch | ||
redis-enable-bactrace-on-x86-and-ia64-only.patch | ||
redis-initscript.patch | ||
redis.changes | ||
redis.logrotate | ||
redis.spec | ||
redis.sysctl | ||
redis.target | ||
redis.tmpfiles.d | ||
redis@.service |
README.SUSE ------------- 1. copy /etc/redis/default.conf.example to /etc/redis/default.conf (or /etc/redis/otherapp.conf and so on) For the example we will use otherapp.conf 2. change at least pidfile, logfile and dir setting # the pid file *has* to match your config filename without the ".conf" pidfile /var/run/redis/otherapp.pid logfile /var/log/redis/otherapp.log dir /var/lib/redis/otherapp/ If you want to run more than one instance you also have to change the socket path and/or the ip:port combination. e.g. /var/run/redis/otherapp.sock If you plan to use redis in combination with apache, then you should add 'redis' to apache group and set 'unixsocketperm 770': $ usermod -a -G redis wwwrun $ systemctl restart apache2 then apache is able to connect to redis socket Also make sure if you copy configurations from somewhere, that "daemonize" should be set to "no". 3a. create the database dir: $ install -d -o redis -g redis -m 0750 /var/lib/redis/otherapp/ 3b. add limits (ulimit) to each service $ install -d -m 0755 /etc/systemd/system/redis@otherapp.service.d $ echo "[Service] LimitNOFILE=10240" > /etc/systemd/system/redis@otherapp.service.d/limits.conf 4. systemctl start redis@otherapp 5. systemctl enable redis@otherapp 6. to interact with all instances at the same time use: systemctl restart redis.target systemctl stop redis.target