From 0df2d5f1ff3cd84e960286825933359ed8d29e63 Mon Sep 17 00:00:00 2001 From: w41ter Date: Mon, 23 Dec 2024 11:33:37 +0000 Subject: [PATCH] [fix](snapshot) Avoid remove the files of a downloaded rowset --- be/src/olap/snapshot_manager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/be/src/olap/snapshot_manager.cpp b/be/src/olap/snapshot_manager.cpp index 8202feb68c65b5..35596032a659eb 100644 --- a/be/src/olap/snapshot_manager.cpp +++ b/be/src/olap/snapshot_manager.cpp @@ -308,7 +308,6 @@ Status SnapshotManager::_rename_rowset_id(const RowsetMetaPB& rs_meta_pb, "failed to build rowset when rename rowset id"); RETURN_IF_ERROR(new_rowset->load(false)); new_rowset->rowset_meta()->to_rowset_pb(new_rs_meta_pb); - RETURN_IF_ERROR(org_rowset->remove()); return Status::OK(); }