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

Two different error messages in the same case #2578

Closed
randomJoe211 opened this issue Aug 23, 2021 · 4 comments
Closed

Two different error messages in the same case #2578

randomJoe211 opened this issue Aug 23, 2021 · 4 comments
Assignees
Labels
type/feature req Type: feature request

Comments

@randomJoe211
Copy link
Contributor

Nebula Graph version:

I was testing the index selection feature for LOOKUP, but found that when there is no index to use, Nebula Graph shows two different error messages:
[ERROR (-1005)]: Storage Error: Index not found. and [ERROR (-1005)]: There is no index to use at runtime.

image

Was this because the storage error code leaked out? They have the same code number 1005.

@HarrisChu
Copy link
Contributor

https://github.com/vesoft-inc/nebula-graph/pull/1299/files#diff-0556a9b752b794117c5cb705cf40ec8b962e22c24d5f898971f083ba46fbf587R38

we should use error code to keep consistent.

@Sophie-Xie Sophie-Xie transferred this issue from vesoft-inc/nebula-graph Aug 26, 2021
@Sophie-Xie Sophie-Xie added the type/feature req Type: feature request label Aug 26, 2021
@CPWstatic
Copy link
Contributor

Will enhace this by Publish/Subscribe and Error Code.

@critical27 critical27 added this to the v2.7.0 milestone Aug 31, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v2.7.0, v3.0.0 Oct 15, 2021
@Sophie-Xie
Copy link
Contributor

Will enhace this by Publish/Subscribe and Error Code.

#3093

@Sophie-Xie Sophie-Xie removed this from the v3.0.0 milestone Dec 30, 2021
@Sophie-Xie
Copy link
Contributor

Consistency of functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

7 participants