Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CREATE SPACE创建空间不指定vid_type都会报错 #737

Closed
JustDoItGit opened this issue Jul 19, 2021 · 2 comments
Closed

CREATE SPACE创建空间不指定vid_type都会报错 #737

JustDoItGit opened this issue Jul 19, 2021 · 2 comments

Comments

@JustDoItGit
Copy link

使用默认值。

CREATE SPACE my_space_1;

指定分片数量。

CREATE SPACE my_space_2(partition_num=10);

指定副本数量。

CREATE SPACE my_space_3(replica_factor=1); 

以上方法都报错

[ERROR (-1009)]: SemanticError: space vid_type must be specified explicitly
@randomJoe211
Copy link
Contributor

randomJoe211 commented Jul 19, 2021

Yes, you are right. That is the behavior of the master branch. And the master doc has already been updated. I guess you read the v2.0.1 doc and your instance is v2.0.1 as well?

@JustDoItGit
Copy link
Author

这是我的docker版本
我的应该是master版本。
git clone -b master https://github.com/vesoft-inc/nebula-docker-compose.git

docker images
REPOSITORY                   TAG          IMAGE ID       CREATED        SIZE
vesoft/nebula-http-gateway   v2           22e57509a94b   6 days ago     54.9MB
vesoft/nebula-graphd         v2-nightly   0f82ade3b38a   7 days ago     287MB
vesoft/nebula-metad          v2-nightly   89a604a09926   7 days ago     293MB
vesoft/nebula-storaged       v2-nightly   a6b6cfcf436d   7 days ago     294MB
nginx                        alpine       b9e2356ea1be   12 days ago    22.8MB
vesoft/nebula-console        v2-nightly   1a632083a84d   13 days ago    12.6MB
vesoft/nebula-importer       latest       1e8bdcd17c6d   2 weeks ago    15.3MB
vesoft/nebula-graph-studio   v2           e970f264a58b   5 weeks ago    359MB
tensorflow/serving           latest       e874bf5e4700   2 months ago   406MB
vesoft/nebula-importer       v2           210b83ae40e5   3 months ago   15.2MB

知道了,我看的是2.0.1版本的文档。用的环境是master版本。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants