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

source-oracle-flashback: update docs links #2230

Merged
merged 1 commit into from
Dec 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source-oracle-flashback/source_oracle_flashback/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,24 @@ async def validate_flashback(
raise Exception(msg)

if undo_retention_seconds < one_week_seconds:
msg = f"We require a minimum of 7 days UNDO_RETENTION to ensure consistency of this task. The current UNDO_RETENTION is {undo_retention_seconds} seconds. See go.estuary.dev/source-oracle for more information on how to configure the UNDO_RETENTION." # nopep8
msg = f"We recommend a minimum of 7 days UNDO_RETENTION to ensure consistency of this task. The current UNDO_RETENTION is {undo_retention_seconds} seconds. See go.estuary.dev/source-oracle-flashback for more information on how to configure the UNDO_RETENTION." # nopep8
if skip_retention_checks:
log.warn(msg)
else:
raise Exception(msg)

if avg_retention_seconds < one_week_seconds:
msg = f"We require a minimum of 7 days undo retention to ensure consistency of this task. The current average auto-tuned retention of the database for the past four days is {avg_retention_seconds} seconds. See go.estuary.dev/source-oracle for more information on how to configure the UNDO_RETENTION." # nopep8
msg = f"We require a minimum of 7 days undo retention to ensure consistency of this task. The current average auto-tuned retention of the database for the past four days is {avg_retention_seconds} seconds. See go.estuary.dev/source-oracle-flashback for more information on how to configure the UNDO_RETENTION." # nopep8
if skip_retention_checks:
log.warn(msg)
else:
raise Exception(msg)

if not autoextensible:
log.warn("We recommend making your undo tablespace auto-extensible. See go.estuary.dev/source-oracle for more information.")
log.warn("We recommend making your undo tablespace auto-extensible. See go.estuary.dev/source-oracle-flashback for more information.")

if retention_mode != 'GUARANTEE':
log.warn("We recommend guaranteeing retention of the undo tablespace. See go.estuary.dev/source-oracle for more information.")
log.warn("We recommend guaranteeing retention of the undo tablespace. See go.estuary.dev/source-oracle-flashback for more information.")


async def tables_to_resources(
Expand Down
Loading