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

kvcoord: introduce RangeUnavailableError and DistSender fail-fast behavior #101455

Conversation

iAaronBuck
Copy link
Contributor

@iAaronBuck iAaronBuck commented Apr 13, 2023

Previously, the RangeUnavailableError did not exist,
and the DistSender would continue infinitely if
no responses from replicas representing a range
were received, as noted in the fail-fast DistSender
work requested in #74503. This fail-fast work also
requires a RangeUnavailableError. Therefore, this PR
resolves that unmet requirement by introducing the error
along with creating the fail-fast behavior within DistSender.

Epic: none
Release note (performance improvement): introduces the
RangeUnavailableError and enables fail-fast behavior in
DistSender.

@iAaronBuck iAaronBuck requested a review from a team as a code owner April 13, 2023 15:21
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@iAaronBuck iAaronBuck requested a review from zachlite April 13, 2023 15:22
@iAaronBuck iAaronBuck force-pushed the aaronbuck_introduceRangeUnavailableError branch from b2141eb to 3d0996f Compare April 13, 2023 17:32
@iAaronBuck iAaronBuck changed the title roachpb: introduce RangeUnavailableError to roachpb kvcoord: introduce RangeUnavailableError and DistSender fail-fast behavior Apr 13, 2023
@iAaronBuck iAaronBuck force-pushed the aaronbuck_introduceRangeUnavailableError branch from 3d0996f to 690e9cd Compare April 13, 2023 18:32
@shralex shralex requested a review from AlexTalks April 13, 2023 19:14
@iAaronBuck iAaronBuck force-pushed the aaronbuck_introduceRangeUnavailableError branch 6 times, most recently from fc5efa3 to 525f620 Compare April 24, 2023 18:57
@iAaronBuck iAaronBuck force-pushed the aaronbuck_introduceRangeUnavailableError branch 2 times, most recently from fa40af4 to aaef511 Compare April 26, 2023 14:15
…avior

Previously, the RangeUnavailableError did not exist,
and the DistSender would continue infinitely if
no responses from replicas representing a range
were received, as noted in the fail-fast DistSender
work requested in cockroachdb#74503. This fail-fast work also
requires a RangeUnavailableError. Therefore, this PR
resolves that unmet requirement by introducing the error
along with creating the fail-fast behavior within DistSender.

Epic: none
Release note (performance improvement): introduces the
RangeUnavailableError and enables fail-fast behavior in
DistSender.
@iAaronBuck iAaronBuck force-pushed the aaronbuck_introduceRangeUnavailableError branch from aaef511 to 8e6ba60 Compare April 26, 2023 15:01
@zachlite zachlite closed this Jun 20, 2023
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.

3 participants