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

staging-v22.2.19: release-22.2: kvserver: refresh range cache on rangefeed barrier failure #119560

Merged

Conversation

blathers-crl[bot]
Copy link

@blathers-crl blathers-crl bot commented Feb 22, 2024

Backport 1/1 commits from #119545 on behalf of @erikgrinaker.

/cc @cockroachdb/release


Backport 1/1 commits from #119512.

/cc @cockroachdb/release

Release justification: fixes a recently introduced bug that could stall rangefeed resolved timestamps.


The DistSender does not refresh its range cache for unsplittable requests. This could cause a rangefeed transaction pusher barrier request to persistently fail following a range merge if the range cache thought the barrier spanned multiple ranges. This would only resolve once the range cache was refreshed by some other request, which might never happen. This in turn would cause the rangefeed's resolved timestamp to stall.

Resolves #119536.
Resolves #119333.
Epic: none
Release note (bug fix): fixed a bug where rangefeed resolved timestamps could get stuck, continually emitting the log message "pushing old intents failed: range barrier failed, range split", typically following a range merge. This bug was introduced in v22.2.18.


Release justification:

The DistSender does not refresh its range cache for unsplittable
requests. This could cause a rangefeed transaction pusher barrier
request to persistently fail following a range merge if the range cache
thought the barrier spanned multiple ranges. This would only resolve
once the range cache was refreshed by some other request, which might
never happen. This in turn would cause the rangefeed's resolved
timestamp to stall.

Epic: none
Release note (bug fix): fixed a bug where rangefeed resolved timestamps
could get stuck, continually emitting the log message "pushing old
intents failed: range barrier failed, range split", typically following
a range merge. This bug was introduced in v22.2.18.
@blathers-crl blathers-crl bot force-pushed the blathers/backport-staging-v22.2.19-119545 branch from 7c56776 to 1397daf Compare February 22, 2024 23:04
@blathers-crl blathers-crl bot requested a review from a team as a code owner February 22, 2024 23:04
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Feb 22, 2024
@erikgrinaker erikgrinaker merged commit c207600 into staging-v22.2.19 Feb 22, 2024
3 checks passed
@erikgrinaker erikgrinaker deleted the blathers/backport-staging-v22.2.19-119545 branch February 22, 2024 23:04
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants