mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-04 01:42:15 +08:00
Disable cleanup if mode is read only
Former-commit-id: 8de4aa4c6c81e4d6840441527c164bb26fe948e4
This commit is contained in:
parent
24e533a3a3
commit
ad606851fa
@ -1814,7 +1814,9 @@ namespace meta {
|
||||
|
||||
MySQLMetaImpl::~MySQLMetaImpl() {
|
||||
// std::lock_guard<std::recursive_mutex> lock(mysql_mutex);
|
||||
CleanUp();
|
||||
if (mode_ != Options::MODE::READ_ONLY) {
|
||||
CleanUp();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace meta
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user