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

ZOMBIE vnodes need a way to hand off data #4

Open
ghost opened this issue Sep 4, 2013 · 3 comments
Open

ZOMBIE vnodes need a way to hand off data #4

ghost opened this issue Sep 4, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 4, 2013

Skuld.politics should be responsible for periodically asking ZOMBIE vnodes to ensure their data is safely handed off to the current cohort, and shutting down. Not sure exactly how this should work yet, but I think we need permission from a newer epoch leader to do it. Maybe that leader should coordinate the handoff?

@eric
Copy link
Contributor

eric commented Aug 4, 2014

I'm having trouble seeing what needs to be done here.

The election docs talk about something after step 8 that is moving data off of zombie nodes, but I don't see anything in the code doing that.

Also, it seems that as part of an election, all of the claims on a zombie node should be pulled off, so we should be fine, anyways.

@aphyr
Copy link
Contributor

aphyr commented Aug 4, 2014

Yeah. Zombie vnodes need to enforce that their data is all immutable, then attempt to merge each existing record into at least QUORUM active nodes before deleting it locally. Only once all local data is deleted can the vnode shut down.

@aphyr
Copy link
Contributor

aphyr commented Aug 4, 2014

(if you can't merge your data into a majority of new vnodes, we could lose data by dropping the vnode prematurely)

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

2 participants