Skip to content

Commit

Permalink
source-oracle-flashback: update docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
mdibaiee committed Dec 27, 2024
1 parent 8fad862 commit 01e9aa7
Showing 1 changed file with 4 additions and 4 deletions.
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 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-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

0 comments on commit 01e9aa7

Please sign in to comment.