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

kvserver: DistSender lease detection prototype #105507

Conversation

erikgrinaker
Copy link
Contributor

@erikgrinaker erikgrinaker commented Jun 24, 2023

When a DistSender request has been running for some time without a response, asynchronously scan the range replicas for a different leaseholder. If found, cancel the in-flight request and retry it on a different replica.

Combined with expiration-based leases, this successfully recovers from disk stalls, replica deadlocks, and partial network partitions in less than 10 seconds.

Touches #105168.

@erikgrinaker erikgrinaker self-assigned this Jun 24, 2023
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Epic: none
Release note: None
@erikgrinaker erikgrinaker force-pushed the distsender-lease-detection-prototype branch from 7c0a521 to d93e0b3 Compare January 22, 2024 11:30
@erikgrinaker
Copy link
Contributor Author

Superceded by #118755.

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