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

zdb: nsswap as alternative to reload workflow #136

Open
maxux opened this issue Jun 9, 2022 · 0 comments
Open

zdb: nsswap as alternative to reload workflow #136

maxux opened this issue Jun 9, 2022 · 0 comments
Assignees
Milestone

Comments

@maxux
Copy link
Collaborator

maxux commented Jun 9, 2022

In order to reload a namespace modified underneath (with a FREEZE), that will require some downtime and locking.

In case some namespace can be rebuilt online, an alternative to that would a way to swap two namespaces. Example: creating a new namespace, fillin with wanted data then atomicly swap original namespace with the new one (rename directory and update index pointers). This would require no downtime and would be easy to implement.

To investigate. Can be used on the hub to cleanup the namespace online.

@maxux maxux self-assigned this Jun 9, 2022
@maxux maxux modified the milestones: 2.1.0, 2.2.0 Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant