Comments (2)
Confirmed on main:
❯ make build
Tue Jul 2 14:25:24 EDT 2024: Building source tree
❯ vttestserver --keyspaces "foo" --num_shards 1
...
{"bind_address":"localhost","grpc_port":20902,"mysql":20903,"port":20901,"socket":"/opt/vtdataroot/vttest143063516/vt_0000000001/mysql.sock","vtcombo_mysql_port":20904}
❯ vtctldclient --server localhost:20902 GetVSchema foo
E0702 14:30:00.733294 76503 main.go:56] rpc error: code = Unknown desc = node doesn't exist: keyspaces/foo/VSchema
❯ vtctldclient --server localhost:20902 ApplyVSchema --vschema="{}" foo
New VSchema object:
{
"sharded": false,
"vindexes": {},
"tables": {},
"require_explicit_routing": false,
"foreign_key_mode": "unspecified",
"multi_tenant_spec": null
}
If this is not what you expected, check the input data (as JSON parsing will skip unexpected fields).
❯ vtctldclient --server localhost:20902 GetVSchema foo
{
"sharded": false,
"vindexes": {},
"tables": {},
"require_explicit_routing": false,
"foreign_key_mode": "unspecified",
"multi_tenant_spec": null
}
from vitess.
Thanks for confirming @mattlord. There's a PR here if you get a chance to look at it: #16094
from vitess.
Related Issues (20)
- unknown column with aggregation inside derived table
- Bug Report: [`vtgate`] `RemoveTablet` during `TabletExternallyReparented` event can lead to healthcheck corruption
- Feature Request: Add support for StalledDiskPrimary recoveries by vtorc
- Feature Request: per-tablet override to Durability Policy promotion rule HOT 1
- Bug Report: Waiting for semi-sync ACK blocks backup from primary tablet HOT 6
- Bug Report: Panic in vtgate schema manager because of keyspace rules
- Bad Query Plan with Incorrect WHERE Clause and Missing Bind Variable in Sharded Query
- Feature Request: Vitess provide a vtgate queries metric by tablet type HOT 2
- Bug Report: v19 tablet server config parsing incorrect HOT 2
- Bug Report: Online DDL: zero date possible in `_vt.schema_migrations.last_throttled_timestamp`
- Bug Report: Panic in query planning of a query using user defined aggregation function
- Bug Report: Regression in subquery planning wrt v18
- VTAdmin to use VTGate's vexplain HOT 2
- Feature Request: Per-table VStream COPY
- Support recursive CTEs
- Feature Request: ability to control streamer snapshot method (GTID tracking vs table locking) HOT 2
- Feature Request: clarify flag documentation for --db_charset
- Bug Report: MySQL 8.4 default configuration contains removed configuration variable `default_authentication_plugin`
- Feature Request: Add more flexibility backing up/restoring from different backup engines.
- Feature Request: allow current/before `PRIMARY` to be specified in PRS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitess.