Skip to content

Commit 543011e

Browse files
Merge branch 'main' into DOC-4131-rdi-localhost-ip-change-fail
2 parents 651b7a5 + bd932e0 commit 543011e

File tree

5 files changed

+42
-103
lines changed

5 files changed

+42
-103
lines changed

content/commands/client-trackinginfo/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ Here's the list of tracking information sections and their respective values:
4343
* `caching-no`: The next command won't cache keys (exists only together with `optout`).
4444
* `noloop`: The client isn't notified about keys modified by itself.
4545
* `broken_redirect`: The client ID used for redirection isn't valid anymore.
46-
* **redirect**: The client ID used for notifications redirection, or -1 when none.
46+
* **redirect**: The client ID used for notifications redirection, 0 for self-redirection, or -1 when none.
4747
* **prefixes**: A list of key prefixes for which notifications are sent to the client.

content/integrate/redis-data-integration/ingest/data-pipelines/data-pipelines.md

Lines changed: 23 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ The sections below describe the two types of configuration file in more detail.
6969
## The `config.yaml` file
7070

7171
Here is an example of a `config.yaml` file. Note that the values of the
72-
form "`${name}`" refer to environment variables that are set elsewhere. In particular,
73-
you should normally use environment variables as shown to set the source
74-
username and password rather than storing them in plain text in this
72+
form "`${name}`" refer to environment variables that you should set with the
73+
[`redis-di set-secret`]({{< relref "/integrate/redis-data-integration/ingest/reference/cli/redis-di-set-secret" >}})
74+
command. In particular, you should normally use environment variables as shown to set the source
75+
and target username and password rather than storing them in plain text in this
7576
file (see [Set secrets](#set-secrets) below for more information).
7677

7778
```yaml
@@ -87,6 +88,13 @@ sources:
8788
database: redislabscdc
8889
user: ${SOURCE_DB_USERNAME}
8990
password: ${SOURCE_DB_PASSWORD}
91+
# The names of the following properties should match the ones you used
92+
# when setting the TLS/mTLS secrets. Set only `cacert` if you are using
93+
# TLS, but set all of them if you are using mTLS:
94+
# key: ${SOURCE_DB_KEY}
95+
# cert: ${SOURCE_DB_CERT}
96+
# cacert: ${SOURCE_DB_CACERT}
97+
# key_password: ${SOURCE_DB_KEY_PASSWORD}
9098
tables:
9199
emp:
92100
snapshot_sql: "SELECT * from redislabscdc.emp WHERE empno < 1000"
@@ -114,12 +122,15 @@ targets:
114122
type: redis
115123
host: localhost
116124
port: 12000
117-
# The names of the following files should match the ones you used
125+
user: ${TARGET_DB_USERNAME}
126+
password: ${TARGET_DB_PASSWORD}
127+
# The names of the following properties should match the ones you used
118128
# when setting the TLS/mTLS secrets. Set only `cacert` if you are using
119-
# TLS, but set all three if you are using mTLS:
120-
# key: /etc/certificates/target_db/redis.key
121-
# cert: /etc/certificates/target_db/redis.crt
122-
# cacert: /etc/certificates/target_db/ca.crt
129+
# TLS, but set all of them if you are using mTLS:
130+
# key: ${TARGET_DB_KEY}
131+
# cert: ${TARGET_DB_CERT}
132+
# cacert: ${TARGET_DB_CACERT}
133+
# key_password: ${TARGET_DB_KEY_PASSWORD}
123134
```
124135

125136
The main sections of the file configure [`sources`](#sources) and [`targets`](#targets).
@@ -183,97 +194,6 @@ sudo service k3s restart
183194
```
184195
{{< /note >}}
185196

186-
### Database-specific connection properties {#db-connect-props}
187-
188-
Use the following properties in the [`sources.advanced.source`](#sources) section
189-
of `config.yaml` for more control over RDI's connection to your database.
190-
191-
#### MySQL/MariaDB
192-
193-
See the
194-
[Debezium SSL mode properties](https://debezium.io/documentation/reference/stable/connectors/mysql.html#mysql-property-database-ssl-mode)
195-
for a full list of properties specific to MySQL/MariaDB.
196-
197-
- [`database.ssl.keystore`](https://debezium.io/documentation/reference/stable/connectors/mysql.html#mysql-property-database-ssl-keystore):
198-
(Optional) The location of the key store file. Use this for two-way authentication between
199-
your client and the MySQL/MariaDB Server.
200-
- [`database.ssl.keystore.password`](https://debezium.io/documentation/reference/stable/connectors/mysql.html#mysql-property-database-ssl-keystore-password):
201-
(Optional) The password for the key store file. You only need this if you have also configured
202-
`database.ssl.keystore`.
203-
- [`database.ssl.truststore`](https://debezium.io/documentation/reference/stable/connectors/mysql.html#mysql-property-database-ssl-truststore):
204-
The location of the trust store file to use for server certificate verification.
205-
- [`database.ssl.truststore.password`](https://debezium.io/documentation/reference/stable/connectors/mysql.html#mysql-property-database-ssl-truststore-password):
206-
The password for the trust store file. This is required both to check the integrity of the truststore
207-
and to unlock it.
208-
209-
#### PostgreSQL
210-
211-
See the
212-
[Debezium connector properties](https://debezium.io/documentation/reference/stable/connectors/postgresql.html#postgresql-connector-properties)
213-
for a full list of properties specific to PostgreSQL.
214-
215-
- [`database.sslcert`](https://debezium.io/documentation/reference/stable/connectors/postgresql.html#postgresql-property-database-sslcert):
216-
The file path for the client's SSL certificate for the client. See
217-
[Database Connection Control Functions](https://www.postgresql.org/docs/current/libpq-connect.html)
218-
in the PostgreSQL docs for more information.
219-
- [`database.sslkey`](https://debezium.io/documentation/reference/stable/connectors/postgresql.html#postgresql-property-database-sslkey):
220-
The file path for the client's SSL private key. See
221-
[Database Connection Control Functions](https://www.postgresql.org/docs/current/libpq-connect.html)
222-
in the PostgreSQL docs for more information.
223-
- [`database.sslpassword`](https://debezium.io/documentation/reference/stable/connectors/postgresql.html#postgresql-property-database-sslpassword):
224-
The password for the client's private key file as specified `database.sslkey`. See
225-
[Database Connection Control Functions](https://www.postgresql.org/docs/current/libpq-connect.html)
226-
in the PostgreSQL docs for more information.
227-
- [`database.sslrootcert`](https://debezium.io/documentation/reference/stable/connectors/postgresql.html#postgresql-property-database-sslrootcert):
228-
The file path for the root certificate(s) used to validate the server. See
229-
[Database Connection Control Functions](https://www.postgresql.org/docs/current/libpq-connect.html)
230-
in the PostgreSQL docs for more information.
231-
232-
#### Oracle
233-
234-
See the Kafka
235-
[configuration docs](https://kafka.apache.org/documentation.html#configuration)
236-
for a full list of properties relevant to Oracle configuration.
237-
Where a property has a `<role>` element, you can set the role to be
238-
either `producer` or `consumer`, as appropriate.
239-
240-
- [`schema.history.internal.<role>.security.protocol`](https://kafka.apache.org/documentation.html#consumerconfigs_security.protocol):
241-
The protocol for communicating with brokers. This can take the values
242-
`PLAINTEXT`, `SSL`, `SASL_PLAINTEXT`, and `SASL_SSL`.
243-
- [`schema.history.internal.<role>.ssl.keystore.location`](https://kafka.apache.org/documentation.html#producerconfigs_ssl.keystore.location):
244-
The file path for the keystore.
245-
- [`schema.history.internal.<role>.ssl.keystore.password`](https://kafka.apache.org/documentation.html#producerconfigs_ssl.keystore.password):
246-
The password for the keystore file. You only need this you have also set
247-
`schema.history.internal.<role>.ssl.keystore.location`.
248-
- [`schema.history.internal.<role>.ssl.truststore.location`](https://kafka.apache.org/documentation.html#producerconfigs_ssl.truststore.location):
249-
The file path for the truststore.
250-
- [`schema.history.internal.<role>.ssl.truststore.password`](https://kafka.apache.org/documentation.html#producerconfigs_ssl.truststore.password):
251-
The password for the trust store file. If you don't set a password, RDI will still use the trust store
252-
file specified in `schema.history.internal.<role>.ssl.truststore.location` but without integrity
253-
checking.
254-
- [`schema.history.internal.<role>.ssl.key.password`](https://kafka.apache.org/documentation.html#producerconfigs_ssl.key.password):
255-
The password for the private key in the keystore file specified in
256-
`schema.history.internal.<role>.ssl.keystore.location`.
257-
- [`database.dbname`](https://debezium.io/documentation/reference/stable/connectors/oracle.html#oracle-property-database-dbname):
258-
The name of the database you want to connect to. If you are using a container database environment,
259-
then you should set this to the name of the root container database (CDB), rather than an included
260-
pluggable database (PDB).
261-
- [`database.pdb.name`](https://debezium.io/documentation/reference/stable/connectors/oracle.html#oracle-property-database-pdb-name):
262-
The name of the Oracle pluggable database you want to connect to. You can only use this with
263-
container database (CDB) installations.
264-
- [`decimal.handling.mode`](https://debezium.io/documentation/reference/stable/connectors/oracle.html#oracle-property-decimal-handling-mode):
265-
This specifies the data format for floating point values in `NUMBER`, `DECIMAL` and `NUMERIC`
266-
columns. This can take the values `precise` (store values with any number of decimal places),
267-
`double` (use double-precision floating point), or `string` (encode numbers as strings).
268-
The default value is `precise`. See
269-
[Oracle numeric types](https://debezium.io/documentation/reference/stable/connectors/oracle.html#oracle-numeric-types)
270-
for more information about decimal handling.
271-
- `key.converter.schemas.enable` and `value.converter.schemas.enable`:
272-
Boolean values specifying whether or not you want to add JSON schemas to
273-
serialized data. See Kafka's [connect transforms](https://kafka.apache.org/documentation/#connect_transforms)
274-
docs for an example.
275-
276-
277197
## Job files
278198

279199
You can optionally supply one or more job files that specify how you want to
@@ -414,7 +334,10 @@ Before you deploy your pipeline, you must set the authentication secrets for the
414334
source and target databases. Each secret has a corresponding property name that
415335
you can pass to the
416336
[`redis-di set-secret`]({{< relref "/integrate/redis-data-integration/ingest/reference/cli/redis-di-set-secret" >}})
417-
command to set the property's value. For example, you would use the
337+
command to set the property's value. You can then refer to these properties
338+
in `config.yaml` using the syntax "`${PROPERTY_NAME}`"
339+
(the sample [config.yaml file](#the-configyaml-file) shows these properties in use).
340+
For example, you would use the
418341
following command line to set the source database username to `myUserName`:
419342

420343
```bash

content/operate/oss_and_stack/stack-with-enterprise/release-notes/redisearch/redisearch-2.6-release-notes.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,25 @@ weight: 92
1515
---
1616
## Requirements
1717

18-
RediSearch v2.6.20 requires:
18+
RediSearch v2.6.21 requires:
1919

2020
- Minimum Redis compatibility version (database): 6.0.16
2121
- Minimum Redis Enterprise Software version (cluster): 6.2.8
2222

23+
## v2.6.21 (August 2024)
24+
25+
This is a maintenance release for RediSearch 2.6
26+
27+
Update urgency: `HIGH` : There is a critical bug that may affect a subset of users. Upgrade!
28+
29+
- Bug fixes:
30+
- [#4944](https://github.com/redisearch/redisearch/pull/4944) Adjusting the module configuration to avoid routing overload on the first shard in a clustered database (MOD-7505)
31+
- [#4897](https://github.com/redisearch/redisearch/pull/4897) - `FT.AGGREGATE` with `VERBATIM` option is not handled by the shards in cluster mode (MOD-7463)
32+
- [#4918](https://github.com/redisearch/redisearch/pull/4918) - Union query, similar to `"is|the"`, starting with 2 [stopwords](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/stopwords/) could cause a crash (MOD-7495)
33+
- [#4919](https://github.com/redisearch/redisearch/pull/4919) - Counting twice the field statistics at the `#search` section of an `INFO` response (MOD-7339)
34+
- [#4923](https://github.com/redisearch/redisearch/pull/4923) - Loop when using the wildcard `w'term'` and prefix/infix/suffix pattern `'ter*'`, causing the shard to restart (MOD-7453)
35+
- [#4954](https://github.com/redisearch/redisearch/pull/4954) `FT.PROFILE` on `AGGREGATE` numeric queries could cause a crash due to reusing the internal `CURSOR` in a large range of numeric values (MOD-7454)
36+
2337
## v2.6.20 (July 2024)
2438

2539
This is a maintenance release for RediSearch 2.6

content/operate/rc/databases/configuration/advanced-capabilities.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ Use the [Search and query sizing calculator](https://redis.io/redisearch-sizing-
6161

6262
#### Query performance factor
6363

64-
The query performance factor adds extra compute power specifically for search and query. When you create a database with search and query, you can increase your search queries per second by the selected factor.
64+
The query performance factor adds extra compute power specifically for search and query. When you create a database with search and query, you can increase your search queries per second by the selected factor. Below is a screenshot of the Cloud configuration for query perfomance factor.
65+
66+
{{<image filename="images/rc/database-details-query-performance-factor-pro.png" alt="For Pro databases, you can select the query performance factor for your database." width="75%">}}
6567

6668
We recommend testing your application with a test database to see your baseline queries per second and determine how much you want to boost your query performance. After you have determined your queries per second and your desired performance factor, [create a new database]({{< relref "/operate/rc/databases/create-database" >}}) with the desired performance factor and [migrate data]({{< relref "/operate/rc/databases/migrate-databases" >}}) from the test database to your new database.
66.4 KB
Loading

0 commit comments

Comments
 (0)