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
My application needs to create graph schema online everytime. The session.execute() function executes schema statments well and returns nebula::ErrorCode::SUCCEEDED. But I still fail when I invoke session.execute() to insert vertexes. If I add some delay time between the two actions , it works well. It seems that there is a delay for schema creatation, what should I do to tell when could I execute insertion commands after execution of schema statemetns?
The text was updated successfully, but these errors were encountered:
You could check the error code, retry when get ErrorCode::ERR_TAG_NOT_FOUND, ErrorCode::ERR_EDGE_NOT_FOUDN
Is there explicit method to check if schema creation is ok? There may be some other errors when I execute insert statements imedatelly after schema creation.
Errors found below:
1:
with error code: -8;Storage Error: Invalid space vid len.
2:
error code: -12;SemanticError: No schema found for `Library'
You could check the error code, retry when get ErrorCode::ERR_TAG_NOT_FOUND, ErrorCode::ERR_EDGE_NOT_FOUDN
Is there explicit method to check if schema creation is ok? There may be some other errors when I execute insert statements imedatelly after schema creation.
Errors found below:
1:
with error code: -8;Storage Error: Invalid space vid len.
2:
error code: -12;SemanticError: No schema found for `Library'
Or you could sleep heartbeat_interval_secs seconds.
We have noticed that the issue you created hasn’t been updated for nearly a month, so we have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime. Thanks a lot for your contribution.
My application needs to create graph schema online everytime. The session.execute() function executes schema statments well and returns
nebula::ErrorCode::SUCCEEDED
. But I still fail when I invokesession.execute()
to insert vertexes. If I add some delay time between the two actions , it works well. It seems that there is a delay for schema creatation, what should I do to tell when could I execute insertion commands after execution of schema statemetns?The text was updated successfully, but these errors were encountered: