release-21.2: kvserver: scan only intents during rts scan#72315
Merged
stevendanna merged 1 commit intocockroachdb:release-21.2from Nov 18, 2021
Merged
release-21.2: kvserver: scan only intents during rts scan#72315stevendanna merged 1 commit intocockroachdb:release-21.2from
stevendanna merged 1 commit intocockroachdb:release-21.2from
Conversation
|
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
Member
cb54882 to
c7856d3
Compare
nvb
approved these changes
Nov 2, 2021
In 21.2, seperated intents are the default. Once migrated, we can then use this to iterate over substantially less data to find all intents for a given keyspan. The hope is that this will make rangefeed start-up substantially cheaper. Release note: None
c7856d3 to
7e95279
Compare
stevendanna
added a commit
to stevendanna/cockroach
that referenced
this pull request
Mar 22, 2022
This setting was added in a 21.2 backport cockroachdb#72315 but was never added to master: cockroachdb#71295 So from the perspective of someone who upgrades from 21.2, it is now a retired setting. Release justification: Low-risk bug fix Release note: None
craig bot
pushed a commit
that referenced
this pull request
Mar 22, 2022
78186: ui: improve UI for statuses on the jobs page r=jocrl a=jocrl Addresses #71963 Previously the `cancel-requested`, `pause-requested`, and `revert-failed` had blue badges.  Now, `cancel-requested` and `pause-requested` have gray badges and `revert-failed` has a red badge.  Release note (ui): Improved colors for status badges on the Jobs page. Three status on the Jobs page, `cancel-requested`, `pause-requested`, and `revert-failed`, previously had blue status badge colors that were uninformative of their meaning. This commit modifies the badge colors to reflect their meaning. Now `cancel-requested` and `pause-requested` have gray badges and `revert-failed` has a red badge. 78213: distsql: simple projection in experimental distsql planner panics r=msirek a=msirek Previously, selecting a given column from a table more than once could cause an `index out of range` panic when experimental_distsql_planning is set to always, for example: ``` CREATE TABLE kv (k INT PRIMARY KEY, v INT); INSERT INTO kv VALUES (1, 1), (2, 1), (3, 2); SET experimental_distsql_planning = always; SELECT v, k, k, v FROM kv; ``` This commit fixes the issue, which is due to incorrect mapping of selected columns to source column ordinals in `ConstructSimpleProject`. Release note: none 78243: backupccl: fix paper cut in latest files directory structure r=DarrylWong a=adityamaru Prior to this change, the LATEST files of a backup were written to `metadatalatest/` instead of `metadata/latest/`, this patch fixes that. Release note (bug fix): The LATEST file that points to the latest full backup in a collection was written to a directory path with the wrong structure. 78246: settings: retire kv.rangefeed.separated_intent_scan.enabled r=nvanbenschoten a=stevendanna This setting was added in a 21.2 backport #72315 but was never added to master: #71295 So from the perspective of someone who upgrades from 21.2, it is now a retired setting. Release justification: Low-risk bug fix Release note: None Co-authored-by: Josephine Lee <josephine@cockroachlabs.com> Co-authored-by: Mark Sirek <sirek@cockroachlabs.com> Co-authored-by: Aditya Maru <adityamaru@gmail.com> Co-authored-by: Steven Danna <danna@cockroachlabs.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport 1/1 commits from #71295 and an additional commit
to gate the new behaviour behind a cluster setting, per our
backport policy.
/cc @cockroachdb/release
In 21.2, separated intents are the default. Once migrated, we can then
use this to iterate over substantially less data to find all intents
for a given keyspan. The hope is that this will make rangefeed
start-up substantially cheaper.
Informs #70920
Fixes #69697
Release note: None
Release justification: Performance improvement to help address the impact
of CHANGEFEED restarts.