8000 How to Prevent Metadata Loss When Removing PV Used for Default Disk · Issue #1700 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How to Prevent Metadata Loss When Removing PV Used for Default Disk #1700

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

Open
sky9611 opened this issue May 7, 2025 · 0 comments
Open

How to Prevent Metadata Loss When Removing PV Used for Default Disk #1700

sky9611 opened this issue May 7, 2025 · 0 comments

Comments

@sky9611
Copy link
sky9611 commented May 7, 2025

We’re running into an issue where the existing PVC is too large and we need to decrease our storage to reduce COGs. Our plan is:

  1. Provision a new, smaller PV
  2. Migrate all data from the old PV to the new one
  3. Delete the oversized PV

For step 1 & 2, we achieve them by following these two:

Now, for step 3 (removing the old PV), as mentioned in #1381, changing default disk would cause table metadata loss.

Does anyone have a recommended, safe procedure for deleting the old PV (especially the one used for default disk) without losing table metadata?

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

No branches or pull requests

1 participant
0