mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
#416 Drop the same partition success repeatally
This commit is contained in:
parent
853aa663e9
commit
e40c067400
@ -836,7 +836,8 @@ SqliteMetaImpl::GetPartitionName(const std::string& table_id, const std::string&
|
||||
|
||||
auto name = ConnectorPtr->select(columns(&TableSchema::table_id_),
|
||||
where(c(&TableSchema::owner_table_) == table_id
|
||||
and c(&TableSchema::partition_tag_) == valid_tag));
|
||||
and c(&TableSchema::partition_tag_) == valid_tag
|
||||
and c(&TableSchema::state_) != (int)TableSchema::TO_DELETE));
|
||||
if (name.size() > 0) {
|
||||
partition_name = std::get<0>(name[0]);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user