Skip to content

[Performance](status code) improve the status code performance#23318

Closed
bobhan1 wants to merge 1 commit intoapache:masterfrom
bobhan1:improve-status-code
Closed

[Performance](status code) improve the status code performance#23318
bobhan1 wants to merge 1 commit intoapache:masterfrom
bobhan1:improve-status-code

Conversation

@bobhan1
Copy link
Contributor

@bobhan1 bobhan1 commented Aug 22, 2023

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

DCHECK(_pk_index_reader != nullptr);
if (!_pk_index_reader->check_present(key_without_seq)) {
return Status::NotFound("Can't find key in the segment");
return Status::NotFound("");
Copy link
Contributor

@yiguolei yiguolei Aug 23, 2023

Choose a reason for hiding this comment

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

Is this pr will really improve performance???
Could you please provide some performance number?

@bobhan1 bobhan1 force-pushed the improve-status-code branch from 804f1ca to c3214ef Compare August 23, 2023 08:34
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@yiguolei
Copy link
Contributor

run buildall

Copy link
Contributor

@platoneko platoneko left a comment

Choose a reason for hiding this comment

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

Seems meaningless

@bobhan1
Copy link
Contributor Author

bobhan1 commented Aug 24, 2023

Seems meaningless

I misuse the ASAN build to do profiling and get the wrong result

@bobhan1 bobhan1 closed this Aug 24, 2023
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.

3 participants