Skip to content
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

DBZ-5256 Add internal.log.mining.transaction.snapshot.boundary.modeoption #3615

Merged
merged 1 commit into from Jun 16, 2022

Conversation

Naros
Copy link
Member

@Naros Naros commented Jun 16, 2022

https://issues.redhat.com/browse/DBZ-5256

This internal option is meant to replace the previous internal option log.mining.query.logs.for.snapshot.offset. This now enum-based setting provides much more flexibility by being able to completely disable the in-progress transaction check, only grab the transactions that are in-progress based on V$TRANSACTION, or to gather all in-progress transactions by scanning the redo logs and inspecting V$TRANSACTION.

In addition, for the sake of downstream, I've opted to temporarily enforce SKIP as the default. The option is internal so that if users want to explore this feature they can opt-in to it, but this seems like the most logical way to keep the connector behavior stable.

… option

This internal option is meant to replace the old `log.mining.query.logs.for.snapshot.offset`.
This now enum-based setting provides much more flexibility by being able to completely
disable the in-progress transaction check (now the default), only grab transactions that are
in-progress from V$TRANSACTION, or finally be able to grab all in-progress transactions that
are both from V$TRANSACTION and by scanning the logs.
@Naros Naros requested a review from jpechane June 16, 2022 02:42
@jpechane jpechane merged commit 263ba5a into debezium:main Jun 16, 2022
@jpechane
Copy link
Contributor

@Naros Applied, very reasonable design, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants