未验证 提交 cf68c991 编写于 作者: G groot 提交者: GitHub

#1925 (#2257)

* write error
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* out of storage
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* clang format
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* fix ut
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* fix #1955
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* refine code
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* compact threashold
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* changelog
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* search by id for hnsw/pq/annoy
Signed-off-by: Ngroot <yihua.mo@zilliz.com>

* fix python test
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>

* file cleanup timeout config
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>

* typo
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>

* changelog
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>

* #1925\
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>

* typo
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>
上级 1811254d
......@@ -7,6 +7,7 @@ Please mark all change in change log and use the issue from GitHub
## Bug
- \#1705 Limit the insert data batch size
- \#1776 Error out when index SQ8H run in CPU mode
- \#1925 To flush all collections, flush cannot work
- \#1929 Skip MySQL meta schema field width check
- \#1946 Fix load index file CPU2GPU fail during searching
- \#1955 Switch create_index operation to background once client break connection
......
......@@ -49,6 +49,13 @@ FlushRequest::OnExecute() {
Status status = Status::OK();
LOG_SERVER_DEBUG_ << hdr;
// flush all collections
if (collection_names_.empty()) {
status = DBWrapper::DB()->Flush();
return status;
}
// flush specified collections
for (auto& name : collection_names_) {
// only process root collection, ignore partition collection
engine::meta::CollectionSchema collection_schema;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册