-
Notifications
You must be signed in to change notification settings - Fork 452
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
Use the rocksdb mget to improve the performance #1453
Conversation
fixes: apache#1441 - Use RocksDB's MultiGet to improve mget performance of hash Signed-off-by: Zewen Xu <zevin9427@gmail.com>
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.
The code LGTM.
By the way, should we add a Storage::MultiGet
without ColumnFamily
like Get
?
I think I can add it |
Signed-off-by: Zewen Xu <zevin9427@gmail.com>
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.
Sorry, miss the NotFound part
😊 No problem. Great thanks for your review. |
It means you can just write a test to record this process. (Add a test to the hash test) The test is just used to avoid this situation reproducing due to the code that follows. |
Is the unittest failed related? |
I did not make any changes to the relevant code and I don't know why there is an error. |
It is related to #1452. |
emm,So what should I do
|
Sometimes the test works and sometimes it doesn't. So just ignore it for now. |
@zevin02 Patch LGTM. And the hash case is tested. Let's wait committer rerun the unittest tomorrow. |
I can add this test case later |
Thanks all, the patch looks good to be merged. |
fixes: #1441