Repository navigation
RDSC-6347: RDI 2.4.0 upgrade notes for Debezium 3.7 #4491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
orhanabdula-prog
wants to merge
7
commits into
redis:main
Choose a base branch
from
orhanabdula-prog:RDSC-6347-rdi-2-4-0-release-notes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+190
−38
Draft
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9a28dfa
Add the RDI 2.4.0 upgrade notes and draft release notes for Debezium 3.7
orhanabdula-prog 44dc033
Fix the Oracle archive destination property and mining strategy advice
orhanabdula-prog 5308dcc
RDSC-6347: Update Oracle custom images, snapshot-mode notes, and Mari…
orhanabdula-prog 00ce633
RDSC-6347: Remove SQL Server and poll interval bullets from the 2.4.0…
orhanabdula-prog 06949f8
RDSC-6347: Narrow the 2.4.0 docs to the Debezium 3.7 upgrade
orhanabdula-prog c9ee26d
RDSC-6347: Restore the Oracle archive destination property fix
orhanabdula-prog dea58cd
RDSC-6347: Address review comments on snapshot modes, MariaDB TLS val…
orhanabdula-prog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,8 @@ weight: 30 | |
| --- | ||
|
|
||
| > [!NOTE] | ||
| > Before you upgrade, review [Upgrading to RDI 2.2.0](#upgrading-to-rdi-220). If you upgrade | ||
| > Before you upgrade, review [Upgrading to RDI 2.4.0](#upgrading-to-rdi-240). If you upgrade | ||
| > from RDI 2.0.x, also review [Upgrading to RDI 2.2.0](#upgrading-to-rdi-220), and if you upgrade | ||
| > from RDI 1.19.x or earlier, also review [Upgrading to RDI 2.0.0](#upgrading-to-rdi-200). | ||
|
|
||
| > [!WARNING] | ||
|
|
@@ -181,6 +182,84 @@ your saved `rdi-values.yaml` for that version. This will restore your previous w | |
| > described in [Uninstall RDI](/content/integrate/redis-data-integration/installation/install-k8s.md#uninstall-rdi), | ||
| > and then install the old version. | ||
|
|
||
| ## Upgrading to RDI 2.4.0 | ||
|
|
||
| RDI 2.4.0 upgrades the Debezium collector from Debezium 3.5 to Debezium 3.7. Check the following | ||
| changes before you upgrade from RDI 2.2.x. If you upgrade from RDI 2.0.x, also review | ||
| [Upgrading to RDI 2.2.0](#upgrading-to-rdi-220). | ||
|
|
||
| ### Replace the Oracle LogMiner batch and sleep properties | ||
|
|
||
| Debezium 3.7 no longer sizes each LogMiner iteration by a range of SCNs. Instead, while the | ||
| collector catches up, each iteration reads `log.mining.log.count.min` (default `2`) logs per redo | ||
| thread, and up to `log.mining.log.count.growth.max` (default `4`) while a long-running transaction | ||
| holds back the mining. RDI 2.4.0 rejects the properties that Debezium removed. This example | ||
| shows where to remove them from your configuration: | ||
|
|
||
| ```yaml | ||
| sources: | ||
| <source-name>: | ||
| advanced: | ||
| source: | ||
| log.mining.batch.size.min: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.batch.size.max: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.batch.size.default: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.batch.size.increment: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.sleep.time.min.ms: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.sleep.time.max.ms: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.sleep.time.default.ms: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.sleep.time.increment.ms: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.scn.gap.detection.gap.size.min: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.scn.gap.detection.time.interval.max.ms: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.continuous.mine: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.buffer.infinispan.cache.rollbacks: <value> # Rejected since RDI 2.4.0 | ||
| log.mining.buffer.ehcache.rollbacks.config: <value> # Rejected since RDI 2.4.0 | ||
| ``` | ||
|
Comment on lines
+193
to
+217
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if we should have a longer explanation here, like how to change the value if the customer has set custom ones. |
||
|
|
||
| A collector that is already running ignores these properties after the upgrade, so it mines with | ||
| the default log counts until you redeploy. | ||
|
|
||
| If you set custom values for the removed properties, replace them as follows: | ||
|
|
||
| | Removed properties | What to do | | ||
| | :-- | :-- | | ||
| | `log.mining.batch.size.*`, raised so the collector keeps up with the volume of your redo logs | Remove them and raise `log.mining.log.count.min`. | | ||
| | `log.mining.batch.size.*`, raised so mining advances past long-running transactions | Remove them and raise `log.mining.log.count.growth.max`. | | ||
| | `log.mining.sleep.time.*` | Remove them. Debezium 3.7 has no replacement. | | ||
| | `log.mining.scn.gap.detection.*` | Remove them. Debezium 3.7 has no replacement. | | ||
| | `log.mining.continuous.mine`, `log.mining.buffer.infinispan.cache.rollbacks`, and `log.mining.buffer.ehcache.rollbacks.config` | Remove them. Debezium 3.7 has no replacement. | | ||
|
|
||
| The new properties count redo logs, not SCNs, so you can't convert an old batch size to a log | ||
| count. Start with the defaults, and raise the values in small steps if the collector falls behind. | ||
| The log count properties don't apply when `log.mining.strategy` is set to `redo_log_catalog`. | ||
|
|
||
| `log.mining.strategy: redo_log_catalog` still works in Debezium 3.7, but Debezium has deprecated | ||
| it and plans to remove it. Use the default `online_catalog` instead, or `hybrid` if `lob.enabled` | ||
| is not set to `true`. | ||
|
|
||
| ### Check MySQL and MariaDB sources | ||
|
|
||
| RDI 2.4.0 rejects `snapshot.mode: never` for MySQL and MariaDB sources, and a source that uses it | ||
| fails at startup. Use `no_data`, which also skips the initial snapshot, if it suits your case. | ||
|
|
||
| In addition, these sources parse DDL statements with a new parser. If a source fails on a DDL | ||
| statement that it parsed before, set `ddl.parser.type: legacy` in the `advanced.source` section | ||
| of the source. | ||
|
|
||
| ### Update the database.ssl.mode values of MariaDB sources | ||
|
|
||
| MariaDB sources now use the MariaDB connector, which takes MariaDB values for `database.ssl.mode`. | ||
| Replace `disabled` and `preferred` with `disable`, `required` with `trust`, `verify_ca` with | ||
| `verify-ca`, and `verify_identity` with `verify-full`. The default is now `disable`. | ||
| `disable` turns off encryption. `trust` requires encryption but doesn't verify the server | ||
| certificate. | ||
|
|
||
| ### Check changes in the captured data | ||
|
|
||
| PostgreSQL user defined types are reported without their schema, for example `geometry` | ||
| instead of `"inventory"."geometry"`. This changes the metadata that RDI reports, without any | ||
| change to your configuration. | ||
|
|
||
| ## Upgrading to RDI 2.2.0 | ||
|
|
||
| Check the following changes before you upgrade from RDI 2.0.0. If you upgrade from RDI 1.19.x or | ||
|
|
||
28 changes: 28 additions & 0 deletions
28
content/integrate/redis-data-integration/release-notes/rdi-2-4-0.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| Title: Redis Data Integration release notes 2.4.0 (TBD 2026) | ||
| alwaysopen: false | ||
| categories: | ||
| - docs | ||
| - operate | ||
| - rs | ||
| description: | | ||
| Debezium 3.7 for the Debezium collector. | ||
| linkTitle: 2.4.0 (TBD 2026) | ||
| toc: 'true' | ||
| weight: 964 | ||
| --- | ||
|
|
||
| ## What's New in 2.4.0 | ||
|
|
||
| ### Breaking Changes | ||
|
|
||
| See [Upgrading to RDI 2.4.0](/content/integrate/redis-data-integration/installation/upgrade.md#upgrading-to-rdi-240) for the breaking changes and the steps to take before and after you upgrade. | ||
|
|
||
| - Oracle sources reject the LogMiner batch, sleep, and SCN gap detection properties that Debezium 3.7 removed. | ||
| - MySQL and MariaDB sources no longer accept `snapshot.mode: never`, and parse DDL statements with a new parser. | ||
| - MariaDB sources take MariaDB values for `database.ssl.mode`. | ||
| - PostgreSQL user defined types are reported without their schema. | ||
|
|
||
| ### Improvements | ||
|
|
||
| - **Debezium upgrade**: Upgraded Debezium to version 3.7.0. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding a recommendation to the user to always use
initial, and linking to the actual modes per connector from the Debezium docs?