Skip to content

backport-2.0: storage: ensure non-expired context before each liveness update attempt#25634

Merged
craig[bot] merged 1 commit intocockroachdb:release-2.0from
nvb:backport2.0-25631
May 22, 2018
Merged

backport-2.0: storage: ensure non-expired context before each liveness update attempt#25634
craig[bot] merged 1 commit intocockroachdb:release-2.0from
nvb:backport2.0-25631

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented May 17, 2018

Backport 1/1 commits from #25631.

/cc @cockroachdb/release


Fixes #25430.

Before this change, a liveness update could get stuck in an infinite
loop if its context expired. This is because it would continue to retry
and continue to get errRetryLiveness errors due to
AmbiguousResultErrors created by DistSender.

Release note: None

Fixes cockroachdb#25430.

Before this change, a liveness update could get stuck in an infinite
loop if its context expired. This is because it would continue to retry
and continue to get `errRetryLiveness` errors due to
`AmbiguousResultErrors` created by `DistSender`.

Release note: None
@nvb nvb requested review from a team and bdarnell May 17, 2018 20:36
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented May 17, 2018

TFTR.

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 17, 2018

Build failed

@tbg
Copy link
Copy Markdown
Member

tbg commented May 22, 2018

@nvanbenschoten ping, looks like you might've forgotten that this is still open?

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented May 22, 2018

looks like you might've forgotten that this is still open?

Thanks for the ping!

bors r+

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented May 22, 2018

Bors failure above was unrelated:

build/teamcity-local-roachtest.sh: not found

craig bot pushed a commit that referenced this pull request May 22, 2018
25634: backport-2.0: storage: ensure non-expired context before each liveness update attempt r=nvanbenschoten a=nvanbenschoten

Backport 1/1 commits from #25631.

/cc @cockroachdb/release

---

Fixes #25430.

Before this change, a liveness update could get stuck in an infinite
loop if its context expired. This is because it would continue to retry
and continue to get `errRetryLiveness` errors due to
`AmbiguousResultErrors` created by `DistSender`.

Release note: None


Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 22, 2018

Build succeeded

@craig craig bot merged commit a4296f8 into cockroachdb:release-2.0 May 22, 2018
@nvb nvb deleted the backport2.0-25631 branch May 22, 2018 16:34
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