Skip to content

Add downreplication to Replicate queue#2350

Merged
mrtracy merged 1 commit intocockroachdb:masterfrom
mrtracy:mtracy/replicate_queue_enhance
Sep 4, 2015
Merged

Add downreplication to Replicate queue#2350
mrtracy merged 1 commit intocockroachdb:masterfrom
mrtracy:mtracy/replicate_queue_enhance

Conversation

@mrtracy
Copy link
Copy Markdown
Contributor

@mrtracy mrtracy commented Sep 3, 2015

The Replicate Queue can now remove replicas from a range that is
over-replicated.

@mrtracy mrtracy force-pushed the mtracy/replicate_queue_enhance branch from 7a3fc4e to 1a81f28 Compare September 3, 2015 22:02
Comment thread storage/client_raft_test.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would call this store0 (use index in the stores array instead of the store ID). Neither way is ideal, but I've found it's less confusing overall to use the index in the test code, since that's what you have to pass to methods like replicateRange.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@bdarnell
Copy link
Copy Markdown
Contributor

bdarnell commented Sep 3, 2015

LGTM

The Replicate Queue can now remove replicas from a range that is
over-replicated.
@mrtracy mrtracy force-pushed the mtracy/replicate_queue_enhance branch from 1a81f28 to 04ab5c0 Compare September 4, 2015 22:45
@mrtracy
Copy link
Copy Markdown
Contributor Author

mrtracy commented Sep 4, 2015

I believe I found and fixed the rare failure that was occurring in the test on Thursday.

@BramGruneir
Copy link
Copy Markdown
Member

LGTM besides the priority part. (And if you really think that it's not needed, than go ahead without it. But I do think it is important.)

mrtracy added a commit that referenced this pull request Sep 4, 2015
@mrtracy mrtracy merged commit 0138104 into cockroachdb:master Sep 4, 2015
@mrtracy mrtracy deleted the mtracy/replicate_queue_enhance branch September 4, 2015 23:19
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

Successfully merging this pull request may close these issues.

4 participants