mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 23:45:28 +08:00
Add log for error status (#2148)
Signed-off-by: talentAN <adam_an02@163.com>
This commit is contained in:
parent
ac2c25212f
commit
b3028baed8
@ -2285,6 +2285,9 @@ DBImpl::UpdateCollectionIndexRecursively(const std::string& collection_id, const
|
||||
|
||||
std::vector<meta::CollectionSchema> partition_array;
|
||||
status = meta_ptr_->ShowPartitions(collection_id, partition_array);
|
||||
if (!status.ok()) {
|
||||
return status;
|
||||
}
|
||||
for (auto& schema : partition_array) {
|
||||
status = UpdateCollectionIndexRecursively(schema.collection_id_, index);
|
||||
if (!status.ok()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user