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

reworked RESYNC MIRROR to work with UI created mirrors #636

Merged
merged 6 commits into from
Nov 10, 2023

Conversation

heavycrystal
Copy link
Contributor

RESYNC MIRROR was internally implemented in the query layer as processing a DROP MIRROR statement followed by a CREATE MIRROR statement. This involved retrieving a column named flow_metadata from the catalog for the flow job, which contained unprocessed options for the QRep flow job. Unfortunately, mirrors created from the PeerDB UI do not set this column properly.

We now retrieve the fully configured QRepConfig proto from the config_proto column instead, modify it and then dispatch it directly without any query layer side processing.

@heavycrystal heavycrystal enabled auto-merge (squash) November 10, 2023 18:45
@heavycrystal heavycrystal merged commit f72d9a5 into main Nov 10, 2023
@serprex serprex deleted the resync-qrep-mirror-rework branch July 19, 2024 15:23
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