-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fixed lookup bug for double free #1855
fixed lookup bug for double free #1855
Conversation
@@ -42,8 +42,6 @@ void LookUpEdgeIndexProcessor::process(const cpp2::LookUpIndexRequest& req) { | |||
} else { | |||
this->pushResultCode(this->to(code), partId); | |||
} | |||
this->onFinished(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't return now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Emm.. I don't think we need any return here. because this is last line of lambda block. Is there any other intention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't return now?
let me improve the logic, let return directly when any part error occur.
Improved the logic, return error directly when any part fail occur. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Well done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fixed lookup bug for double free * improved scan logic, return error directly when any part error occur. Co-authored-by: dangleptr <37216992+dangleptr@users.noreply.github.com>
fixed lookup bug .
Issus #1853