From d8a549fe6124ba3ebed844f61719789f16101485 Mon Sep 17 00:00:00 2001 From: abmdocrt Date: Wed, 5 Jul 2023 15:41:34 +0800 Subject: [PATCH] [Fix](Comment) Comment should be in English (#20964) --- be/src/olap/snapshot_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/olap/snapshot_manager.cpp b/be/src/olap/snapshot_manager.cpp index c9bc76ae68..df9d23c34c 100644 --- a/be/src/olap/snapshot_manager.cpp +++ b/be/src/olap/snapshot_manager.cpp @@ -109,8 +109,8 @@ Status SnapshotManager::make_snapshot(const TSnapshotRequest& request, string* s } Status SnapshotManager::release_snapshot(const string& snapshot_path) { - // 如果请求的snapshot_path位于root/snapshot文件夹下,则认为是合法的,可以删除 - // 否则认为是非法请求,返回错误结果 + // If the requested snapshot_path is located in the root/snapshot folder, it is considered legal and can be deleted. + // Otherwise, it is considered an illegal request and returns an error result. SCOPED_CONSUME_MEM_TRACKER(_mem_tracker); auto stores = StorageEngine::instance()->get_stores(); for (auto store : stores) {