Skip to content

Add throttler flags to pscale keyspace update-settings - #1403

Merged
no-itsbackpack merged 3 commits into
mainfrom
egomez/keyspace-throttler-self-service
Sep 10, 2026
Merged

Add throttler flags to pscale keyspace update-settings#1403
no-itsbackpack merged 3 commits into
mainfrom
egomez/keyspace-throttler-self-service

Conversation

@no-itsbackpack

@no-itsbackpack no-itsbackpack commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Lets you turn a keyspace's throttler on or off and set the replication lag threshold that trips it

pscale keyspace update-settings <db> <branch> <keyspace> --throttler-enabled=false
pscale keyspace update-settings <db> <branch> <keyspace> --throttler-threshold=10

🤖 Generated with Claude Code

Lets customers turn the keyspace throttler on or off and set the replication
lag threshold from the CLI, and shows both in pscale keyspace settings.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@no-itsbackpack
no-itsbackpack requested a review from a team as a code owner September 10, 2026 17:25

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 805068e. Configure here.

Comment thread internal/cmd/keyspace/update_settings.go
A threshold-only update against a keyspace whose throttler state was unknown
sent enabled=false from the zero value, turning the throttler off. Enabled is
now a pointer so it is left out of the request unless the caller set it.
@no-itsbackpack
no-itsbackpack merged commit 6c8efab into main Sep 10, 2026
4 checks passed
@no-itsbackpack
no-itsbackpack deleted the egomez/keyspace-throttler-self-service branch September 10, 2026 18:46
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