Skip to content

Add ListTablets to VtctldService#300

Merged
nickvanw merged 1 commit intomainfrom
nick/list-tablets
Mar 31, 2026
Merged

Add ListTablets to VtctldService#300
nickvanw merged 1 commit intomainfrom
nick/list-tablets

Conversation

@nickvanw
Copy link
Copy Markdown
Contributor

Summary

  • Adds ListTablets method to VtctldService interface
  • Returns tablets grouped by keyspace/shard, with alias, role, and cell for each tablet
  • Calls GET /tablets on the branch (a typed vtctld GetTablets call behind the scenes)

This lets CLI users discover tablet aliases before running operations like PlannedReparentShard.

Adds a ListTablets method that returns tablets grouped by keyspace and
shard, with each tablet's alias, role, and cell. This allows CLI users
to discover tablet aliases needed for operations like PlannedReparentShard.
@nickvanw nickvanw requested a review from a team as a code owner March 31, 2026 13:00
@nickvanw nickvanw enabled auto-merge March 31, 2026 13:01
@nickvanw nickvanw merged commit 91d4331 into main Mar 31, 2026
5 checks passed
@nickvanw nickvanw deleted the nick/list-tablets branch March 31, 2026 13:01
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