mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
refactor(db): add some debug print for newly added archive
Former-commit-id: 5741a45032d63e21fbcaa3cc6fdacd7363fb81d7
This commit is contained in:
parent
5cb98b8396
commit
7144ab8de6
@ -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