Advisory ======== This backports Redis 5 fixes into Redis 4. Note that there are important fixes to the AOF implementation so Redis 4.0.12 should be considered as a worthwhile upgrade in production environments where AOF is used and there is the idea of sticking with Redis 4 for some time. References ========== https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES Files ===== Uploaded to core/updates_testing redis-4.0.12-1.mga6 redis-debuginfo-4.0.12-1.mga6 from redis-4.0.12-1.mga6.src.rpm
Assignee: bugsquad => qa-bugs
Mageia 6, x86_64 Having tested this before, used former tests to exercize redis before updating. redis is an in-memory data store which supports several common data formats, which data are handled via a server attached to port 6379. Updated from redis-4.0.10-1 to redis-4.0.12-1 See https://bugs.mageia.org/show_bug.cgi?id=19158 for earlier interactive tutorial session. The command-line tool redis-cli can be used to run scripts. $ su # systemctl start redis.service # exit $ systemctl status redis.service ● redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset Drop-In: /usr/lib/systemd/system/redis.service.d └─limit.conf Active: active (running) since Sat 2018-12-22 17:33:54 GMT; 15s ago Main PID: 20168 (redis-server) CGroup: /system.slice/redis.service └─20168 /usr/bin/redis-server 127.0.0.1:6379 $ redis-cli < tutorial OK "pluto" OK (integer) 8 (integer) 9 "9" (integer) 1 (integer) 1 OK (integer) 1 (integer) 40 (integer) 40 (integer) 40 OK (integer) 4 (integer) 5 (integer) 6 1) "David" 2) "David" 3) "Suzy" 4) "Zack" 5) "Suzy" 6) "Zack" 1) "David" 2) "David" 1) "David" 2) "Suzy" Note that errors in sysntax are trapped at the command-line while the command is being typed. The input text will be tagged on the same line with a greyed out "stop". Also, cues are provided while typing certain commands but it is not always clear what is required. This demonstrates persistence: $ redis-cli 127.0.0.1:6379> lrange friends 1-2<stop> (error) ERR wrong number of arguments for 'lrange' command 127.0.0.1:6379> lrange friends 1 2 1) "David" 2) "Suzy" 127.0.0.1:6379> GET server:name "pluto" 127.0.0.1:6379> set resource:lock "Demo 2" OK 127.0.0.1:6379> expire "Demo 2" 10 (integer) 0 <later> 127.0.0.1:6379> ttl resource:lock (integer) -1 127.0.0.1:6379> ttl resource:lock (integer) -1 Lists are stacks or LIFO buffers: 127.0.0.1:6379> lpush friends "Lucy" (integer) 7 127.0.0.1:6379> lrange friends 7 7 (empty list or set) 127.0.0.1:6379> lrange friends 0 0 1) "Lucy" 127.0.0.1:6379> lrange friends 0 -1 1) "Lucy" 2) "David" 3) "David" 4) "Suzy" 5) "Zack" 6) "Suzy" 7) "Zack" 127.0.0.1:6379> exit This is just tinkering with the basics but should be enough.
Whiteboard: (none) => MGA6-64-OKCC: (none) => tarazed25
Created attachment 10590 [details] Very basic tutorial script for the redis server $ redis-cli < tutorial Based on the interactive tutorial at try.redis.io
Thanks again Len for the serious testing; and Stig for the nice advisory comment 0.
Keywords: (none) => advisory, validated_updateCC: (none) => lewyssmith, sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0187.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED