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

Discrepancy detection between volumedriver and alba #203

Open
kinvaris opened this issue Dec 8, 2016 · 2 comments
Open

Discrepancy detection between volumedriver and alba #203

kinvaris opened this issue Dec 8, 2016 · 2 comments
Milestone

Comments

@kinvaris
Copy link
Contributor

kinvaris commented Dec 8, 2016

Problem description

Related to openvstorage/volumedriver#176
There is a small possibility that namespaces are leaked due to bugs in the volumedriver

Possible solution

Provide discrepancy check between volumedriver and alba

@wimpers wimpers added this to the Gilbert milestone Dec 12, 2016
@wimpers
Copy link

wimpers commented Dec 12, 2016

How will you know that the vDisk is not in creation? There is a chance that the namespace is created but the volume isn't yet created on the voldrv. Maybe raise if x% are left behind?

@domsj
Copy link

domsj commented Dec 13, 2016

How will you know that the vDisk is not in creation?
Keep track of the garbage candidates, and a day or so later check again whether there is a corresponding volume or not... That gives the volumedriver a day time to start using the namespace

I do suggest being careful with something like this. Will you know all vpools (possibly remote ones?) using the backend? What if the backend is used as part of another backend? (You want to make sure you're not throwing away some namespace that may still be used...)

@wimpers wimpers modified the milestones: H, G Jun 6, 2017
@wimpers wimpers modified the milestones: Roadmap, H Jun 29, 2017
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

3 participants