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

backport-19.2: decider: ignore EnsureSafeSplitKey on error #43095

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

tbg
Copy link
Member

@tbg tbg commented Dec 10, 2019

Backport 1/1 commits from #43078.

/cc @cockroachdb/release


Fixes #42903.

Load based splitting would previously not split when EnsureSafeSplitKey
returns an error. However such an error only meant that the key in
question wasn't even a SQL key, which is the case most of the time,
at least in simple workloads such as kv (the SQL layer will send
single-element scans, but without specifying the column family).

No release note since not released.

Release note: None

Fixes cockroachdb#42903.

Load based splitting would previously not split when EnsureSafeSplitKey
returns an error. However such an error only meant that the key in
question wasn't even a SQL key, which is the case most of the time,
at least in simple workloads such as kv (the SQL layer will send
single-element scans, but without specifying the column family).

No release note since not released.

Release note: None
@tbg tbg requested a review from dt December 10, 2019 19:58
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@dt dt merged commit 3cbd056 into cockroachdb:release-19.2 Dec 10, 2019
@tbg tbg deleted the backport19.2-43078 branch December 11, 2019 12:22
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