Skip to content

storage: set minLeaseTransferInterval to 1s#11729

Merged
petermattis merged 1 commit intocockroachdb:masterfrom
petermattis:pmattis/min-lease-transfer-interval
Nov 30, 2016
Merged

storage: set minLeaseTransferInterval to 1s#11729
petermattis merged 1 commit intocockroachdb:masterfrom
petermattis:pmattis/min-lease-transfer-interval

Conversation

@petermattis
Copy link
Copy Markdown
Collaborator

@petermattis petermattis commented Nov 30, 2016

The recent change to GossipStoresInterval from 5s to 60s slowed lease
transfers down too much. Now that store gossiping is reactive (and thus
occurs at varying frequency) we can't easily base
minLeaseTransferInterval on it.


This change is Reviewable

The recent change to GossipStoresInterval from 5s to 60s slowed lease
transfers down too much. Now that store gossiping is reactive (and thus
occurs at varying frequency) we can't easily base
minLeaseTransferInterval on it.
@tamird
Copy link
Copy Markdown
Contributor

tamird commented Nov 30, 2016

does this want to be tunable via env now that it isn't pegged to anything?

@petermattis
Copy link
Copy Markdown
Collaborator Author

I'm not sure. I don't have any other plans to tweak this and an env setting wouldn't have precluded a change here. Lease rebalance throttling might deserve a different mechanism. I should probably check to see whether the reactive gossip is sufficient.

@tamird
Copy link
Copy Markdown
Contributor

tamird commented Nov 30, 2016

OK, LGTM.

@petermattis petermattis merged commit 942a8bc into cockroachdb:master Nov 30, 2016
@petermattis petermattis deleted the pmattis/min-lease-transfer-interval branch November 30, 2016 21:28
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.

2 participants