liming1010 opened a new issue, #2551: URL: https://github.com/apache/incubator-hugegraph/issues/2551
### Problem Type (问题类型) server status (启动/运行异常) ### Before submit - [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents) ### Environment (环境信息) - Server Version: 1.3.0 - Backend: pgsql - OS: centos8 - Data Size: ### Your Question (问题描述) 异常信息 ``` Caused by: class org.apache.hugegraph.exception.ExistedException: The vertex label '**' has existed at org.apache.hugegraph.exception.ServerException.fromResponse(ServerException.java:45) at org.apache.hugegraph.client.RestClient.checkStatus(RestClient.java:93) at org.apache.hugegraph.rest.AbstractRestClient.post(AbstractRestClient.java:314) at org.apache.hugegraph.rest.AbstractRestClient.post(AbstractRestClient.java:250) at org.apache.hugegraph.api.schema.VertexLabelAPI.create(VertexLabelAPI.java:46) at org.apache.hugegraph.driver.SchemaManager.addVertexLabel(SchemaManager.java:151) at org.apache.hugegraph.structure.schema.VertexLabel$BuilderImpl.create(VertexLabel.java:137) at org.apache.hugegraph.structure.schema.VertexLabel$BuilderImpl.create(VertexLabel.java:120) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 11 more ``` 代码 ``` schema.vertexLabel(value.getEdag()) .properties( "**" ) .primaryKeys(value.getEdag()).ifNotExist().create(); ``` 为什么ifNotExist没有效果 ### Vertex/Edge example (问题点 / 边数据举例) _No response_ ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
