You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the operator I created a cluster on my kubernetes with 3 replicas based on vitess/lite:v8.0.0 to host a wordpress multisite installation. Following the instructions for "MoveTables" I was able to move all the wp_*_posts table in a different unsharded keyspace (posts). Wordpress still functions and can show all the data, which was previous in the main keyspace (blog). But once I hit update on an edited post, I get following error:
WordPress database error vtgate: http://wordpress-zone1-vtgate-13455580-56cff4957d-m5278:15000/: target: blog.-.master, used tablet: zone1-1610175284 (10.42.9.250): vttablet: rpc error: code = NotFound desc = Table 'vt_blog.wp_4_posts' doesn't exist (errno 1146) (sqlstate 42S02) (CallerID: user): Sql: "show full columns from wp_4_posts", BindVars: {} for query SHOW FULL COLUMNS FROM `wp_4_posts`
It seems, the show full columns doesn't care about the routing created during the tables movement.
I found a similar issue #6803 which should be fixed in #6825, thus I checked twice if I'm using the correct image. But it should include the fix for it.
/vt/bin/vtgate --version
Version: 7e09d0c20 (Git branch 'heads/v8.0.0') built on Tue Oct 27 14:35:28 UTC 2020 by vitess@00939aa4be4b using go1.13.15 linux/amd64
Operating system and Environment details
Kuberentes v1.19.4
Vitess Operator v2.1.0
Log Fragments
From the master vttablet: E1215 13:57:29.449644 1 tabletserver.go:1295] Table 'vt_blog.wp_4_posts' doesn't exist (errno 1146) (sqlstate 42S02) (CallerID: user): Sql: "show full columns from wp_4_posts", BindVars: {}
The text was updated successfully, but these errors were encountered:
Overview of the Issue
Using the operator I created a cluster on my kubernetes with 3 replicas based on vitess/lite:v8.0.0 to host a wordpress multisite installation. Following the instructions for "MoveTables" I was able to move all the wp_*_posts table in a different unsharded keyspace (posts). Wordpress still functions and can show all the data, which was previous in the main keyspace (blog). But once I hit update on an edited post, I get following error:
It seems, the
show full columns
doesn't care about the routing created during the tables movement.I found a similar issue #6803 which should be fixed in #6825, thus I checked twice if I'm using the correct image. But it should include the fix for it.
Reproduction Steps
Steps to reproduce this issue, example:
vtctlclient MoveTables -workflow=blog2posts blog posts
vtctlclient MoveTables -workflow=blog2posts blog posts "$(cat split.json)" vtctlclient VDiff posts.blog2posts vtctlclient SwitchReads -tablet_type=rdonly posts.blog2posts vtctlclient SwitchReads -tablet_type=replica posts.blog2posts vtctlclient SwitchWrites posts.blog2posts vtctlclient DropSources posts.blog2posts
Binary version
Using the vitess/lite:v8.0.0 docker image:
/vt/bin/vtgate --version Version: 7e09d0c20 (Git branch 'heads/v8.0.0') built on Tue Oct 27 14:35:28 UTC 2020 by vitess@00939aa4be4b using go1.13.15 linux/amd64
Operating system and Environment details
Kuberentes v1.19.4
Vitess Operator v2.1.0
Log Fragments
From the master vttablet:
E1215 13:57:29.449644 1 tabletserver.go:1295] Table 'vt_blog.wp_4_posts' doesn't exist (errno 1146) (sqlstate 42S02) (CallerID: user): Sql: "show full columns from wp_4_posts", BindVars: {}
The text was updated successfully, but these errors were encountered: