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

Remove leftover dead code and other cleanup in config.rs #9053

Merged
merged 4 commits into from
Sep 19, 2024

Conversation

hlinnaka
Copy link
Contributor

See commit messages for details.

The settings were removed in commit corb9d2c7b.
The code that used it was removed in commit b9d2c7b
The DEFAULT_CONCURRENT_TENANT_SIZE_LOGICAL_SIZE_QUERIES constant was
unused, because we had just hardcoded it to 1 where the constant
should've been used.

Remove the ConfigurableSemaphore::Default implementation, since it was
unused.
This constant in 'tenant_conf_defaults' was unused, but there's
another constant with the same name in the global 'defaults'. I wish
the setting was configurable per-tenant, but it isn't, so let's remove
the confusing duplicate.
@hlinnaka hlinnaka requested a review from a team as a code owner September 18, 2024 22:17
@hlinnaka hlinnaka requested a review from arpad-m September 18, 2024 22:17
Copy link

github-actions bot commented Sep 18, 2024

4994 tests run: 4830 passed, 0 failed, 164 skipped (full report)


Flaky tests (8)

Postgres 17

Postgres 16

Code coverage* (full report)

  • functions: 31.8% (7419 of 23312 functions)
  • lines: 49.7% (59618 of 119841 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
0aba52d at 2024-09-18T23:52:14.934Z :recycle:

@koivunej
Copy link
Member

Shame we cannot use pub(crate).

@hlinnaka hlinnaka merged commit 7c48909 into main Sep 19, 2024
81 checks passed
@hlinnaka hlinnaka deleted the config-code-cleanup branch September 19, 2024 12:41
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.

2 participants