Skip to content

Remove a single learner or member #1191

Answered by drmingdrmer
sebadob asked this question in Q&A
Discussion options

You must be logged in to vote

What's the statement you calling Raft::change_member() and what's your cluster setup before calling change_member()? I can not yet reproduce this issue on my laptop.

So this means, retain = false will fully remove members (which it does correctly for me) but it will not affect learners?
I did not get to the point in my integration tests where I checked this with learners only, I am just thinking about a solution for now, but I will test this.

retain=false is meant to remove just the affected voter and leave the existing learner unaffected.

But, how can I remove a learner then without promoting it as a member first and then using retain = false to get rid of it?
Because I would like to …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@sebadob
Comment options

@drmingdrmer
Comment options

Answer selected by sebadob
@sebadob
Comment options

@drmingdrmer
Comment options

@drmingdrmer
Comment options

@sebadob
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants