mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 23:45:28 +08:00
refactor(db): add some debug print for newly added archive
Former-commit-id: 92b1220200bcbe82cfbf427f5a14d9fe800ec8b5
This commit is contained in:
parent
80860535a7
commit
3a658e7c56
@ -498,6 +498,7 @@ Status DBMetaImpl::archive_files() {
|
||||
}
|
||||
|
||||
Status DBMetaImpl::discard_files_of_size(long to_discard_size) {
|
||||
LOG(DEBUG) << "Abort to discard size=" << to_discard_size;
|
||||
if (to_discard_size <= 0) {
|
||||
return Status::OK();
|
||||
}
|
||||
@ -515,6 +516,7 @@ Status DBMetaImpl::discard_files_of_size(long to_discard_size) {
|
||||
group_file.id = std::get<0>(file);
|
||||
group_file.rows = std::get<1>(file);
|
||||
ids.push_back(group_file.id);
|
||||
LOG(DEBUG) << "Discard group_file.id=" << group_file.id << " group_file.rows=" << group_file.rows;
|
||||
to_discard_size -= group_file.rows;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user