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

AdminClient: set snapshot table and apply snapshot to new table #276

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

ciacono
Copy link
Collaborator

@ciacono ciacono commented Nov 19, 2024

Add method to change the table of the hrpc.Snapshot. By setting the snapshot to a new table name that doesn't already exist, the data in the snapshot can be cloned into this new table instead of being restored to the table the snapshot was created from.

integration_test.go Outdated Show resolved Hide resolved
Add integration test to demonstrate cloning a snapshot to a new,
not currently existing table, instead of restoring the snapshot to
the table it was created from.
@dethi dethi merged commit 74ec557 into tsuna:master Nov 19, 2024
2 checks passed
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