Redis Enterprise 软件发行说明 6.0.12(2021 年 1 月)

在主动-主动和主动-被动数据库的节点之间分配同步。禁用内部服务以释放内存。用户帐户支持密码轮换。自动安装了模块依赖项。Syncer 进程恢复。

Redis 企业软件

Redis 企业软件 (RS) 6.0.12 现已推出! 此版本包括以下新功能和改进:

以及其他功能和稳定性改进。

版本信息

升级说明

产品生命周期信息

  • Redis Enterprise Software 6.0 和之前的 RS 版本的生命周期终止 (EOL) 可在此处找到。
  • Redis 模块的 EOL 可在此处找到。

弃用通知

  • 对 RS 5.4.X 的支持已于 2020 年 12 月 31 日结束。
  • 对 Red Hat Enterprise Linux 6 和 Oracle Linux 6 以及 Ubuntu 14.04 (Trusty)作系统平台的支持已于 2020 年 11 月 30 日结束。
  • 这是最后一个支持从 5.6.0 以下版本直接升级的 RS 版本。
  • 这是支持低于 1 的主动-主动协议版本和低于 1 的功能集版本的最后一个 RS 版本。

新功能

分布式 Syncer

Syncer 进程现在支持在分布式模式下运行。此选项可以改善吞吐量非常高的主动-主动数据库的延迟。您可以将复制的数据库配置为使用分布式同步,以便任何可用的代理终端节点都可以管理同步流量。

禁用 RS 服务以释放内存

Redis Software 用户现在可以使用 REST API 禁用以下服务

  • cm_server
  • mdns_server
  • pdns_server
  • stats_archiver
  • saslauthd
  • crdb_coordinator
  • crdb_worker

禁用后,服务将不受 Supervisord 的监视和控制。

警告:
如果集群依赖于已禁用的服务,则此功能可能会导致意外结果。 为确保您了解禁用服务的影响,请在生产环境中部署之前在实验室环境中测试系统。

支持多个密码

对于 Redis 6 和 RS 6.0 及更高版本的用户,您现在可以通过为用户维护多个密码来允许无缝密码轮换,从而提高密码管理的安全性。

从 RS 6.0 开始,您可以为用户分配特定的数据访问权限 (Redis ACL) 和集群管理权限。 密码轮换特别有用,以便您可以在连接到 Redis 数据库的应用程序客户端中滚动更新密码。

在此版本中,您只能使用 REST API 配置多个密码。

Redis 模块依赖项管理

RedisGears GA 和 RedisAI GA 需要 Redis Software 来获取和管理外部依赖项。 模块在发布时在其 ramp 文件中声明依赖项。

在此版本的 RS 中,这些依赖项由 Redis Software 在将模块添加到集群时安装。 主节点下载所需的依赖项,并提示其他节点从主节点复制依赖项。 当满足所有依赖项要求时,模块安装完成。 集群的新节点也会自动安装依赖项。

Syncer 从内存不足中自动恢复(预览模式)

对于主动-主动数据库,同步器进程会正常地从内存不足 (OOM) 状态中恢复。

尽管主动-主动同步是双向的,但我们可以在每个方向上定义一个源实例和一个目标实例。 当目标实例(即运行 syncer 进程的实例)获得 OOM 时,syncer 进程会尝试在内存可用时自动恢复数据同步。

这是一个可配置的选项,当前处于预览模式。此行为将在下一个 RS 版本中正式发布并设置为默认行为。

要启用 syncer 自动恢复,请在每个参与的集群上执行以下步骤:

  1. 将功能集版本升级到3.

  2. 使用 REST API 启用 syncer 自动恢复:

    curl -v -k -u <username>:<password> -X PUT -H “Content-Type: application/json” -d ‘{crdt_syncer_auto_oom_unlatch”:true}’ http://<cluster_address>:8080/v1/bdbs/<database_ID>
    

The syncer process restarts to with automatic recovery on.

Redis modules

The following GA releases of Redis modules are bundled with RS 6.0.12:

To use the updated modules with a database, you must upgrade the module on the database.

Additional capabilities

  • RS 6.0.12 includes open source Redis 6.0.6. For more information about Redis 6.0.6, check out the release notes.
  • The bundled Nginx version was updated from version 1.16.0 to 1.18.0.
  • The crdb-cli syntax to remove an instance is changed from remove-instance [--ordered|--unordered] to remove-instance [--force|--no-force].

Important fixes

  • RS45627, RS47382 - Fixed bugs causing clients to disconnect when using XREAD and XREADGROUP commands in blocking mode on other clients’ connections.
  • RS44656 - Fixed a bug causing TLS mode for clients connections to toggle between ‘all communication’ to ‘for crdb communication only’ when performing a global configuration change.
  • RS42587 - Fixed a bug in the web UI console if the FQDN of the cluster is a substring of the FQDN of a participating cluster
  • RS49404 - Fixed a bug in for upgrades with custom directories that prevent users from creating databases via the web UI console.
  • RS43961 - bigkeys command fixed to handle non-printable key names
  • RS45707 - Fixed a bug that caused RCP (Redis Cloud Pro) databases to reject connections while resharding the database.
  • RS51144 - Fixed a bug in the syncer process that was stopping synchronization between all instances in some scenarios of network disconnection of one or more participating clusters.

with 6.0.12-58:

  • RS50865 - Fixed a bug causing rladmin change master node to fail when performed after a prior successful master change.
  • RS51359 - Fixed a memory leak on replica shards in Active-Active databases with replication and AOF for persistence.
  • RS52363 - Updated PUB/SUB max message value size from 64KB to 512MB

Known limitations

-RS81463 - A shard may crash when resharding an Active-Active database with Auto Tiering . Specifically, the shard will crash when volatile keys or Active-Active tombstone keys reside in Flash memory.

Installation limitations

Several Redis Enterprise Software installation reference files are installed to the directory /etc/opt/redislabs/ even if you use custom installation directories.

As a workaround to install Redis Enterprise Software without using any root directories, do the following before installing Redis Enterprise Software:

  1. Create all custom, non-root directories you want to use with Redis Enterprise Software.

  2. Mount /etc/opt/redislabs to one of the custom, non-root directories.

Upgrade

  • RS 5.4.2 introduced new Active-Active Redis Database capabilities that improve its compatibility with open source Redis. Now the string data-type in Active-Active Redis Database is implicitly and dynamically typed, just like open source Redis. To use the new capabilities on nodes that are upgraded from version RS 5.4.2 or lower, you must upgrade the Active-Active Redis Database protocol.
  • When you upgrade an Active-Active Redis with active AOF from version RS 5.4.2 or earlier to version RS 5.4.4 or later:
    • If replication is enabled, you must run the BGREWRITEAOF command on all replica shards after the upgrade.
    • If replication is not enabled, you must run the BGREWRITEAOF command on all shards after the upgrade.
  • Node upgrade fails if the SSL certificates were configured in version 5.0.2 or above by manually updating the certificates on the disk instead of updating them through the API. For assistance with this issue, contact Support.
  • Starting from RS 5.4.2, to preserve the current Redis major.minor version during database upgrade you must use the keep_redis_version option instead of keep_current_version.

Redis commands

  • The capability of disabling specific Redis commands does not work on commands specific to Redis modules.
  • CLIENT UNBLOCK command is not supported in RS 5.4 and above
  • Starting from RS 5.4.2 and after upgrading the CRDB, TYPE commands for string data-type in CRDBs return "string" (OSS Redis standard).
RATE THIS PAGE
Back to top ↑