Redis Enterprise Software 发行说明 5.6.0(2020 年 4 月)

安装 RHEL 6 和 7 的改进。对 HyperLogLog 的主动-主动支持。Auto Tiering 现在支持 RedisJSON。主动-主动默认更改,以实现高可用性和 OSS 集群 API 支持。对 Google Cloud Storage 和 Azure Blob 存储的备份支持。

Redis 企业软件

Redis Enterprise Software (RS) 5.6.0 现已推出。此主要版本版本包括:

  • 改进的安装过程可定制
  • 支持主动-主动数据库中的 HyperLogLog 数据类型
  • 启用了 Auto Tiering 的数据库中的 RedisJSON 支持
  • 支持用于数据库双活和副本的 Redis OSS 集群 API
  • 默认情况下,为主动-主动数据库启用副本 HA
  • 云备份位置支持
  • 支持 Red Hat Enterprise Linux 版本 7.7、7.8
  • 其他增强功能和小 bug 修复

信息

升级

生命周期结束

  • Redis Enterprise Software 5.6 和以前的 RS 版本的生命周期终止 (EOL) 可在此处找到。 Redis 模块的 EOL 可在此处找到。
  • 对 Red Hat Enterprise Linux 6 和 Oracle Linux 6 作系统平台的支持将于 2020 年 11 月 30 日结束。
  • 对 OpenStack Object Storage(“Swift”)的备份、导入和导出位置的支持将于 2020 年 11 月 30 日结束。

新功能

Redis 软件安装程序

Redis Enterprise Software 安装程序增加了在 RHEL 版本 6 和 7 上指定自定义安装路径和/或自定义安装用户和/或组的功能。

运行安装程序时,您可以指定安装、配置和 var 以及 user 和 group:

sudo ./install.sh --install-dir <path> --config-dir <path> --var-dir <path> --os-user <user> --os-group <group>

For more information, check out the Redis Enterprise Software installer documentation.

Hyperloglog on Active-Active

RS 5.6.0 adds the support of HyperLogLog data structure for Active-Active Redis databases.

Because HyperLogLog is a counting data structure by nature, conflicts can occur when deleting entries. For efficiency, performance and memory considerations, conflicts between instances are resolved with DEL (delete) operations winning over ADD operations that took place in concurrent or before the DEL operation.

For more information, check out the HyperLogLog on Active-Active documentation.

RedisJSON on Auto Tiering

RS 5.6.0 adds support for Auto Tiering databases with Redis Modules. RedisJSON is the first module to be available to run on a database with Auto Tiering enabled.

Using RedisJSON on Auto Tiering allows you to benefit from high performance redis with high data volume at lower costs.

OSS Cluster API support

For more information, check out the OSS Cluster API documentation.

Support for Active-Active and Replica Of databases

You can configure Active-Active databases to use the OSS Cluster API using the admin console. The OSS Cluster API improves the performance of user operations against your database.

You can also create or modify an Active-Active Redis database in OSS Cluster mode using the crdb-cli tool with the --oss-cluster option to apply the changes to all of the instances.

Create and edit database using the admin console

You can configure OSS Cluster API for databases using the admin console.

For Active-Active databases, you can create the database with OSS Cluster API enabled for all of its instances. When you enable OSS Cluster after the Active-Active database is created, the change applies only to the local instance.

Replica HA defaults for Active-Active

To enhance the availability and the consistency of Active-Active geo-distributed Redis, Replica HA is enabled by default for all existing and new Active-Active Redis Databases.

To disable Replica HA for for a local instance of an Active-Active database, run this command on the instance: rladmin tune db <bdb_uid> slave_ha disabled

Cloud backup locations support

Redis Enterprise 5.6.0 adds the ability to configure Azure Blob Storage and Google Cloud Storage as backup, import, and export locations.

Red Hat Enterprise Linux 7.7, 7.8

Redis Enterprise 5.6.0 adds RHEL 7.7, 7.8 to its supported platforms.

Redis modules

The following GA releases of Redis Modules are bundled in RS 5.6.0:

Additional capabilities

  • OSS Redis version 5.0.8 is merged into RS 5.6.0.
  • Starting RS 5.6.0, to upgrade modules during database upgrade you must use the module_args option instead of keep_module_args or or “ ” (for no arguments). The module_args option must follow with one of the following (Always in quotation marks): “keep_args” or “ “ or “”. For more info and examples, check out upgrading Redis Modules documentation .
  • rladmin adds the ability to demote the cluster master node when setting it to maintenance mode by using the demote_node option:
rladmin node <node_uid> maintenance_mode on demote_node
  • The SENTINEL MASTER command output format was updated to be aligned with OSS equivalent output.

Important fixes

  • RS38315, RS33747 - Added the LUA script name (SHA) and its arguments to the warning message indicating the LUA script has been running for more than 5 seconds.
  • RS38706 - Fixed a bug which caused a stuck state machine in some scenarios of restoring DB from RDB.
  • RS34309 - Improved internal passwords handling.
  • RS38498 - Fixed a bug in the upgrade process of a database to avoid failure when saving large RDB (Redis Database Backup) file.
  • RS38706 - Fixed a bug that caused a stuck state machine after restoring a snapshot of an Active-Active database.
  • RS43996 - Fixed a bug in the upgrade process when using ./install.sh -y and firewalld is not running.
  • RS45777 - Fixed a bug that caused clients on a shared connection to the proxy to get disonnected. Disconnections occured in case a response for a request of an already disconnected client was received. With build 5.6.0-39:
  • 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.

Known limitations

Active-Active databases

  • RS51359 - Active-Active databases, using replication and Append Only File (AOF) for database persistence, are suffering from memory leaks on replica shards, causing them to grow bigger than the master shards. Customers are advised to upgrade to RS 6.0.12. Meanwhile, you can use a snapshot for database persistence or restart the replica shards.

Upgrade notes

  • 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 lower to version RS 5.4.4 or higher:
    • 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.
  • Google Chrome browser on macOS Catalina requires a self-signed certificate generated after June 2019 to include the extendedKeyUsage field in order to connect to the RS admin console. If you use a self-signed certificate that does not include this field, update the self-signed certificate.

Modules upgrade

  • We recommend that you test module upgrade commands in a test environment before you upgrade modules in a production environment. The module upgrade arguments are not validated during the upgrade process and incorrect arguments can cause unexpected downtime.
  • Before you upgrade a database with RediSearch Module to Redis 5.0, you must upgrade the RediSearch Module to version 1.4.2 or above.

Cluster API

  • The API for removing a node is updated in RS 5.4.2 or higher. The API call must include json data and the "Content-Type: application/json" header. For example:

    curl -X POST -H "Content-Type: application/json" -i -k -u user@redislabs.com:password https://localhost:9443/v1/nodes/3/actions/remove --data "{}"
    

Discover service

Redis commands

  • The capability of disabling specific Redis commands does not work on commands specific to Redis Modules.
  • The CLIENT ID command cannot guarantee incremental IDs between clients that connect to different nodes under multi proxy policies.
  • 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 ↑