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
Schema Engine fails to initialize with "Row count exceeded 10000" for large databases
When initializing an unmanaged vttablet against a MySQL database with approximately 8000 tables, the Schema Engine fails to start due to a hard-coded limit of 10000 rows in the schema loading process.
Reproduction Steps
Environment
Vitess Version: 21.0.3
MySQL Version: 8.0
Database Size: ~150GB
Number of Tables: ~8000
Steps to Reproduce
Set up an unmanaged vttablet pointing to an existing MySQL database
vttablet version Version: 21.0.3 (Git revision 94fdc736eae8928a8fdde44e9ec9c3bee1868d6f branch 'HEAD') built on Wed Feb 12 16:56:27 UTC 2025 by runner@fv-az1705-503 using go1.23.5 linux/amd64
vtgate version Version: 21.0.3 (Git revision 94fdc736eae8928a8fdde44e9ec9c3bee1868d6f branch 'HEAD') built on Wed Feb 12 16:56:27 UTC 2025 by runner@fv-az1705-503 using go1.23.5 linux/amd64
Overview of the Issue
Schema Engine fails to initialize with "Row count exceeded 10000" for large databases
When initializing an unmanaged vttablet against a MySQL database with approximately 8000 tables, the Schema Engine fails to start due to a hard-coded limit of 10000 rows in the schema loading process.
Reproduction Steps
Environment
Steps to Reproduce
Binary Version
Operating System and Environment details
Log Fragments
The text was updated successfully, but these errors were encountered: