Skip to content

storage: make storage.max_sync_duration public and TenantReadOnly#105596

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
erikgrinaker:max-sync-public
Jun 27, 2023
Merged

storage: make storage.max_sync_duration public and TenantReadOnly#105596
craig[bot] merged 1 commit intocockroachdb:masterfrom
erikgrinaker:max-sync-public

Conversation

@erikgrinaker
Copy link
Copy Markdown
Contributor

Users have asked why this setting is not public, this patch makes it so.

Furthermore, these settings were TenantWritable. We do not want these to be writable by tenants, where they can potentially cause problems on SQL nodes, considering e.g. SQL disk spilling uses Pebble.

Epic: none
Release note: None

@erikgrinaker erikgrinaker requested a review from a team as a code owner June 27, 2023 07:25
@erikgrinaker erikgrinaker self-assigned this Jun 27, 2023
@erikgrinaker erikgrinaker requested a review from RaduBerinde June 27, 2023 07:25
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Jun 27, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@erikgrinaker erikgrinaker added backport-22.2.x backport-23.1.x PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only labels Jun 27, 2023
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Users have asked why this setting is not public, this patch makes it so.

Furthermore, these settings were `TenantWritable`. We do not want these
to be writable by tenants, where they can potentially cause problems on
SQL nodes, considering e.g. SQL disk spilling uses Pebble.

Epic: none
Release note: None
@erikgrinaker
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 27, 2023

Build succeeded:

@craig craig bot merged commit 45be076 into cockroachdb:master Jun 27, 2023
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Jun 27, 2023

Encountered an error creating backports. Some common things that can go wrong:

  1. The backport branch might have already existed.
  2. There was a merge conflict.
  3. The backport branch contained merge commits.

You might need to create your backport manually using the backport tool.


error creating merge commit from 5879ef7 to blathers/backport-release-22.2-105596: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict []

you may need to manually resolve merge conflicts with the backport tool.

Backport to branch 22.2.x failed. See errors above.


error creating merge commit from 5879ef7 to blathers/backport-release-23.1-105596: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict []

you may need to manually resolve merge conflicts with the backport tool.

Backport to branch 23.1.x failed. See errors above.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants