Skip to content

Commit 74259bc

Browse files
committed
Merge branch 'main' into release-rs-fuya-fuya
2 parents fd4545b + 312c7ac commit 74259bc

File tree

15 files changed

+333
-114
lines changed

15 files changed

+333
-114
lines changed

build/components/example.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@
1111
GO_OUTPUT = 'Output:'
1212
TEST_MARKER = {
1313
'java': '@Test',
14-
'c#': '\[Fact\]'
14+
'c#': '\[Fact\]|\[SkipIfRedis\(.*\)\]'
1515
}
1616
PREFIXES = {
1717
'python': '#',
1818
'node.js': '//',
1919
'java': '//',
2020
'go': '//',
2121
'c#': '//',
22-
'redisvl': '#'
22+
'redisvl': '#',
23+
'php': '//'
2324
}
2425

26+
2527
class Example(object):
2628
language = None
2729
path = None

content/commands/ft.config-set/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Set the value of a RediSearch configuration parameter.
3535

3636
Values set using `FT.CONFIG SET` are not persisted after server restart.
3737

38-
RediSearch configuration parameters are detailed in [Configuration parameters]({{< relref "/develop/interact/search-and-query/administration" >}}).
38+
RediSearch configuration parameters are detailed in [Configuration parameters]({{< relref "/develop/interact/search-and-query/basic-constructs/configuration-parameters" >}}).
3939

4040
{{% alert title="Note" color="warning" %}}
4141
As detailed in the link above, not all RediSearch configuration parameters can be set at runtime.

content/develop/connect/clients/client-side-caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ will use cached data, except for the following:
8282
[probabilistic data types]({{< relref "/develop/data-types/probabilistic" >}}).
8383
These types are designed to be updated frequently, which means that caching
8484
has little or no benefit.
85-
- Non-deterministic commands such as [`HGETALL`]({{< relref "/commands/hgetall" >}}),
85+
- Non-deterministic commands such as [`HRANDFIELD`]({{< relref "/commands/hrandfield" >}}),
8686
[`HSCAN`]({{< relref "/commands/hscan" >}}),
8787
and [`ZRANDMEMBER`]({{< relref "/commands/zrandmember" >}}). By design, these commands
8888
give different results each time they are called.

content/develop/connect/clients/java/jedis.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,9 +468,13 @@ All the Jedis exceptions are runtime exceptions and in most cases irrecoverable,
468468

469469
### DNS cache and Redis
470470

471-
When you connect to a Redis with multiple endpoints, such as [Redis Enterprise Active-Active](https://redis.com/redis-enterprise/technology/active-active-geo-distribution/), it's recommended to disable the JVM's DNS cache to load-balance requests across multiple endpoints.
471+
When you connect to a Redis server with multiple endpoints, such as [Redis Enterprise Active-Active](https://redis.com/redis-enterprise/technology/active-active-geo-distribution/), you *must*
472+
disable the JVM's DNS cache. If a server node or proxy fails, the IP address for any database
473+
affected by the failure will change. When this happens, your app will keep
474+
trying to use the stale IP address if DNS caching is enabled.
475+
476+
Use the following code to disable the DNS cache:
472477

473-
You can do this in your application's code with the following snippet:
474478
```java
475479
java.security.Security.setProperty("networkaddress.cache.ttl","0");
476480
java.security.Security.setProperty("networkaddress.cache.negative.ttl", "0");

content/develop/connect/clients/java/lettuce.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,12 @@ In this setup, `LettuceConnectionFactory` is a custom class you would need to im
296296

297297
## DNS cache and Redis
298298

299-
When you connect to a Redis database with multiple endpoints, such as Redis Enterprise Active-Active, it's recommended to disable the JVM's DNS cache to load-balance requests across multiple endpoints.
299+
When you connect to a Redis server with multiple endpoints, such as [Redis Enterprise Active-Active](https://redis.com/redis-enterprise/technology/active-active-geo-distribution/), you *must*
300+
disable the JVM's DNS cache. If a server node or proxy fails, the IP address for any database
301+
affected by the failure will change. When this happens, your app will keep
302+
trying to use the stale IP address if DNS caching is enabled.
300303

301-
You can do this in your application's code with the following snippet:
304+
Use the following code to disable the DNS cache:
302305

303306
```java
304307
java.security.Security.setProperty("networkaddress.cache.ttl","0");

content/develop/reference/eviction/index.md

Lines changed: 177 additions & 76 deletions
Large diffs are not rendered by default.

content/embeds/rs-upgrade-paths.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Supported upgrade paths
2+
3+
<span title="Check mark icon">&#x2705;</span> Supported – You can upgrade directly from the current Redis Software cluster version.
4+
5+
<span title="X icon">:x:</span> Not supported – You cannot upgrade directly from the current Redis Software cluster version. You must first upgrade to a supported intermediate version.
6+
7+
| Current Redis Software cluster version | Upgrade to Redis Software 6.2.x | Upgrade to Redis Software 6.4.x | Upgrade to Redis Software 7.2.x | Upgrade to Redis Software 7.4.x |
8+
|:-----------------------:|:----------------:|:----------------:|:----------------:|:----------------:|
9+
| 6.0.x | <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> | <span title="Not supported">:x:</span> |
10+
| 6.2.4<br />6.2.8 || <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> |
11+
| 6.2.10<br />6.2.12<br />6.2.18 || <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> |
12+
| 6.4.x ||| <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> |
13+
| 7.2.x |||| <span title="Supported">&#x2705;</span> |

content/operate/rc/api/get-started/manage-api-keys.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The **Copy** button copies the account key to the Clipboard.
4343

4444
**API user keys** (also known as _secret keys_) are used as the value of the `x-api-secret-key` HTTP header used to authenticate a REST API request.
4545

46-
In this context, _user_ refers to the account used to sign in to the Redis Cloud console. Users must be account owners.
46+
In this context, _user_ refers to the account used to sign in to the Redis Cloud console. Users must have an owner (read-write) or viewer (read-only) role.
4747

4848
Users can have more than one user key; however, users should not share user keys.
4949

@@ -62,7 +62,7 @@ The key name:
6262
- Must be between 10 and 50 characters long
6363
- Can contain alphanumeric characters, hyphens, and underscores. Spaces are not allowed.
6464

65-
The user name must be an account owner.
65+
The user name must have an owner or viewer role.
6666

6767
Select **Create** to create the new key.
6868

@@ -123,4 +123,4 @@ To manage the CIDR allow list:
123123

124124
Use the **Edit** button to change the address for a rule or the **Delete button** to remove a rule.
125125

126-
{{<image filename="images/rc/button-access-management-cidr-rule-edit.png#no-click" alt="Use the **Edit** button to change the address for a CIDR allow list rule." class="inline">}} &nbsp; {{<image filename="images/rc/button-access-management-cidr-rule-delete.png#no-click" alt="Use the **Delete** button to remove an address from the CIDR allow list." class="inline" >}}
126+
{{<image filename="images/rc/button-access-management-cidr-rule-edit.png#no-click" alt="Use the **Edit** button to change the address for a CIDR allow list rule." class="inline">}} &nbsp; {{<image filename="images/rc/button-access-management-cidr-rule-delete.png#no-click" alt="Use the **Delete** button to remove an address from the CIDR allow list." class="inline" >}}

content/operate/rs/installing-upgrading/creating-support-package.md

Lines changed: 88 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,98 @@ toc: 'true'
1212
weight: $weight
1313
---
1414
If you encounter any issues that you are not able to resolve yourself
15-
and need to [contact Redis support](https://redis.com/company/support/) for assistance, you can create a
16-
support package that gathers all essential information to help debug
15+
and need to [contact Redis support](https://redis.io/support/) for assistance, you can [create a support package](#create-support-package) that gathers all essential information to help debug
1716
your issues.
1817

1918
{{< note >}}
2019
The process of creating the support package can take several minutes and generates load on the system.
2120
{{< /note >}}
2221

23-
## Cluster Manager UI method
22+
## Support package files
23+
24+
The support package is a zip file that contains all cluster configuration and logs.
25+
26+
When downloaded from the Cluster Manager UI, the support package's name is `debuginfo.tar.gz`.
27+
28+
### Database support package files
29+
30+
Cluster and database support packages collect database details in `database_<bdb_uid>` directories, where `<bdb_uid>` is the database ID, and Redis shard details in `<node_uid>` directories.
31+
32+
The following table describes the included files:
33+
34+
| File | Description |
35+
|------|-------------|
36+
| ccs-redis.json | Primary node's local cluster configuration store (CCS). |
37+
| /database_<bdb_uid>/ | Directory that includes files for a specific database.<bdb_uid> is the database ID. |
38+
| database_<bdb_uid>_ccs_info.txt | Database information from the cluster configuration store (CCS). Includes settings for databases, endpoints, shards, replicas, and CRDB. |
39+
| database_<bdb_uid>.clientlist | List of clients connected to the database when the support package was created. |
40+
| database_<bdb_uid>.info | Redis information and statistics for the database. See [`INFO`]({{<relref "/commands/info">}}) for details about the collected fields. |
41+
| database_<bdb_uid>.rladmin | Database information. See [`rladmin info db`]({{<relref "/operate/rs/references/cli-utilities/rladmin/info#info-db">}}) for an example of collected fields. Also includes creation time, last changed time, Redis version, memory limit, persistence type, eviction policy, hashing policy, and whether SSL, backups, and email alerts are enabled. |
42+
| database_<bdb_uid>.slowlog | Contains slowlog output, which includes commands that took longer than 10 milliseconds. Only included if `slowlog_in_sanitized_support` is `true` in cluster settings. |
43+
| /node_<node_uid>/redis_<shard_uid>.txt | For each shard of the specified database only. Includes shard configuration and [information]({{<relref "/commands/info">}}), slowlog information, and latency information. |
44+
45+
### Node support package files
46+
47+
Cluster and node support packages collect node details in `node_<node_uid>` directories, where `<node_uid>` is the node ID.
48+
49+
The following table describes the included files:
50+
51+
| File | Description |
52+
|------|-------------|
53+
| ccs-redis.json | The node's local cluster configuration store (CCS). |
54+
| /conf/ | Directory that contains configuration files. |
55+
| /logs/ | Directory that includes logs. |
56+
| node_<node_uid>.ccs | Includes cluster configuration, node configuration, and DMC proxy configuration. |
57+
| node_<node_uid>_envoy_config.json | Envoy configuration. |
58+
| node_<node_uid>.rladmin | Information about the cluster's nodes, databases, endpoints, and shards. See [`rladmin status`]({{<relref "/operate/rs/references/cli-utilities/rladmin/status">}}) for example output. |
59+
| node_<node_uid>_sys_info.txt | Node's system information including:<br />• Socket files list<br />• Log files list<br />• Processes running on the node<br />• Disk usage<br />• Persistent files list<br />• Memory usage<br />• Network interfaces<br />• Installed packages<br />• Active iptables<br />• OS and platform<br />• Network connection<br />• Status of Redis processes |
60+
| redis_<shard_uid>.txt | For each shard of the specified database only. Includes shard configuration and [information]({{<relref "/commands/info">}}), slowlog information, and latency information. |
61+
62+
Each node's `/conf/` directory contains the following files:
63+
64+
- bootstrap_status.json
65+
- ccs-paths.conf
66+
- config.json
67+
- envoy.yaml
68+
- gossip_envoy.yaml
69+
- heartbeatd-config.json
70+
- last_bootstrap.json
71+
- local_addr.conf
72+
- node.id
73+
- node_local_config.json
74+
- redislabs_env_config.sh
75+
- socket.conf
76+
- supervisord_alert_mgr.conf
77+
- supervisord_cm_server.conf
78+
- supervisord_crdb_coordinator.conf
79+
- supervisord_crdb_worker.conf
80+
- supervisord_mdns_server.conf
81+
- supervisord_pdns_server.conf
82+
83+
Each node's `/conf/` directory also contains the following key and cert modulus files:
84+
85+
- api_cert.modulus
86+
- api_key.modulus
87+
- ccs_internode_encryption_cert.modulus
88+
- ccs_internode_encryption_key.modulus
89+
- cm_cert.modulus
90+
- cm_key.modulus
91+
- data_internode_encryption_cert.modulus
92+
- data_internode_encryption_key.modulus
93+
- gossip_ca_signed_cert.modulus
94+
- gossip_ca_signed_key.modulus
95+
- mesh_ca_signed_cert.modulus
96+
- mesh_ca_signed_key.modulus
97+
- metrics_exporter_cert.modulus
98+
- metrics_exporter_key.modulus
99+
- proxy_cert.modulus
100+
- proxy_key.modulus
101+
- syncer_cert.modulus
102+
- syncer_key.modulus
103+
104+
## Create support package
105+
106+
### Cluster Manager UI method
24107

25108
To create a support package from the Cluster Manager UI:
26109

@@ -34,7 +117,7 @@ To create a support package from the Cluster Manager UI:
34117

35118
1. The package is created and downloaded by your browser.
36119

37-
## Command-line method
120+
### Command-line method
38121

39122
If package creation fails with `internal error` or if you cannot access the UI, create a support package for the cluster from the command line on any node in the cluster using the [`rladmin cluster debug_info`]({{< relref "/operate/rs/references/cli-utilities/rladmin/cluster/debug_info" >}}) command:
40123

@@ -66,7 +149,7 @@ If package creation fails with `internal error` or if you cannot access the UI,
66149

67150
Upload the tar file to [Redis support](https://redis.com/company/support/). The path to the archive is shown in the command output.
68151

69-
## REST API method
152+
### REST API method
70153

71154
You can also use `debuginfo` [REST API]({{< relref "/operate/rs/references/rest-api" >}}) requests to create and download support packages.
72155

content/operate/rs/installing-upgrading/product-lifecycle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ categories:
88
description: The product lifecycle of Redis Enterprise Software.
99
linkTitle: Product lifecycle
1010
weight: 100
11+
tocEmbedHeaders: true
1112
---
1213
The Redis Enterprise Software product lifecycle fully reflects the [subscription agreement](https://redis.com/software-subscription-agreement).
1314
However, for any discrepancy between the two policies, the subscription agreement prevails.
@@ -47,3 +48,7 @@ This update to the EOL policy allows a lead time of at least 24 months to upgrad
4748
| 5.6 – April 2020 | October 31, 2021 |
4849
| 5.4 – December 2018 | December 31, 2020 |
4950
| 5.2 – June 2018 | December 31, 2019 |
51+
52+
{{<embed-md "rs-upgrade-paths.md">}}
53+
54+
For detailed upgrade instructions, see [Upgrade a Redis Enterprise Software cluster]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-cluster">}}).

0 commit comments

Comments
 (0)