Repository navigation
Add keyspace parameters commands - #1458
Merged
Merged
Conversation
Add `pscale keyspace parameters` to list a keyspace's VTTablet and MySQL parameters, change or reset them with `parameters set`, and follow or cancel the resulting changes with `parameters changes`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
no-itsbackpack
marked this pull request as ready for review
October 2, 2026 21:24
dgraham
approved these changes
Oct 2, 2026
Match `pscale branch parameters` by calling vttablet and mysqld namespaces, both for the `--namespace` filter and the `--parameters namespace.name=value` flag. Change summaries now list only the parameters whose values change. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adds
pscale keyspace parametersfor viewing and changing the VTTablet and MySQL parameters of a Vitess keyspace from the CLI, the same parameters available on a keyspace's VTTablets and MySQL tabs on the Clusters page.parameters list(or bareparameters) shows each parameter with its current value, default, and whether it's overridden.--namespacenarrows it tovttabletormysqld, likepscale branch parameters --namespacefor Postgres.parameters setchanges parameters with repeatable--parameters namespace.name=value, the same format aspscale branch resize --parameters, and resets them to their defaults with--reset namespace.name. Changes for both namespaces are submitted together and roll out to the keyspace.parameters changes list,show, andcancelfollow a change's rollout or cancel one that hasn't finished.pscale keyspace parameters set commerce main commerce --org acme \ --parameters vttablet.vreplication-parallel-insert-workers=4 \ --parameters vttablet.vreplication_max_time_to_retry_on_error=720hThe agent guide (
AGENTS.md) documents the new commands.🤖 Generated with Claude Code