Skip to content

Add experimental script for CDC to direct slot subscription migration#40

Open
teknogeek0 wants to merge 1 commit intomainfrom
create-handoff-slot-script
Open

Add experimental script for CDC to direct slot subscription migration#40
teknogeek0 wants to merge 1 commit intomainfrom
create-handoff-slot-script

Conversation

@teknogeek0
Copy link
Copy Markdown
Contributor

… a direct slot subscription between source and target

… a direct slot subscription between source and target
PGCOPYDB_SLOT="${PGCOPYDB_SLOT_NAME:-pgcopydb}"

# Find the most recent migration directory
MIGRATION_DIR="${MIGRATION_DIR:-$(ls -dt ~/migration_* 2>/dev/null | head -1 || true)}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
MIGRATION_DIR="${MIGRATION_DIR:-$(ls -dt ~/migration_* 2>/dev/null | head -1 || true)}"
MIGRATION_DIR="${MIGRATION_DIR:-$(ls -dt ~/migration_*/ 2>/dev/null | head -1 || true)}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants