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
When migrating from a sharded keyspace to an unsharded keyspace, my expectation was that the sequence would continue to be applied afterwards, but it wasn't in the vschema definition. I quickly re-added it, so I didn't do any testing to see how it actually behaved.
I think for Movetables, one needs to provide vindexes or/and sequence definitions for target. In v8, when moving unsharded to sharded, I had to provide both.
Another note, when Movetables and switchwrites is performed on sequence table, tables which use that sequence table do not respect routing rules at all. Maybe sequence tables should not be migrated in that way.
Overview of the Issue
When migrating from a sharded keyspace to an unsharded keyspace, my expectation was that the sequence would continue to be applied afterwards, but it wasn't in the vschema definition. I quickly re-added it, so I didn't do any testing to see how it actually behaved.
Before MoveTables (sharded keyspace)
After MoveTables (unsharded keyspace)
Operating system and Environment details
vttablet: 11.0.1
vtctld: 11.0.1
vtgate: 10.0.0
The text was updated successfully, but these errors were encountered: