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

Catch up logs is too slow when region is idle #6670

Closed
BusyJay opened this issue Feb 21, 2020 · 0 comments · Fixed by #7285
Closed

Catch up logs is too slow when region is idle #6670

BusyJay opened this issue Feb 21, 2020 · 0 comments · Fixed by #7285
Labels
severity/major sig/raft Component: Raft, RaftStore, etc. type/bug The issue is confirmed as a bug.

Comments

@BusyJay
Copy link
Member

BusyJay commented Feb 21, 2020

When the region is idle, leader sends logs to followers only when there is a heartbeat response. TiKV is configured to send a heartbeat about every 2 seconds, which can be too slow for catching up logs.

etcd-io/etcd#9985 fixes that by making append more aggressively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major sig/raft Component: Raft, RaftStore, etc. type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants