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

When using db-rename, the cleanup scripts for the LEFT cluster are referencing the renamed db. #174

Open
dstreev opened this issue Jan 24, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dstreev
Copy link
Collaborator

dstreev commented Jan 24, 2025

When using db-rename, the 'renamed' db appears in the LEFT_CleanUp sql. If there is no such DB, it would fail, right? (I'm running without --exec for now)
Using --database originaldb --db-rename renameddb -tf "hm..test"
Got: - see USE renameddb;
-- EXECUTION CLEANUP script for ez_sb_gmaodin on LEFT cluster

-- 2025-01-23_20-40-12

USE renameddb;

-- Cleanup script: hmmctest
-- To be run AFTER final RIGHT SQL statements.
USE originaldb;
DROP TABLE IF EXISTS hms_mirror_transfer_hmmctest;

-- Cleanup script: hmmdtest
-- To be run AFTER final RIGHT SQL statements.
USE originaldb;
DROP TABLE IF EXISTS hms_mirror_transfer_hmmdtest;

@dstreev dstreev added the bug Something isn't working label Jan 24, 2025
@dstreev dstreev self-assigned this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant