云网牛站
所在位置:首页 > Linux软件 > Redis 5.0.2发布下载及安装方法

Redis 5.0.2发布下载及安装方法

2018-11-23 16:24:15作者:拆西稿源:开源社区

高性能的Key-Value数据库Redis 5.0.2发布下载了,新版本修复了两个关于Streams消费者的问题,可以在访问历史记录时由XREADGROUP复制项目的组,以及XREADGROUP可以报告某些历史记录的另一个错误,即使待添加的消费者列表为空。目前已解决了这两个问题,并进行了单元测试以避免出现回归错误。此外,该版本还修复了集群模式下redis-cli的一些问题。最后关于FreeBSD和DragonFly的一些构建问题现在也已经解决。

 

升级紧急程度

CRITICAL if you use streams and consumer groups.HIGH if you use redis-cli with Redis Cluster.LOW otherwise.

 

Redis 5.0.2发布详情

Welcome to Redis 5.0.2. This release fixes two issues with Streams consumer groups, where items could be returned duplicated by XREADGROUP when accessing the history, and another bug where XREADGROUP can report some history even if the comsumer pending list is empty. Both problems were addressed and unit tests to avoid regressions implemented. Moreover this release fixes some issue with redis-cli when in cluster mode. Finally some FreeBSD and DragonFly build problems are now resolved. The list of the commits is below.

Enjoy,

Salvatore

David Carlier in commit e8b4291a:

DragonFlyBSD little build fix

2 files changed, 6 insertions(+), 1 deletion(-)

yongman in commit 8fcfd374:

skip slave nodes when sending cluster setslot command

1 file changed, 1 insertion(+)

yongman in commit d7089ddd:

Fix pointer access and memory leak in redis-cli.

1 file changed, 6 insertions(+), 3 deletions(-)

antirez in commit 17b4cd83:

Test: regression test for #5570.

1 file changed, 15 insertions(+)

antirez in commit 45123169:

Stream: fix XREADGROUP history reading of deleted messages.

1 file changed, 1 insertion(+), 1 deletion(-)

David Carlier in commit 5ad588f0:

only FreeBSD change/little warning addressing

2 files changed, 7 insertions(+), 4 deletions(-)

David Carlier in commit 11801e1a:

tweak form feedback

1 file changed, 1 insertion(+), 1 deletion(-)

David Carlier in commit c1f13575:

allow flavors

1 file changed, 1 insertion(+), 1 deletion(-)

David Carlier in commit 275a2d49:

Fix clang build.

1 file changed, 5 insertions(+), 1 deletion(-)

antirez in commit 44ad5141:

Test: regression test for #5577.

1 file changed, 24 insertions(+)

antirez in commit c7951f43:

Streams: fix XREADGROUP history reading when CG last_id is low.

1 file changed, 12 insertions(+), 9 deletions(-)

antirez in commit a69bc5be:

t_stream.c comment resized to 80 cols.

1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit 5314099d:

Redis 5 changelog: don't expect Lua replies to be ordered.

1 file changed, 14 insertions(+), 5 deletions(-)

 

下载链接

Redis网站下载

Redis GitHub下载地址

 

安装Redis 5.0.2 tar.gz的方法

1、下载,解压缩和编译Redis:

$ wget http://download.redis.io/releases/redis-5.0.2.tar.gz

$ tar xzf redis-5.0.2.tar.gz

$ cd redis-5.0.2

$ make

2、现在编译的二进制文件位于src目录中,运行Redis:

$ src/redis-server

3、可以使用内置客户端与Redis进行交互:

$ src/redis-cli

redis> set foo bar

OK

redis> get foo

"bar"

 

相关主题

在Linux服务器中搭建有6个节点的Redis 5集群

精选文章
热门文章