-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
(db/snapshots): Integration and Enhancement #2673
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2673 +/- ##
==========================================
- Coverage 78.92% 78.32% -0.61%
==========================================
Files 428 432 +4
Lines 27510 27762 +252
==========================================
+ Hits 21713 21744 +31
- Misses 5797 6018 +221
|
This pull request is now in conflicts. Could you fix it? 🙏 |
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Signed-off-by: peng.xu <peng.xu@zilliz.com>
@@ -11,6 +11,7 @@ | |||
|
|||
#pragma once | |||
|
|||
#include <map> |
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.
removable
SSDBImpl::DropCollection(const std::string& name) { | ||
CHECK_INITIALIZED; | ||
|
||
// dates partly delete files of the collection but currently we don't support |
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.
this comment seems not readable
return Status::OK(); | ||
} | ||
if (context_ && context_->IsConnectionBroken()) { | ||
LOG_ENGINE_DEBUG_ << "Client connection broken, stop load collection"; |
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.
stop loading
|
||
// SS TODO | ||
auto element_handler = std::make_shared<LoadVectorFieldElementHandler>(context_, ss_, field); | ||
element_handler->Iterate(); |
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.
it's not clear what "Iterate()" does internally.
Is it possible write the code in this way:
for (auto elem_iter = element_handler->begin(); elem_iter != element_handler->end(); elem_iter = element_handler->next()) {
/* do something */
}
@@ -24,8 +24,10 @@ using NUM_TYPE = int64_t; | |||
using FTYPE_TYPE = int64_t; | |||
using TS_TYPE = int64_t; | |||
using LSN_TYPE = uint64_t; |
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.
suggest to use int64_t everywhere for ease of debug
What type of PR is this?
api-change / bug / improvement / documentation / feature
Need this PR be picked to master branch?
Yes / No
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.):