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

opt: don't use delegateQuery for ShowZoneConfig #37169

Merged
merged 1 commit into from
Apr 29, 2019

Conversation

RaduBerinde
Copy link
Member

Part of a larger work item to remove delegateQuery, as it doesn't
work with the optimizer.

I could not use the new delegate infrastructure because it doesn't support hiding columns returned by the delegated query.

Release note: None

Part of a larger work item to remove `delegateQuery`, as it doesn't
work with the optimizer.

Release note: None
@RaduBerinde RaduBerinde requested review from justinj and a team April 26, 2019 23:32
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde RaduBerinde changed the title fopt: don't use delegateQuery for ShowZoneConfig opt: don't use delegateQuery for ShowZoneConfig Apr 27, 2019
Copy link
Contributor

@justinj justinj left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 9 of 9 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@RaduBerinde
Copy link
Member Author

TFTR!

For the record, this change is also effectively a test for #37164 (it doesn't work without it).

bors r+

craig bot pushed a commit that referenced this pull request Apr 29, 2019
36744: storage/rangefeed: use fine-grained locking around Processor, add metrics r=nvanbenschoten a=nvanbenschoten

It is critical for correctness that operations like providing the processor
with logical ops or informing the processor of closed timestamp updates
be properly synchronized via the raftMu. This ensures that events published
on the processors eventC accurately reflect the order of events in the Raft
log.

However, it is not critical that lifecycle events around starting a
Rangefeed processor, stopping a Rangefeed processor, and registering
with a Rangefeed processor be synchronized with Raft application. This
change exploits this to break up the locking around rangefeed.Processor.

Using more fine-grained locking opens up the opportunity to interact
with the rangefeed Processor without needing to synchronize with the
Range's raft application, which can be very expensive. The next commit
uses this improvement to add a new `rangefeed_registrations` metric to
`RangeInfo`.

36999: roachtest: add schemachange/bulkingest test r=lucy-zhang a=lucy-zhang

Add a test to index the random `payload` column for the `bulkingest` workload,
to test the index backfiller for an index on randomly ordered values relative
to the primary key.

Release note: None

37169: opt: don't use delegateQuery for ShowZoneConfig r=RaduBerinde a=RaduBerinde

Part of a larger work item to remove `delegateQuery`, as it doesn't
work with the optimizer.

I could not use the new delegate infrastructure because it doesn't support hiding columns returned by the delegated query.

Release note: None

37182: roachtest: provision more cpu for schemachange tpcc tests r=vivekmenezes a=vivekmenezes

related to 
#36094 
#36024 
#36321 

Release note: None

Co-authored-by: Nathan VanBenschoten <[email protected]>
Co-authored-by: Lucy Zhang <[email protected]>
Co-authored-by: Radu Berinde <[email protected]>
Co-authored-by: Vivek Menezes <[email protected]>
@craig
Copy link
Contributor

craig bot commented Apr 29, 2019

Build succeeded

@craig craig bot merged commit 555d617 into cockroachdb:master Apr 29, 2019
@RaduBerinde RaduBerinde deleted the show-all-zone-configs branch April 29, 2019 20:28
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