Skip to content

feat: DDL/DML-only mirroring#855

Merged
levkk merged 4 commits intomainfrom
levkk-ddl-only-mirroring
Mar 26, 2026
Merged

feat: DDL/DML-only mirroring#855
levkk merged 4 commits intomainfrom
levkk-ddl-only-mirroring

Conversation

@levkk
Copy link
Copy Markdown
Collaborator

@levkk levkk commented Mar 26, 2026

Support mirroring DML or DDL only. DDL-only mirroring is helpful when maintaining long-running logical replicas. DML-only mirroring is helpful to simulate logical replication, without the replication aspect.

[[mirroring]]
source = "prod"
destination = "mirror"
level = "ddl"

This is helpful when resharding, for example, to make sure logical replication doesn't break. #807

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

❌ Patch coverage is 82.68156% with 31 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pgdog-config/src/core.rs 22.72% 17 Missing ⚠️
pgdog-config/src/replication.rs 12.50% 14 Missing ⚠️

📢 Thoughts on this report? Let us know!

@blacksmith-sh

This comment has been minimized.

@levkk levkk merged commit bad1471 into main Mar 26, 2026
9 checks passed
@levkk levkk deleted the levkk-ddl-only-mirroring branch March 26, 2026 02:25
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.

1 participant