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

#2642 Create index failed caused by server crashed. #2701

Merged
merged 4 commits into from
Jul 2, 2020

Conversation

yhmo
Copy link
Contributor

@yhmo yhmo commented Jul 1, 2020

Signed-off-by: yhmo yihua.mo@zilliz.com

What type of PR is this?

api-change / bug / improvement / documentation / feature

Need this PR be picked to master branch?

Yes

Which issue(s) this PR fixes:

Fixes #

What this PR does / why we need it:

Special notes for your reviewer:

Additional documentation (e.g. design docs, usage docs, etc.):

Signed-off-by: yhmo <yihua.mo@zilliz.com>
Signed-off-by: yhmo <yihua.mo@zilliz.com>
@@ -112,6 +112,22 @@ BinaryIDMAP::QueryById(const DatasetPtr& dataset_ptr, const Config& config) {
}
#endif

int64_t
BinaryIDMAP::Count() {
if (!index_) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

server crash is caused by "index_" not initialized ?
why ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason for the problem was found, but it would have prevented the server from crashing. @cydrain

yhmo added 2 commits July 1, 2020 15:08
Signed-off-by: yhmo <yihua.mo@zilliz.com>
Signed-off-by: yhmo <yihua.mo@zilliz.com>
@yhmo yhmo added the automerge label Jul 1, 2020
@JinHai-CN JinHai-CN merged commit 714b777 into milvus-io:0.10.1 Jul 2, 2020
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

Successfully merging this pull request may close these issues.

None yet

5 participants