Skip to content

cluster-ui: remove leading / in settings request#115649

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
xinhaoz:fix-settings-req-path
Dec 6, 2023
Merged

cluster-ui: remove leading / in settings request#115649
craig[bot] merged 1 commit intocockroachdb:masterfrom
xinhaoz:fix-settings-req-path

Conversation

@xinhaoz
Copy link
Copy Markdown
Contributor

@xinhaoz xinhaoz commented Dec 5, 2023

Recently we required that all requests paths from cluster-ui do not start with / so that they may be used with any given subpath when constructing proxy requests.

We missed removing the prefix from the settings api which requests all cluster settings.

Release note: None

Epic: none


Previously, this auto stats enabled label would show disabled even though auto stats collection is enabled. This is because this value comes from the settings request which was not being issued correctly.
https://www.loom.com/share/42847f2c63484a508a128c5808df7bdd

Recently we required that all requests paths from cluster-ui
do not start with `/` so that they may be used with any
given subpath when constructing proxy requests.

We missed removing the prefix from the `settings` api
which requests all cluster settings.

Release note: None

Epic: none
@xinhaoz xinhaoz requested review from a team and maryliag December 5, 2023 21:23
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@xinhaoz
Copy link
Copy Markdown
Contributor Author

xinhaoz commented Dec 5, 2023

No release note because this bug hasn't been published yet.

@xinhaoz xinhaoz added backport-23.1.x PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only backport-23.2.x PAST MAINTENANCE SUPPORT: 23.2 patch releases via ER request only labels Dec 5, 2023
Copy link
Copy Markdown
Contributor

@maryliag maryliag 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 all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@xinhaoz
Copy link
Copy Markdown
Contributor Author

xinhaoz commented Dec 5, 2023

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 5, 2023

This PR was included in a batch that was canceled, it will be automatically retried

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 6, 2023

Build succeeded:

@craig craig bot merged commit 9c5933a into cockroachdb:master Dec 6, 2023
msbutler pushed a commit to msbutler/cockroach that referenced this pull request Dec 6, 2023
115539: roachtest: allocate new cluster when c.Extend fails r=srosenberg a=DarrylWong

Previously, failure to extend the lifetime of a cluster would propagate to the worker and end up aborting the entire run. Now, we destroy the cluster and let it allocate a new one.

Fixes: cockroachdb#112509
Release note: none
Epic: none

115649: cluster-ui: remove leading `/` in settings request r=xinhaoz a=xinhaoz

Recently we required that all requests paths from cluster-ui do not start with `/` so that they may be used with any given subpath when constructing proxy requests.

We missed removing the prefix from the `settings` api which requests all cluster settings.

Release note: None

Epic: none

----------------------
Previously, this auto stats enabled label would show disabled even though auto stats collection is enabled. This is because this value comes from the settings request which was not being issued correctly.
https://www.loom.com/share/42847f2c63484a508a128c5808df7bdd

115654: opt: fix insert fast path uniqueness check bug r=mgartner a=mgartner

This commit fixes a bug caused by creating a closure over an
incrementing integer in a loop.

Fixes cockroachdb#115377
Fixes cockroachdb#115378

Release note (bug fix): A bug has been fixed that caused node crashes
and panics when running `INSERT` queries on `REGIONAL BY ROW` tables
with `UNIQUE` constraints or indexes. The bug is only present in
version 23.2.0-beta.1.

Co-authored-by: DarrylWong <darryl@cockroachlabs.com>
Co-authored-by: Xin Hao Zhang <xzhang@cockroachlabs.com>
Co-authored-by: Marcus Gartner <marcus@cockroachlabs.com>
@xinhaoz xinhaoz deleted the fix-settings-req-path branch April 1, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-23.1.x PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only backport-23.2.x PAST MAINTENANCE SUPPORT: 23.2 patch releases via ER request only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants