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

add new command to delete stale omap objects #251

Open
yati1998 opened this issue Feb 26, 2024 · 5 comments
Open

add new command to delete stale omap objects #251

yati1998 opened this issue Feb 26, 2024 · 5 comments

Comments

@yati1998
Copy link
Contributor

Add a new omap command to list all the stale omap objects and delete them.
Check this for more details:
#237 (comment)

@travisn
Copy link
Member

travisn commented Feb 26, 2024

Can you describe the scenario more? Will users commonly hit this issue, or not so common if they are following recommended practices?

@yati1998
Copy link
Contributor Author

There can be cases where the subvolume was deleted but the omaps were not clean, which will result in having a stale omap. Currently, in the deletion of omap we are deleting the omap object and key only for the stale subvolumes to avoid these kinds of scenarios.

@travisn
Copy link
Member

travisn commented Feb 27, 2024

Sounds good, so we don't expect it to be common, but it may be possible.

@subhamkrai
Copy link
Collaborator

@yati1998 this is done right?

@yati1998
Copy link
Contributor Author

yati1998 commented Apr 1, 2024

No, it is not done, it will be different from the subvolume cleanup.

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

3 participants