This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new c9f30c2eb37 (fix)[branch-2.0]Fix bug in copy_files_to (#25463) c9f30c2eb37 is described below commit c9f30c2eb37362732121c5e28682009be46c265d Author: plat1ko <platonekos...@gmail.com> AuthorDate: Mon Oct 16 16:28:35 2023 +0800 (fix)[branch-2.0]Fix bug in copy_files_to (#25463) --- be/src/olap/rowset/beta_rowset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/rowset/beta_rowset.cpp b/be/src/olap/rowset/beta_rowset.cpp index 7548c5f12da..a8668b17701 100644 --- a/be/src/olap/rowset/beta_rowset.cpp +++ b/be/src/olap/rowset/beta_rowset.cpp @@ -286,7 +286,7 @@ Status BetaRowset::link_files_to(const std::string& dir, RowsetId new_rowset_id, } Status BetaRowset::copy_files_to(const std::string& dir, const RowsetId& new_rowset_id) { - if (is_local() && num_segments() > 0) [[unlikely]] { + if (!is_local() && num_segments() > 0) [[unlikely]] { DCHECK(false) << rowset_id(); return Status::NotSupported("cannot copy remote files, rowset_id={}", rowset_id().to_string()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org