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

feat: Take into account number of databases in an instance #287

Merged
merged 1 commit into from
May 28, 2024

Conversation

nielm
Copy link
Collaborator

@nielm nielm commented May 10, 2024

Instances configured with <1000 PUs only support 10 DBs per 100 PUs so clamp the minimum size to the relevant number of PUs

Fixes #286

@nielm nielm requested a review from henrybell May 10, 2024 18:16
@nielm nielm requested a review from davidcueva May 15, 2024 10:17
src/autoscaler-common/types.js Outdated Show resolved Hide resolved
src/poller/poller-core/index.js Outdated Show resolved Hide resolved
Instances configured with <1000 PUs only support 10 DBs per 100 PUs
so clamp the minimum size to the relevant number of PUs

Fixes cloudspannerecosystem#286
@nielm nielm requested a review from henrybell May 27, 2024 16:22
@henrybell henrybell self-assigned this May 28, 2024
@henrybell henrybell added the enhancement New feature or request label May 28, 2024
@nielm nielm merged commit 56a3a28 into cloudspannerecosystem:main May 28, 2024
8 checks passed
@alexlo03
Copy link
Contributor

Thanks!

@nielm nielm deleted the metricsNumDatabases branch June 27, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Take Database Count Into Consideration
4 participants