remove the flush step in drop collection request processing (#3840)

Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
This commit is contained in:
chen qingxiang 2020-09-22 19:13:00 +08:00 committed by GitHub
parent 20440a835e
commit 30f4ba3ce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,9 +43,6 @@ DropCollectionReq::OnExecute() {
STATUS_CHECK(DBWrapper::DB()->DropCollection(collection_name_));
/* flush to trigger CleanUpFilesWithTTL */
STATUS_CHECK(DBWrapper::DB()->Flush());
rc.ElapseFromBegin("done");
} catch (std::exception& ex) {
return Status(SERVER_UNEXPECTED_ERROR, ex.what());