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

ui: save sort on cache for Transaction page #72882

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

maryliag
Copy link
Contributor

@maryliag maryliag commented Nov 17, 2021

Previously, a sort selection was not maintained when
the page change (e.g. coming back from Transaction details).
This commits saves the selected value to be used.

Partially adresses #68199

Release note: None

@maryliag maryliag requested a review from a team November 17, 2021 19:10
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Previously, a sort selection was not maintained when
the page change (e.g. coming back from Transaction details).
This commits saves the selected value to be used.

Partially adressed cockroachdb#68199

Release note: None
Copy link
Contributor

@matthewtodd matthewtodd left a comment

Choose a reason for hiding this comment

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

Reviewed 7 of 7 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @maryliag)

@maryliag
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 18, 2021

Build succeeded:

@craig craig bot merged commit b6aeffc into cockroachdb:master Nov 18, 2021
craig bot pushed a commit that referenced this pull request Nov 18, 2021
72705: sql: miscellaneous cleanup r=yuzefovich a=yuzefovich

**sql: don't make a redundant copy of the SetupFlowRequest for local flow**

We can just use the setup request directly since all remote requests (if
any) did make copies of the original request.

Release note: None

**colbuilder: don't create a copy of the eval context in most cases**

Previously, on every `NewColOperator` call we would create a copy of the
eval context. This was copied over from the row engine where making
a copy was needed since the row-by-row processors use `ProcOutputHelper`
which might modify the eval context when evaluating the expresssions. In
the vectorized engine we almost never modify the eval context, so there
is no reason to make a copy.

Release note: None

**colflow: minor optimization to the setup of inputs**

Release note: None

**colcontainer: make ReuseCache the default cache mode**

Previously, the uninitialized disk queue cache mode was the mode that
allowed the intertwined calls to Enqueue and Dequeue. However, such mode
of operation is only used by the hash routers and the buffered windower,
so this commit switches the uninitialized mode to be the "reuse cache"
mode (which is used by most components). This commit additionally cleans
up the way the mode is updated.

Release note: None

**colexecargs: remove no longer useful testing knob**

This commit removes a testing knob that tells the colbuilder to use
a streaming memory account for the buffering operations. The idea behind
this knob was to reduce the boilerplate of managing the memory
monitoring infrastructure in tests, and with the recent cleanup in that
area it is now easy to do properly. Thus, the knob seems no longer
needed and is now removed.

Release note: None

**colbuilder: instantiate a streaming allocator lazily**

Release note: None

72893: ui: save sort on cache for Sessions page  r=maryliag a=maryliag

Previously, a sort selection was not maintained when
the page change (e.g. coming back from Sessions details).
This commits saves the selected value to be used.

Partially adresses #68199
Check only second commit, the first being reviewed at #72882

Release note: None

Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: Marylia Gutierrez <[email protected]>
@maryliag maryliag deleted the cache-selection branch November 18, 2021 22:04
@maryliag maryliag restored the cache-selection branch November 18, 2021 23:07
@maryliag maryliag deleted the cache-selection branch November 24, 2021 17:20
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