| Summary: | Update Candidate: Redis 4.0.12 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Stig-Ørjan Smelror <smelror> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lewyssmith, sysadmin-bugs, tarazed25 |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-64-OK | ||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: | Very basic tutorial script for the redis server | ||
|
Description
Stig-Ørjan Smelror
2018-12-22 09:58:06 CET
Stig-Ørjan Smelror
2018-12-22 10:13:34 CET
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-OK 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_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0187.html Resolution:
(none) =>
FIXED |