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
Since we have split yb-admin snapshot commands for YCQL and YSQL into create_keyspace_snapshot and create_database_snapshot, we shouldn't need a ysql. prefix for create_database_snapshot.
Current behavior:
yb-admin -master_addresses 127.0.0.1:7100 create_database_snapshot test
Error: Invalid argument (yb/tools/yb-admin_cli_ent.cc:118): Wrong database type: YQL_DATABASE_CQL: 2 vs. 3
This should work and assume that test is of type YSQL instead of current assumption of YCQL.
The text was updated successfully, but these errors were encountered:
…ix for database name (#4991)
Summary:
Adding option to specify default db type in ParseNamespaceName
- if there is a prefix then we still respect it, otherwise default to `default_if_no_prefix`
Test Plan:
Running
```
yb-admin -master_addresses 127.0.0.1:7100 create_database_snapshot test
```
Should no longer produce any errors about wrong database types.
Reviewers: neha
Reviewed By: neha
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D8858
Since we have split yb-admin snapshot commands for YCQL and YSQL into
create_keyspace_snapshot
andcreate_database_snapshot
, we shouldn't need aysql.
prefix forcreate_database_snapshot
.Current behavior:
This should work and assume that test is of type YSQL instead of current assumption of YCQL.
The text was updated successfully, but these errors were encountered: