Skip to content

Handle async MoveTables Create#1247

Merged
nickvanw merged 1 commit intomainfrom
nvanwiggeren/async-move-tables-create
Apr 7, 2026
Merged

Handle async MoveTables Create#1247
nickvanw merged 1 commit intomainfrom
nvanwiggeren/async-move-tables-create

Conversation

@nickvanw
Copy link
Copy Markdown
Contributor

@nickvanw nickvanw commented Apr 7, 2026

Summary

  • MoveTables Create is now an async operation that can take a long time for databases with thousands of tables
  • The CLI now polls GetOperation for the result after submitting a Create, matching the existing pattern used by switch-traffic, reverse-traffic, and complete
  • Bumps planetscale-go to v0.162.0 which changed MoveTablesService.Create to return *VtctldOperationReference

MoveTables Create is now an async operation that returns an operation
reference instead of the result directly. Poll GetOperation for the
result, matching the pattern already used by SwitchTraffic,
ReverseTraffic, and Complete.

Bumps planetscale-go to v0.162.0.
@nickvanw nickvanw requested a review from a team as a code owner April 7, 2026 21:26
@nickvanw nickvanw merged commit 9aaa88b into main Apr 7, 2026
4 checks passed
@nickvanw nickvanw deleted the nvanwiggeren/async-move-tables-create branch April 7, 2026 21:31
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