Skip to content

Conversation

RahulSrivastav14
Copy link
Contributor

This update enhances the Database Upgrade guide by adding a cleanup section under Step 17.

The new section provides clear instructions for removing replication artifacts from the source database in the event that the upgrade fails or is manually aborted.

This ensures no residual replication configurations or resources are left behind, allowing for a clean environment for future upgrade attempts.

Copy link

Preview Available 🚀

Commit Author: Matty Stratton
Commit Message: SMall changes to intelligent assessment post (#939)

Preview Link: turbot-com-git-docs-guardrailsupdate-guide-databa-18ac89-turbot.vercel.app

… guide and ensure caution message formatting is consistent.
Copy link

Preview Available 🚀

Commit Author: Matty Stratton
Commit Message: SMall changes to intelligent assessment post (#939)

Preview Link: turbot-com-git-docs-guardrailsupdate-guide-databa-18ac89-turbot.vercel.app

@rajlearner17 rajlearner17 requested a review from Copilot July 14, 2025 17:15
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR augments the Database Upgrade guide by refining the resource cleanup instructions after a successful switchover and adding a new section for cleaning up replication artifacts if an upgrade fails or is aborted.

  • Clarified deletion steps for the new TED stack and associated AWS resources post-upgrade
  • Introduced a "In Case of Upgrade Failure or Aborted Migration" section with SQL commands to drop publications, subscriptions, and replication slots
  • Listed additional AWS resources to remove after a failed upgrade attempt
Comments suppressed due to low confidence (1)

docs/guides/hosting-guardrails/disaster-recovery/database-upgrade/index.md:553

  • The SQL command for dropping a replication slot is incorrect. Use SELECT pg_drop_replication_slot('rs_blue'); instead of SELECT * FROM ....
SELECT * FROM pg_drop_replication_slot('rs_blue');

@rajlearner17 rajlearner17 merged commit d2373d0 into main Jul 15, 2025
4 checks passed
@rajlearner17 rajlearner17 deleted the update-guide-database-upgrade branch July 15, 2025 09:47
rajlearner17 added a commit that referenced this pull request Aug 18, 2025
…database upgrade guide and ensure caution message formatting is consistent.(#368)

Co-authored-by: raj <raj@turbot.com>
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