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

admission: enable elastic cpu control by default #88031

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

irfansharif
Copy link
Contributor

We want to have this bake through the 23.1 development cycle.

Release note: None (not being backported)

@irfansharif irfansharif requested a review from a team as a code owner September 16, 2022 02:48
@cockroach-teamcity
Copy link
Member

This change is Reviewable

We want to have this bake through the 23.1 development cycle.

Release note: None (not being backported)
@irfansharif irfansharif force-pushed the 220915.enable-elastic-cpu branch from 6ea7dc7 to e64852f Compare September 16, 2022 02:48
Copy link
Collaborator

@sumeerbhola sumeerbhola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andrewbaptist)

@irfansharif
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 20, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Sep 20, 2022

Build succeeded:

@craig craig bot merged commit 5862e9b into cockroachdb:master Sep 20, 2022
@irfansharif irfansharif deleted the 220915.enable-elastic-cpu branch September 20, 2022 03:53
irfansharif added a commit to irfansharif/cockroach that referenced this pull request Sep 20, 2022
Fixes cockroachdb#88269, fallout from cockroachdb#88031 -- sloppy assumption that the token
bucket type is thread-safe. Instantly reproduced using:

    dev test pkg/ccl/changefeedccl \
      -f=TestAlterChangefeedAddTarget/cloudstorage \
      --race --stress --timeout 1m

Release note: None
irfansharif added a commit to irfansharif/cockroach that referenced this pull request Sep 20, 2022
Fixes cockroachdb#88269, fallout from cockroachdb#88031 -- sloppy assumption that the token
bucket type is thread-safe. Instantly reproduced using:

    dev test pkg/ccl/changefeedccl \
      -f=TestAlterChangefeedAddTarget/cloudstorage \
      --race --stress --timeout 1m

Release note: None
craig bot pushed a commit that referenced this pull request Sep 20, 2022
88241: cdc: fix assignment to nil map panic in json encoder r=[miretskiy] a=HonoreDB

JSON encoding a delete message for a deleted row was panicking. This fixes that.

Release note (bug fix): Fixed a crash in changefeed expressions when JSON encoding an empty projection.

88272: cli/sql: delay writing the history file to the end r=DrewKimball a=knz

Fixes #54679.

Previously, the shell would write to the history file in-between each input.

This was incurring noticeable delays if the history file was large.

This patch fixes that by delaying the file write until the end. This is akin to the behavior of unix shell.

There is no user-visible change except in the case of a crash of the shell itself, which at this point has become extremely rare.

Release note: None

88275: upgrade/upgrades: make schema telemetry migration idempotent r=ajwerner a=ajwerner

Fixes #88273

Release note: None

88279: admission: squash data race in accessing token bucket r=irfansharif a=irfansharif

Fixes #88269, fallout from #88031 -- sloppy assumption that the token bucket type is thread-safe. Instantly reproduced using:

    dev test pkg/ccl/changefeedccl \
      -f=TestAlterChangefeedAddTarget/cloudstorage \
      --race --stress --timeout 1m

Release note: None
Release justification: Fixes data race in non-production code

88300: stats: make recent fix more conservative r=yuzefovich a=yuzefovich

We recently merged a fix for histograms of INT2 and INT4 types to not exceed their range, and we used an exact equality against the boundary values when determining whether "outer" buckets are needed. This commit makes that logic more bullet-proof by using an inequality. The sampled values that exceed the supported ranges for the types should not really happen, but let's be conservative.

Release note: None

Co-authored-by: Aaron Zinger <[email protected]>
Co-authored-by: Raphael 'kena' Poss <[email protected]>
Co-authored-by: Andrew Werner <[email protected]>
Co-authored-by: irfan sharif <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
blathers-crl bot pushed a commit that referenced this pull request Sep 20, 2022
Fixes #88269, fallout from #88031 -- sloppy assumption that the token
bucket type is thread-safe. Instantly reproduced using:

    dev test pkg/ccl/changefeedccl \
      -f=TestAlterChangefeedAddTarget/cloudstorage \
      --race --stress --timeout 1m

Release note: None
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